Spaces:
Running
on
Zero
Running
on
Zero
initial commit
Browse files- laod_pipeline.py +1 -1
laod_pipeline.py
CHANGED
|
@@ -21,7 +21,7 @@ pipe = pipeline(
|
|
| 21 |
"image-text-to-text",
|
| 22 |
model="google/gemma-3-4b-it",
|
| 23 |
#device="cuda:1",
|
| 24 |
-
device_map=device
|
| 25 |
torch_dtype=torch.bfloat16
|
| 26 |
|
| 27 |
)
|
|
|
|
| 21 |
"image-text-to-text",
|
| 22 |
model="google/gemma-3-4b-it",
|
| 23 |
#device="cuda:1",
|
| 24 |
+
device_map=device,
|
| 25 |
torch_dtype=torch.bfloat16
|
| 26 |
|
| 27 |
)
|