Instructions to use tiny-random/step3-vl with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tiny-random/step3-vl with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="tiny-random/step3-vl", trust_remote_code=True) messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModelForSeq2SeqLM model = AutoModelForSeq2SeqLM.from_pretrained("tiny-random/step3-vl", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use tiny-random/step3-vl with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "tiny-random/step3-vl" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "tiny-random/step3-vl", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/tiny-random/step3-vl
- SGLang
How to use tiny-random/step3-vl 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 "tiny-random/step3-vl" \ --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": "tiny-random/step3-vl", "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 "tiny-random/step3-vl" \ --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": "tiny-random/step3-vl", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use tiny-random/step3-vl with Docker Model Runner:
docker model run hf.co/tiny-random/step3-vl
| { | |
| "architectures": [ | |
| "StepVLForConditionalGeneration" | |
| ], | |
| "auto_map": { | |
| "AutoConfig": "configuration_step_vl.StepRoboticsConfig", | |
| "AutoModelForCausalLM": "modeling_step_vl.Step3VL10BForCausalLM" | |
| }, | |
| "model_type": "step_robotics", | |
| "im_end_token": "<im_end>", | |
| "im_patch_token": "<im_patch>", | |
| "im_start_token": "<im_start>", | |
| "image_token_len": 169, | |
| "patch_token_len": 81, | |
| "image_token_id": 151679, | |
| "understand_projector_stride": 2, | |
| "use_im_start_end": "true", | |
| "vision_select_layer": -1, | |
| "projector_bias": false, | |
| "vision_config": { | |
| "image_size": 728, | |
| "patch_size": 14, | |
| "width": 64, | |
| "layers": 2, | |
| "heads": 2, | |
| "pool_type": "none", | |
| "output_dim": null, | |
| "use_cls_token": false, | |
| "ls_init_value": 0.1, | |
| "use_ln_post": false, | |
| "hidden_act": "quick_gelu" | |
| }, | |
| "text_config": { | |
| "architectures": [ | |
| "Qwen3ForCausalLM" | |
| ], | |
| "attention_bias": false, | |
| "attention_dropout": 0.0, | |
| "bos_token_id": 151643, | |
| "eos_token_id": [ | |
| 151643, | |
| 151645, | |
| 151679 | |
| ], | |
| "head_dim": 32, | |
| "hidden_act": "silu", | |
| "hidden_size": 8, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 64, | |
| "max_position_embeddings": 65536, | |
| "max_window_layers": 36, | |
| "model_type": "qwen3", | |
| "num_attention_heads": 8, | |
| "num_hidden_layers": 2, | |
| "num_key_value_heads": 4, | |
| "rms_norm_eps": 1e-06, | |
| "rope_scaling": null, | |
| "rope_theta": 1000000, | |
| "sliding_window": null, | |
| "tie_word_embeddings": false, | |
| "torch_dtype": "bfloat16", | |
| "transformers_version": "4.51.0", | |
| "use_cache": true, | |
| "use_sliding_window": false, | |
| "vocab_size": 151936 | |
| } | |
| } |