Instructions to use tencent/HunyuanImage-3.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tencent/HunyuanImage-3.0 with Transformers:
# Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("tencent/HunyuanImage-3.0", trust_remote_code=True, dtype="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +4 -3
config.json
CHANGED
|
@@ -8,9 +8,9 @@
|
|
| 8 |
"HunyuanImage3ForCausalMM"
|
| 9 |
],
|
| 10 |
"auto_map": {
|
| 11 |
-
"AutoConfig": "
|
| 12 |
-
"AutoModel": "
|
| 13 |
-
"AutoModelForCausalLM": "
|
| 14 |
},
|
| 15 |
"attention_bias": false,
|
| 16 |
"attention_dropout": 0.0,
|
|
@@ -282,3 +282,4 @@
|
|
| 282 |
"torch_dtype": "float32"
|
| 283 |
}
|
| 284 |
}
|
|
|
|
|
|
| 8 |
"HunyuanImage3ForCausalMM"
|
| 9 |
],
|
| 10 |
"auto_map": {
|
| 11 |
+
"AutoConfig": "configuration_hunyuan.HunyuanImage3Config",
|
| 12 |
+
"AutoModel": "hunyuan.HunyuanImage3Model",
|
| 13 |
+
"AutoModelForCausalLM": "hunyuan.HunyuanImage3ForCausalMM"
|
| 14 |
},
|
| 15 |
"attention_bias": false,
|
| 16 |
"attention_dropout": 0.0,
|
|
|
|
| 282 |
"torch_dtype": "float32"
|
| 283 |
}
|
| 284 |
}
|
| 285 |
+
|