Image-Text-to-Text
Transformers
Safetensors
qwen3_5
autoround
signround
gptq
compressed-tensors
w4a16
quantized
ornith
swift
reasoning
efficient-thinking
vllm
multimodal
conversational
4-bit precision
auto-round
Run this model with HF Jobs
Run OpenTensorLab/Swift-1.5-Ornith-9B-W4A16-AutoRound on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/OpenTensorLab/Swift-1.5-Ornith-9B-W4A16-AutoRound. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/OpenTensorLab/Swift-1.5-Ornith-9B-W4A16-AutoRound on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/OpenTensorLab/Swift-1.5-Ornith-9B-W4A16-AutoRound. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Instructions to use OpenTensorLab/Swift-1.5-Ornith-9B-W4A16-AutoRound with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use OpenTensorLab/Swift-1.5-Ornith-9B-W4A16-AutoRound with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="OpenTensorLab/Swift-1.5-Ornith-9B-W4A16-AutoRound") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("OpenTensorLab/Swift-1.5-Ornith-9B-W4A16-AutoRound") model = AutoModelForMultimodalLM.from_pretrained("OpenTensorLab/Swift-1.5-Ornith-9B-W4A16-AutoRound", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use OpenTensorLab/Swift-1.5-Ornith-9B-W4A16-AutoRound with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "OpenTensorLab/Swift-1.5-Ornith-9B-W4A16-AutoRound" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "OpenTensorLab/Swift-1.5-Ornith-9B-W4A16-AutoRound", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/OpenTensorLab/Swift-1.5-Ornith-9B-W4A16-AutoRound
- SGLang
How to use OpenTensorLab/Swift-1.5-Ornith-9B-W4A16-AutoRound with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "OpenTensorLab/Swift-1.5-Ornith-9B-W4A16-AutoRound" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "OpenTensorLab/Swift-1.5-Ornith-9B-W4A16-AutoRound", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "OpenTensorLab/Swift-1.5-Ornith-9B-W4A16-AutoRound" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "OpenTensorLab/Swift-1.5-Ornith-9B-W4A16-AutoRound", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use OpenTensorLab/Swift-1.5-Ornith-9B-W4A16-AutoRound with Docker Model Runner:
docker model run hf.co/OpenTensorLab/Swift-1.5-Ornith-9B-W4A16-AutoRound
Download config.json from OpenTensorLab/Swift-1.5-Ornith-9B-W4A16-AutoRound: direct link, hf CLI and curl.
- Browser
- Download file 19.3 kB
-
https://huggingface.co/OpenTensorLab/Swift-1.5-Ornith-9B-W4A16-AutoRound/resolve/main/config.json
- Command line
-
hf download hf://OpenTensorLab/Swift-1.5-Ornith-9B-W4A16-AutoRound/config.json
-
curl -L -o config.json https://huggingface.co/OpenTensorLab/Swift-1.5-Ornith-9B-W4A16-AutoRound/resolve/main/config.json
19.3 kB
| { | |
| "architectures": [ | |
| "Qwen3_5ForConditionalGeneration" | |
| ], | |
| "dtype": "bfloat16", | |
| "eos_token_id": 248046, | |
| "hidden_size": 4096, | |
| "image_token_id": 248056, | |
| "model_type": "qwen3_5", | |
| "pad_token_id": 248044, | |
| "text_config": { | |
| "attention_bias": false, | |
| "attention_dropout": 0.0, | |
| "attn_output_gate": true, | |
| "bos_token_id": null, | |
| "dtype": "bfloat16", | |
| "eos_token_id": 248044, | |
| "full_attention_interval": 4, | |
| "head_dim": 256, | |
| "hidden_act": "silu", | |
| "hidden_size": 4096, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 12288, | |
| "layer_types": [ | |
| "linear_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "full_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "full_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "full_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "full_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "full_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "full_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "full_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "full_attention" | |
| ], | |
| "linear_conv_kernel_dim": 4, | |
| "linear_key_head_dim": 128, | |
| "linear_num_key_heads": 16, | |
| "linear_num_value_heads": 32, | |
| "linear_value_head_dim": 128, | |
| "mamba_ssm_dtype": "float32", | |
| "max_position_embeddings": 262144, | |
| "mlp_only_layers": [], | |
| "model_type": "qwen3_5_text", | |
| "mtp_num_hidden_layers": 1, | |
| "mtp_use_dedicated_embeddings": false, | |
| "num_attention_heads": 16, | |
| "num_hidden_layers": 32, | |
| "num_key_value_heads": 4, | |
| "pad_token_id": 248044, | |
| "partial_rotary_factor": 0.25, | |
| "rms_norm_eps": 1e-06, | |
| "rope_parameters": { | |
| "mrope_interleaved": true, | |
| "mrope_section": [ | |
| 11, | |
| 11, | |
| 10 | |
| ], | |
| "partial_rotary_factor": 0.25, | |
| "rope_theta": 10000000, | |
| "rope_type": "default" | |
| }, | |
| "tie_word_embeddings": false, | |
| "use_cache": false, | |
| "vocab_size": 248320 | |
| }, | |
| "tie_word_embeddings": false, | |
| "transformers_version": "5.12.1", | |
| "video_token_id": 248057, | |
| "vision_config": { | |
| "deepstack_visual_indexes": [], | |
| "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_5_vision", | |
| "num_heads": 16, | |
| "num_position_embeddings": 2304, | |
| "out_hidden_size": 4096, | |
| "patch_size": 16, | |
| "spatial_merge_size": 2, | |
| "temporal_patch_size": 2 | |
| }, | |
| "vision_end_token_id": 248054, | |
| "vision_start_token_id": 248053, | |
| "quantization_config": { | |
| "bits": 4, | |
| "data_type": "int", | |
| "group_size": 32, | |
| "sym": true, | |
| "amp": true, | |
| "batch_size": 2, | |
| "low_gpu_mem_usage": false, | |
| "nsamples": 512, | |
| "scale_dtype": "torch.float16", | |
| "seqlen": 4096, | |
| "iters": 1200, | |
| "lr": 0.0008333333333333334, | |
| "minmax_lr": 0.0008333333333333334, | |
| "enable_minmax_tuning": true, | |
| "enable_norm_bias_tuning": false, | |
| "enable_quanted_input": true, | |
| "gradient_accumulate_steps": 4, | |
| "autoround_version": "0.17.0", | |
| "block_name_to_quantize": "model.language_model.layers", | |
| "quant_method": "auto-round", | |
| "packing_format": "auto_round:auto_gptq", | |
| "extra_config": { | |
| "model.language_model.layers.0.linear_attn.out_proj": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.0.linear_attn.in_proj_qkv": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.0.linear_attn.in_proj_z": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.0.linear_attn.in_proj_b": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.0.linear_attn.in_proj_a": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.1.linear_attn.out_proj": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.1.linear_attn.in_proj_qkv": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.1.linear_attn.in_proj_z": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.1.linear_attn.in_proj_b": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.1.linear_attn.in_proj_a": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.2.linear_attn.out_proj": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.2.linear_attn.in_proj_qkv": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.2.linear_attn.in_proj_z": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.2.linear_attn.in_proj_b": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.2.linear_attn.in_proj_a": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.4.linear_attn.out_proj": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.4.linear_attn.in_proj_qkv": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.4.linear_attn.in_proj_z": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.4.linear_attn.in_proj_b": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.4.linear_attn.in_proj_a": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.5.linear_attn.out_proj": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.5.linear_attn.in_proj_qkv": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.5.linear_attn.in_proj_z": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.5.linear_attn.in_proj_b": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.5.linear_attn.in_proj_a": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.6.linear_attn.out_proj": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.6.linear_attn.in_proj_qkv": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.6.linear_attn.in_proj_z": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.6.linear_attn.in_proj_b": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.6.linear_attn.in_proj_a": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.8.linear_attn.out_proj": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.8.linear_attn.in_proj_qkv": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.8.linear_attn.in_proj_z": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.8.linear_attn.in_proj_b": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.8.linear_attn.in_proj_a": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.9.linear_attn.out_proj": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.9.linear_attn.in_proj_qkv": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.9.linear_attn.in_proj_z": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.9.linear_attn.in_proj_b": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.9.linear_attn.in_proj_a": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.10.linear_attn.out_proj": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.10.linear_attn.in_proj_qkv": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.10.linear_attn.in_proj_z": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.10.linear_attn.in_proj_b": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.10.linear_attn.in_proj_a": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.12.linear_attn.out_proj": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.12.linear_attn.in_proj_qkv": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.12.linear_attn.in_proj_z": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.12.linear_attn.in_proj_b": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.12.linear_attn.in_proj_a": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.13.linear_attn.out_proj": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.13.linear_attn.in_proj_qkv": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.13.linear_attn.in_proj_z": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.13.linear_attn.in_proj_b": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.13.linear_attn.in_proj_a": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.14.linear_attn.out_proj": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.14.linear_attn.in_proj_qkv": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.14.linear_attn.in_proj_z": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.14.linear_attn.in_proj_b": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.14.linear_attn.in_proj_a": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.16.linear_attn.out_proj": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.16.linear_attn.in_proj_qkv": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.16.linear_attn.in_proj_z": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.16.linear_attn.in_proj_b": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.16.linear_attn.in_proj_a": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.17.linear_attn.out_proj": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.17.linear_attn.in_proj_qkv": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.17.linear_attn.in_proj_z": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.17.linear_attn.in_proj_b": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.17.linear_attn.in_proj_a": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.18.linear_attn.out_proj": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.18.linear_attn.in_proj_qkv": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.18.linear_attn.in_proj_z": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.18.linear_attn.in_proj_b": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.18.linear_attn.in_proj_a": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.20.linear_attn.out_proj": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.20.linear_attn.in_proj_qkv": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.20.linear_attn.in_proj_z": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.20.linear_attn.in_proj_b": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.20.linear_attn.in_proj_a": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.21.linear_attn.out_proj": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.21.linear_attn.in_proj_qkv": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.21.linear_attn.in_proj_z": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.21.linear_attn.in_proj_b": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.21.linear_attn.in_proj_a": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.22.linear_attn.out_proj": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.22.linear_attn.in_proj_qkv": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.22.linear_attn.in_proj_z": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.22.linear_attn.in_proj_b": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.22.linear_attn.in_proj_a": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.24.linear_attn.out_proj": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.24.linear_attn.in_proj_qkv": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.24.linear_attn.in_proj_z": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.24.linear_attn.in_proj_b": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.24.linear_attn.in_proj_a": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.25.linear_attn.out_proj": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.25.linear_attn.in_proj_qkv": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.25.linear_attn.in_proj_z": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.25.linear_attn.in_proj_b": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.25.linear_attn.in_proj_a": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.26.linear_attn.out_proj": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.26.linear_attn.in_proj_qkv": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.26.linear_attn.in_proj_z": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.26.linear_attn.in_proj_b": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.26.linear_attn.in_proj_a": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.28.linear_attn.out_proj": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.28.linear_attn.in_proj_qkv": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.28.linear_attn.in_proj_z": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.28.linear_attn.in_proj_b": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.28.linear_attn.in_proj_a": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.29.linear_attn.out_proj": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.29.linear_attn.in_proj_qkv": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.29.linear_attn.in_proj_z": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.29.linear_attn.in_proj_b": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.29.linear_attn.in_proj_a": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.30.linear_attn.out_proj": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.30.linear_attn.in_proj_qkv": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.30.linear_attn.in_proj_z": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.30.linear_attn.in_proj_b": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "model.language_model.layers.30.linear_attn.in_proj_a": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| ".*mtp.*": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| ".*mtp\\.fc.*": { | |
| "data_type": "bfloat16" | |
| }, | |
| ".*linear_attn.*": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| ".*visual.*": { | |
| "bits": 16, | |
| "data_type": "float" | |
| }, | |
| "mtp.layers.0.self_attn.q_proj": { | |
| "bits": 16, | |
| "data_type": "fp" | |
| }, | |
| "mtp.layers.0.self_attn.k_proj": { | |
| "bits": 16, | |
| "data_type": "fp" | |
| }, | |
| "mtp.layers.0.self_attn.v_proj": { | |
| "bits": 16, | |
| "data_type": "fp" | |
| }, | |
| "mtp.layers.0.self_attn.o_proj": { | |
| "bits": 16, | |
| "data_type": "fp" | |
| }, | |
| "mtp.layers.0.mlp.gate_proj": { | |
| "bits": 16, | |
| "data_type": "fp" | |
| }, | |
| "mtp.layers.0.mlp.up_proj": { | |
| "bits": 16, | |
| "data_type": "fp" | |
| }, | |
| "mtp.layers.0.mlp.down_proj": { | |
| "bits": 16, | |
| "data_type": "fp" | |
| }, | |
| "mtp.fc": { | |
| "bits": 16, | |
| "data_type": "fp" | |
| } | |
| } | |
| } | |
| } |