Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ processor = AutoProcessor.from_pretrained(MODEL_ID, trust_remote_code=True)
|
|
11 |
model = Qwen2_5_VLForConditionalGeneration.from_pretrained(
|
12 |
MODEL_ID,
|
13 |
trust_remote_code=True,
|
14 |
-
torch_dtype=torch.
|
15 |
).to("cuda").eval()
|
16 |
|
17 |
@spaces.GPU
|
|
|
11 |
model = Qwen2_5_VLForConditionalGeneration.from_pretrained(
|
12 |
MODEL_ID,
|
13 |
trust_remote_code=True,
|
14 |
+
torch_dtype=torch.bfloat16
|
15 |
).to("cuda").eval()
|
16 |
|
17 |
@spaces.GPU
|