Image-Text-to-Text
Transformers
Safetensors
dsv4_vl
text-generation
deepseek-v4
multimodal
vision-language
siglip2
lora
custom_code
Instructions to use LoyalAI/dsv4-flash-0731-vision with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use LoyalAI/dsv4-flash-0731-vision with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="LoyalAI/dsv4-flash-0731-vision", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("LoyalAI/dsv4-flash-0731-vision", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use LoyalAI/dsv4-flash-0731-vision with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "LoyalAI/dsv4-flash-0731-vision" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "LoyalAI/dsv4-flash-0731-vision", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/LoyalAI/dsv4-flash-0731-vision
- SGLang
How to use LoyalAI/dsv4-flash-0731-vision 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 "LoyalAI/dsv4-flash-0731-vision" \ --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": "LoyalAI/dsv4-flash-0731-vision", "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 "LoyalAI/dsv4-flash-0731-vision" \ --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": "LoyalAI/dsv4-flash-0731-vision", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use LoyalAI/dsv4-flash-0731-vision with Docker Model Runner:
docker model run hf.co/LoyalAI/dsv4-flash-0731-vision
Commit History
22 days ago
-
Switch the license to CC BY-NC 4.0
Verified signature242167e
-
Update README.md
Verified signature3f39f96
-
Seal complete private DSV4-VL checkpoint-7268 backup
Verified signatureb9d0a61 -
Back up private DSV4-VL source at 8fe605d19738
Verified signature5f4cdbb -
Seal complete private DSV4-VL checkpoint-7268 backup
Verified signature3eb3326 -
Add files using upload-large-folder tool
Verified signaturefb1e36a -
Add files using upload-large-folder tool
Verified signatured6e40e8 -
Add files using upload-large-folder tool
Verified signature03f717d -
Back up private DSV4-VL source at 38faa0fcaff0
Verified signature1d7c7c4 -
Back up audited stateful Stage-2 checkpoint 7268
Verified signaturefa0bc03
-
Back up audited stateful Stage-2 checkpoint 6900
Verified signature2230f42 -
Back up audited stateful Stage-2 checkpoint 6440
Verified signature1285304 -
Back up audited stateful Stage-2 checkpoint 5980
Verified signature7c1e6b7 -
Back up audited stateful Stage-2 checkpoint 5520
Verified signature0714781
-
Back up audited stateful Stage-2 checkpoint 5060
Verified signature1084ad7 -
Back up audited stateful Stage-2 checkpoint 4600
Verified signature50c9d5d -
Back up audited stateful Stage-2 checkpoint 4140
Verified signature6cd5ee1 -
Back up audited stateful Stage-2 checkpoint 3680
Verified signature07930dd
-
Back up audited stateful Stage-2 checkpoint 3220
Verified signature5632b15 -
Back up audited stateful Stage-2 checkpoint 2760
Verified signature520fe31 -
Back up audited stateful Stage-2 checkpoint 2300
Verified signatureb9c34a8 -
Back up audited stateful Stage-2 checkpoint 1840
Verified signature12e784a
-
Back up audited stateful Stage-2 checkpoint 1380
Verified signature6f20143 -
Back up audited stateful Stage-2 checkpoint 920
Verified signature7fd3308 -
Back up audited stateful Stage-2 checkpoint 460
Verified signature511c014 -
Back up audited stateful Stage-2 checkpoint 138
Verified signature6163fb2 -
Back up audited Stage-2 inference milestone 92
Verified signature246d845 -
Back up verified RunPod volume capacity evidence
Verified signaturedca25c8 -
Record first audited Stage 2 production checkpoint
Verified signature16eefb7 -
Back up audited Stage-2 inference milestone 46
Verified signaturebf360c3 -
Add accomplishments summary and live Stage 2 plan
Verified signature6994de6 -
Add living report and approved normalized Stage-2 gate
Verified signaturef3d8566 -
Back up Stage 2 loader normalization and bounded cost approval
Verified signature788428e -
Back up approved Stage 2 gate and recovery evidence
Verified signature2b3085a -
Update verified pipeline provenance
Verified signatured39e9e6 -
Back up verified Stage-1 vision graft
Verified signaturec354f2b -
initial commit
Verified signaturec2ae4a1