Update hf-inference-cuda-example.py

main
randaller 3 years ago committed by GitHub
parent 0eb2a070ea
commit e18294866b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2,7 +2,7 @@ import llamahf
import os
from accelerate import infer_auto_device_map
# # to save memory use bfloat16 on cpu
# # to save memory use bfloat16
# import torch
# torch.set_default_dtype(torch.bfloat16)

Loading…
Cancel
Save