Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,8 @@ model = AutoModel.from_pretrained(
|
|
8 |
'OpenGVLab/InternViT-6B-448px-V1-5',
|
9 |
torch_dtype=torch.bfloat16,
|
10 |
low_cpu_mem_usage=True,
|
11 |
-
trust_remote_code=True
|
|
|
12 |
).cuda().eval()
|
13 |
|
14 |
# Load the image processor
|
|
|
8 |
'OpenGVLab/InternViT-6B-448px-V1-5',
|
9 |
torch_dtype=torch.bfloat16,
|
10 |
low_cpu_mem_usage=True,
|
11 |
+
trust_remote_code=True,
|
12 |
+
use_flash_attn=False # Disable Flash Attention
|
13 |
).cuda().eval()
|
14 |
|
15 |
# Load the image processor
|