Instructions to use kasohrab/theworld-spatial-channel-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use kasohrab/theworld-spatial-channel-2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="kasohrab/theworld-spatial-channel-2")# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForMultimodalLM model = AutoModelForMultimodalLM.from_pretrained("kasohrab/theworld-spatial-channel-2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use kasohrab/theworld-spatial-channel-2 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "kasohrab/theworld-spatial-channel-2" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "kasohrab/theworld-spatial-channel-2", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/kasohrab/theworld-spatial-channel-2
- SGLang
How to use kasohrab/theworld-spatial-channel-2 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 "kasohrab/theworld-spatial-channel-2" \ --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": "kasohrab/theworld-spatial-channel-2", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'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 "kasohrab/theworld-spatial-channel-2" \ --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": "kasohrab/theworld-spatial-channel-2", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use kasohrab/theworld-spatial-channel-2 with Docker Model Runner:
docker model run hf.co/kasohrab/theworld-spatial-channel-2
Commit History
-
Model save
Verified signaturedb1bcf3 -
Training in progress, step 100000
Verified signatureb059b1b -
Training in progress, step 99000
Verified signature2c977d3 -
Training in progress, step 98000
Verified signaturebc64fa6 -
Training in progress, step 97000
Verified signaturef667a42 -
Training in progress, step 96000
Verified signature53ac51e -
Training in progress, step 95000
Verified signature0b2df1b -
Training in progress, step 94000
Verified signature1a3a55e -
Training in progress, step 93000
Verified signatured2fde7b -
Training in progress, step 90000
Verified signature25662f7 -
Training in progress, step 89000
Verified signaturebd2f25c -
Training in progress, step 88000
Verified signature9f64e43 -
Training in progress, step 87000
Verified signature217561b -
Training in progress, step 86000
Verified signature49f5c50 -
Training in progress, step 85000
Verified signature3589204 -
Training in progress, step 84000
Verified signaturece64978 -
Training in progress, step 83000
Verified signature0c5e394 -
Training in progress, step 82000
Verified signature9484ba3 -
Training in progress, step 81000
Verified signaturef526d7b -
Training in progress, step 80000
Verified signaturedc1e122 -
Training in progress, step 79000
Verified signaturea0d1949 -
Training in progress, step 78000
Verified signature90f4107 -
Training in progress, step 77000
Verified signaturef8c34b8 -
Training in progress, step 76000
Verified signature4c1278c -
Training in progress, step 75000
Verified signaturee5aed50 -
Training in progress, step 74000
Verified signatureca12a37 -
Training in progress, step 73000
Verified signaturec8d96f3 -
Training in progress, step 72000
Verified signaturef90d7e3 -
Training in progress, step 71000
Verified signatured76893b -
Training in progress, step 70000
Verified signatureec72fd7 -
Training in progress, step 69000
Verified signature53a711f -
Training in progress, step 68000
Verified signature7afc126 -
Training in progress, step 67000
Verified signature03c1edb -
Training in progress, step 66000
Verified signaturebfb3e99 -
Training in progress, step 65000
Verified signature9fffd77 -
Training in progress, step 64000
Verified signaturea065c19 -
Training in progress, step 63000
Verified signature6c9e017 -
Training in progress, step 62000
Verified signature6bbe992 -
Training in progress, step 61000
Verified signature2ef4ec1 -
Training in progress, step 60000
Verified signatured101017 -
Training in progress, step 59000
Verified signature72f21aa -
Training in progress, step 58000
Verified signature645dc1b -
Training in progress, step 57000
Verified signature7bfb212 -
Training in progress, step 56000
Verified signaturee22c5a6 -
Training in progress, step 55000
Verified signature4a87d79
-
Training in progress, step 54000
Verified signatureaccd0e1 -
Training in progress, step 53000
Verified signaturefcd32d0 -
Training in progress, step 52000
Verified signature6d852fe -
Training in progress, step 51000
Verified signature23b1533 -
Training in progress, step 50000
Verified signature756f415