Instructions to use Crusadersk/Llama-3.2-3B-Instruct-FP8-Dynamic-TR171 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Crusadersk/Llama-3.2-3B-Instruct-FP8-Dynamic-TR171 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Crusadersk/Llama-3.2-3B-Instruct-FP8-Dynamic-TR171") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Crusadersk/Llama-3.2-3B-Instruct-FP8-Dynamic-TR171") model = AutoModelForCausalLM.from_pretrained("Crusadersk/Llama-3.2-3B-Instruct-FP8-Dynamic-TR171", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.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=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Crusadersk/Llama-3.2-3B-Instruct-FP8-Dynamic-TR171 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Crusadersk/Llama-3.2-3B-Instruct-FP8-Dynamic-TR171" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Crusadersk/Llama-3.2-3B-Instruct-FP8-Dynamic-TR171", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Crusadersk/Llama-3.2-3B-Instruct-FP8-Dynamic-TR171
- SGLang
How to use Crusadersk/Llama-3.2-3B-Instruct-FP8-Dynamic-TR171 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 "Crusadersk/Llama-3.2-3B-Instruct-FP8-Dynamic-TR171" \ --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": "Crusadersk/Llama-3.2-3B-Instruct-FP8-Dynamic-TR171", "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 "Crusadersk/Llama-3.2-3B-Instruct-FP8-Dynamic-TR171" \ --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": "Crusadersk/Llama-3.2-3B-Instruct-FP8-Dynamic-TR171", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Crusadersk/Llama-3.2-3B-Instruct-FP8-Dynamic-TR171 with Docker Model Runner:
docker model run hf.co/Crusadersk/Llama-3.2-3B-Instruct-FP8-Dynamic-TR171
Built with Llama
llama3.2-3b — FP8_DYNAMIC (W8A8-e4m3)
Weight-FP8 checkpoint of unsloth/Llama-3.2-3B-Instruct, produced for the TR171 deployment-time safety-tax benchmark.
Provenance
| Field | Value |
|---|---|
| Base model | unsloth/Llama-3.2-3B-Instruct |
| Base revision | 006f5dcd1393c3add266de40994ba96225e9689d (INFERRED — recovered from local HF cache snapshot, not a recorded fact) |
| Recipe | FP8_DYNAMIC (W8A8-e4m3), llmcompressor |
| Quantization method | compressed-tensors |
| Calibration data | none — FP8_DYNAMIC is data-free |
| Build date | 2026-07-02 |
| Shard size | 3.63 GB |
| Quantize wall time | 37.7 s |
Reproducing
Producer: research/tr171/expansion/fp8_support_probe.py; environment:
research/tr171/expansion/Dockerfile.fp8. The recipe takes no calibration corpus, so there is no
dataset or seed to reproduce — only the base checkpoint and the toolchain version.
Known reproducibility gap: llmcompressor was unpinned at build time, so the exact version used
on 2026-07-02 is unrecorded. The Dockerfile now pins it. A rebuild may therefore not be bit-identical
to this artifact; the sha256 recorded in fp8_support_matrix.json will detect a difference but
cannot repair one.
License and notices
Llama 3.2 is licensed under the Llama 3.2 Community License, Copyright (c) Meta Platforms, Inc. All Rights Reserved.
This FP8 derivative inherits the upstream terms of unsloth/Llama-3.2-3B-Instruct. Consult the base model's licence
before redistributing.
- Downloads last month
- -
Model tree for Crusadersk/Llama-3.2-3B-Instruct-FP8-Dynamic-TR171
Base model
meta-llama/Llama-3.2-3B-Instruct