Update handler.py
Browse files- handler.py +2 -2
handler.py
CHANGED
|
@@ -3,8 +3,8 @@ import sys
|
|
| 3 |
from subprocess import run
|
| 4 |
from PIL import Image
|
| 5 |
|
| 6 |
-
run("pip install flash-attn --no-build-isolation", shell=True, check=True)
|
| 7 |
-
|
| 8 |
|
| 9 |
from transformers import AutoModelForVision2Seq, AutoProcessor, BitsAndBytesConfig
|
| 10 |
|
|
|
|
| 3 |
from subprocess import run
|
| 4 |
from PIL import Image
|
| 5 |
|
| 6 |
+
#run("pip install flash-attn --no-build-isolation", shell=True, check=True)
|
| 7 |
+
run("pip install -U bitsandbytes", shell=True, check=True)
|
| 8 |
|
| 9 |
from transformers import AutoModelForVision2Seq, AutoProcessor, BitsAndBytesConfig
|
| 10 |
|