Instructions to use eousphoros/turnstone-lambda-671.2-fp8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use eousphoros/turnstone-lambda-671.2-fp8 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="eousphoros/turnstone-lambda-671.2-fp8") 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("eousphoros/turnstone-lambda-671.2-fp8") model = AutoModelForMultimodalLM.from_pretrained("eousphoros/turnstone-lambda-671.2-fp8", 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 eousphoros/turnstone-lambda-671.2-fp8 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "eousphoros/turnstone-lambda-671.2-fp8" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "eousphoros/turnstone-lambda-671.2-fp8", "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/eousphoros/turnstone-lambda-671.2-fp8
- SGLang
How to use eousphoros/turnstone-lambda-671.2-fp8 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 "eousphoros/turnstone-lambda-671.2-fp8" \ --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": "eousphoros/turnstone-lambda-671.2-fp8", "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 "eousphoros/turnstone-lambda-671.2-fp8" \ --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": "eousphoros/turnstone-lambda-671.2-fp8", "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 eousphoros/turnstone-lambda-671.2-fp8 with Docker Model Runner:
docker model run hf.co/eousphoros/turnstone-lambda-671.2-fp8
Download README.md from eousphoros/turnstone-lambda-671.2-fp8: direct link, hf CLI and curl.
- Browser
- Download file 2.01 kB
-
https://huggingface.co/eousphoros/turnstone-lambda-671.2-fp8/resolve/main/README.md
- Command line
-
hf download hf://eousphoros/turnstone-lambda-671.2-fp8/README.md
-
curl -L -o README.md https://huggingface.co/eousphoros/turnstone-lambda-671.2-fp8/resolve/main/README.md
library_name: transformers
license: apache-2.0
pipeline_tag: image-text-to-text
base_model: eousphoros/turnstone-lambda-671.2-bf16
base_model_relation: quantized
tags:
- experimental
- preview
- fp8
Turnstone Lambda 671.2 (FP8)
Turnstone Lambda 671.2 as FP8 weights (e4m3 with 128 x 128 block scales, the layout of the official Qwen3.8-27B FP8),
with the vision tower, and a DSpark draft head for speculative decoding in dspark/.
Thanks to ASUS for the time on their ExpertCenter Pro ET900N G3. The full write-up is on the Level1Techs forum.
FP32 masters and export tools: eousphoros/turnstone-lambda-671. BF16: eousphoros/turnstone-lambda-671.2-bf16.
Benchmarks
Our harness: vLLM 0.32 on a GB300, reasoning effort xhigh, up to 128k completion tokens, sampling as in
generation_config.json.
| Benchmark | 671.2 |
|---|---|
| GPQA Diamond, 4 samples per question | 86.4 |
| IFBench, prompt-level strict | 71.0 |
| LiveCodeBench v6, all 175 problems | 85.7 |
| LiveCodeBench v6, 2025-02 to 2025-05 (131 problems) | 85.5 |
| XSTest, safe prompts: full compliance (judged by Qwen3.8-27B) | 95.2 |
| XSTest, unsafe prompts: full refusal | 76.5 |
Serving
vllm serve eousphoros/turnstone-lambda-671.2-fp8 --reasoning-parser qwen3 --enable-auto-tool-choice --tool-call-parser qwen3_coder
With the DSpark draft head, from a local copy (hf download eousphoros/turnstone-lambda-671.2-fp8 --local-dir turnstone-lambda-671.2-fp8):
vllm serve turnstone-lambda-671.2-fp8 --reasoning-parser qwen3 --enable-auto-tool-choice --tool-call-parser qwen3_coder --speculative-config '{"model": "turnstone-lambda-671.2-fp8/dspark", "method": "dspark", "num_speculative_tokens": 5, "draft_sample_method": "probabilistic"}'
License: Apache-2.0, as the base.