Iris-3B: Going Beyond the Latent with Pixel-Space Diffusion Training, Conversion and Fine-Tuning
Paper • 2610.09450 • Published • 28
How to use rty813/iris-3b-bf16 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-generation", model="rty813/iris-3b-bf16", trust_remote_code=True) # pip install -U transformers accelerate
# Load model directly
from transformers import AutoProcessor, AutoModelForMultimodalLM
processor = AutoProcessor.from_pretrained("rty813/iris-3b-bf16", trust_remote_code=True)
model = AutoModelForMultimodalLM.from_pretrained("rty813/iris-3b-bf16", trust_remote_code=True, device_map="auto")How to use rty813/iris-3b-bf16 with vLLM:
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "rty813/iris-3b-bf16"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "rty813/iris-3b-bf16",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'docker model run hf.co/rty813/iris-3b-bf16
How to use rty813/iris-3b-bf16 with SGLang:
# Install SGLang from pip:
pip install sglang
# Start the SGLang server:
python3 -m sglang.launch_server \
--model-path "rty813/iris-3b-bf16" \
--host 0.0.0.0 \
--port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "rty813/iris-3b-bf16",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'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 "rty813/iris-3b-bf16" \
--host 0.0.0.0 \
--port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "rty813/iris-3b-bf16",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'How to use rty813/iris-3b-bf16 with Docker Model Runner:
docker model run hf.co/rty813/iris-3b-bf16
Full-precision (bf16) PyTorch port of speridlabs/iris-3b, for vLLM / TGI / Xinference / transformers users who don't want the GGUF quant.
pytorch_model.bin (bf16). safetensors conversion in progress.AutoModelForCausalLM.from_pretrained("rty813/iris-3b-bf16").vllm serve rty813/iris-3b-bf16) and Xinference (search "iris-3b").Original model card:
Pixel-space generation & general vision learner.
A 3-billion-parameter model that paints every pixel directly — no VAE, no latent space — and, fine-tuned, estimates depth and restores and upscales images.
Base model
speridlabs/iris-3b