Text Generation
Transformers
Safetensors
Motif
compressed-tensors
vllm
quantized
fp8
conversational
custom_code
Instructions to use axteam/Motif-2.6B-FP8-dynamic with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use axteam/Motif-2.6B-FP8-dynamic with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="axteam/Motif-2.6B-FP8-dynamic", trust_remote_code=True) messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("axteam/Motif-2.6B-FP8-dynamic", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use axteam/Motif-2.6B-FP8-dynamic with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "axteam/Motif-2.6B-FP8-dynamic" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "axteam/Motif-2.6B-FP8-dynamic", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/axteam/Motif-2.6B-FP8-dynamic
- SGLang
How to use axteam/Motif-2.6B-FP8-dynamic 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 "axteam/Motif-2.6B-FP8-dynamic" \ --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": "axteam/Motif-2.6B-FP8-dynamic", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'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 "axteam/Motif-2.6B-FP8-dynamic" \ --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": "axteam/Motif-2.6B-FP8-dynamic", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use axteam/Motif-2.6B-FP8-dynamic with Docker Model Runner:
docker model run hf.co/axteam/Motif-2.6B-FP8-dynamic
Motif-2.6B ยท FP8 (dynamic)
8-bit quantization of Motif-Technologies/Motif-2.6B for vLLM serving. Quantized by axteam.
| Base model | Motif-Technologies/Motif-2.6B |
| Method | FP8 (dynamic) |
| Format | compressed-tensors FP8_DYNAMIC |
| Weights / activations | W8A8 โ FP8 E4M3 weights (per-channel), dynamic per-token FP8 activations |
| Architecture | Dense (Motif arch ยท differential attention) ยท 32 layers ยท text-only |
| Size on disk | ~3.7 GB |
| Calibration | None (data-free) |
| License | apache-2.0 |
Quantization details
- Scheme โ W8A8 โ FP8 E4M3 weights (per-channel), dynamic per-token FP8 activations, stored as compressed-tensors
FP8_DYNAMIC. - Kept in BF16 โ token embeddings, the LM head, and all RMSNorms. Only attention & MLP projections are quantized.
- Post-training quantization (no retraining). Tokenizer /
chat_templateidentical to the original.
Usage (vLLM)
vllm serve axteam/Motif-2.6B-FP8-dynamic
License
Quantized derivative of Motif-Technologies/Motif-2.6B (apache-2.0).
ํ๊ตญ์ด ์์ฝ
Motif-Technologies/Motif-2.6B ๋ฅผ FP8 (dynamic) ๋ก ์์ํํ ์๋น์ฉ(8-bit) ๋ชจ๋ธ์
๋๋ค. ์์ฑ: axteam.
- ๋ฐฉ์ โ FP8 E4M3, ๊ฐ์ค์น ์ฑ๋๋ณ ์ค์ผ์ผ, ํ์ฑํ ๋์ FP8. ํ์ compressed-tensors
FP8_DYNAMIC. - BF16 ์ ์ง โ ์๋ฒ ๋ฉยทLM ํค๋ยท๋ชจ๋ norm. attentionยทMLP projection ๋ง ์์ํ.
- PTQ(์ฌํ์ต ์์), ํ ํฌ๋์ด์ ยทchat_template ์๋ณธ ๋์ผ.
- ์ฌ์ฉ โ
vllm serve axteam/Motif-2.6B-FP8-dynamic. ๋ผ์ด์ ์ค apache-2.0.
- Downloads last month
- 20
Model tree for axteam/Motif-2.6B-FP8-dynamic
Base model
Motif-Technologies/Motif-2.6B