Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
tencent
/
HunyuanImage-2.1
like
125
Running
on
A100
App
Files
Files
Community
4
Fetching metadata from the HF Docker repository...
refs/pr/3
HunyuanImage-2.1
/
hyimage
/
common
/
constants.py
KevinNg99
Initial commit.
43c5292
5 days ago
raw
Copy download link
history
blame
Safe
120 Bytes
import
torch
PRECISION_TO_TYPE = {
"fp32"
: torch.float32,
"fp16"
: torch.float16,
"bf16"
: torch.bfloat16,
}