Instructions to use corechan/MiniMax_H3_Torchao018 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use corechan/MiniMax_H3_Torchao018 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("corechan/MiniMax_H3_Torchao018", dtype=torch.bfloat16, device_map="cuda") prompt = "Hi, what can you help me with?" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
| { | |
| "architectures": [ | |
| "Qwen3VLForConditionalGeneration" | |
| ], | |
| "dtype": "bfloat16", | |
| "image_token_id": 151655, | |
| "model_type": "qwen3_vl", | |
| "quantization_config": { | |
| "include_input_output_embeddings": false, | |
| "modules_to_not_convert": [ | |
| "model.visual", | |
| "model.language_model.embed_tokens", | |
| "model.language_model.norm", | |
| "lm_head" | |
| ], | |
| "quant_method": "torchao", | |
| "quant_type": { | |
| "default": { | |
| "_data": { | |
| "granularity": { | |
| "_data": { | |
| "dim": -1 | |
| }, | |
| "_type": "PerRow", | |
| "_version": 1 | |
| }, | |
| "group_size": null, | |
| "set_inductor_config": true | |
| }, | |
| "_type": "Int8WeightOnlyConfig", | |
| "_version": 2 | |
| } | |
| }, | |
| "untie_embedding_weights": false | |
| }, | |
| "text_config": { | |
| "attention_bias": false, | |
| "attention_dropout": 0.0, | |
| "bos_token_id": 151643, | |
| "dtype": "bfloat16", | |
| "eos_token_id": 151645, | |
| "head_dim": 128, | |
| "hidden_act": "silu", | |
| "hidden_size": 5120, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 25600, | |
| "max_position_embeddings": 262144, | |
| "model_type": "qwen3_vl_text", | |
| "num_attention_heads": 64, | |
| "num_hidden_layers": 51, | |
| "num_key_value_heads": 8, | |
| "pad_token_id": null, | |
| "rms_norm_eps": 1e-06, | |
| "rope_parameters": { | |
| "mrope_interleaved": true, | |
| "mrope_section": [ | |
| 24, | |
| 20, | |
| 20 | |
| ], | |
| "rope_theta": 5000000, | |
| "rope_type": "default" | |
| }, | |
| "tie_word_embeddings": true, | |
| "use_cache": true, | |
| "vocab_size": 151936 | |
| }, | |
| "tie_word_embeddings": true, | |
| "transformers_version": "5.16.1", | |
| "video_token_id": 151656, | |
| "vision_config": { | |
| "deepstack_visual_indexes": [ | |
| 8, | |
| 16, | |
| 24 | |
| ], | |
| "depth": 27, | |
| "dtype": "bfloat16", | |
| "hidden_act": "gelu_pytorch_tanh", | |
| "hidden_size": 1152, | |
| "in_channels": 3, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 4304, | |
| "model_type": "qwen3_vl_vision", | |
| "num_heads": 16, | |
| "num_position_embeddings": 2304, | |
| "out_hidden_size": 5120, | |
| "patch_size": 16, | |
| "spatial_merge_size": 2, | |
| "temporal_patch_size": 2 | |
| }, | |
| "vision_end_token_id": 151653, | |
| "vision_start_token_id": 151652 | |
| } | |