sayakpaul HF Staff commited on
Commit
ef0e180
·
verified ·
1 Parent(s): ca370fd

Sync from GitHub

Browse files
Files changed (1) hide show
  1. utils/pipeline_utils.py +1 -1
utils/pipeline_utils.py CHANGED
@@ -12,7 +12,7 @@ import requests
12
  import struct
13
  from huggingface_hub import hf_hub_url
14
 
15
- DTYPE_MAP = {"FP32": torch.float32, "F16": torch.float16, "BF16": torch.bfloat16}
16
 
17
 
18
  # https://huggingface.co/docs/safetensors/v0.3.2/metadata_parsing#python
 
12
  import struct
13
  from huggingface_hub import hf_hub_url
14
 
15
+ DTYPE_MAP = {"F32": torch.float32, "F16": torch.float16, "BF16": torch.bfloat16}
16
 
17
 
18
  # https://huggingface.co/docs/safetensors/v0.3.2/metadata_parsing#python