Alina Lozovskaya
commited on
Commit
·
14afe2b
1
Parent(s):
c5b1e86
Replace torch_dtype to dtype
Browse files
src/reachy_mini_conversation_demo/vision.py
CHANGED
|
@@ -70,7 +70,7 @@ class VisionProcessor:
|
|
| 70 |
else:
|
| 71 |
dtype = torch.float32
|
| 72 |
|
| 73 |
-
model_kwargs = {"
|
| 74 |
|
| 75 |
# flash_attention_2 is CUDA-only; skip on MPS/CPU
|
| 76 |
if self.device == "cuda":
|
|
|
|
| 70 |
else:
|
| 71 |
dtype = torch.float32
|
| 72 |
|
| 73 |
+
model_kwargs = {"dtype": dtype}
|
| 74 |
|
| 75 |
# flash_attention_2 is CUDA-only; skip on MPS/CPU
|
| 76 |
if self.device == "cuda":
|