Spaces:
Running
on
Zero
Running
on
Zero
Update eval_utils.py
Browse files- eval_utils.py +1 -1
eval_utils.py
CHANGED
@@ -48,7 +48,7 @@ def load_maya_model(model_base: str, model_path : str, projector_path : Optional
|
|
48 |
|
49 |
device_map = 'auto'
|
50 |
kwargs = {"device_map": device_map}
|
51 |
-
kwargs['torch_dtype'] = torch.
|
52 |
# kwargs['attn_implementation'] = 'flash_attention_2'
|
53 |
|
54 |
## Instantiating tokenizer and model base
|
|
|
48 |
|
49 |
device_map = 'auto'
|
50 |
kwargs = {"device_map": device_map}
|
51 |
+
kwargs['torch_dtype'] = torch.float32
|
52 |
# kwargs['attn_implementation'] = 'flash_attention_2'
|
53 |
|
54 |
## Instantiating tokenizer and model base
|