Image-Text-to-Text
Transformers
ONNX
Safetensors
English
vision-language-action
edge-deployment
tensorRT
qwen
Instructions to use xintaozhen/MiniVLA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use xintaozhen/MiniVLA with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="xintaozhen/MiniVLA")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("xintaozhen/MiniVLA", dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use xintaozhen/MiniVLA with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "xintaozhen/MiniVLA" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "xintaozhen/MiniVLA", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/xintaozhen/MiniVLA
- SGLang
How to use xintaozhen/MiniVLA 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 "xintaozhen/MiniVLA" \ --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": "xintaozhen/MiniVLA", "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 "xintaozhen/MiniVLA" \ --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": "xintaozhen/MiniVLA", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use xintaozhen/MiniVLA with Docker Model Runner:
docker model run hf.co/xintaozhen/MiniVLA
Update README.md
Browse files
README.md
CHANGED
|
@@ -36,7 +36,7 @@ By exporting the **vision encoder** into ONNX and TensorRT engines, we significa
|
|
| 36 |
The MiniVLA deployment is designed with modular microservices:
|
| 37 |
|
| 38 |
<p align="center">
|
| 39 |
-
<img src="System_Architecture.svg"
|
| 40 |
</p>
|
| 41 |
|
| 42 |
|
|
@@ -49,7 +49,7 @@ The MiniVLA deployment is designed with modular microservices:
|
|
| 49 |
### Hybrid Acceleration
|
| 50 |
|
| 51 |
<p align="center">
|
| 52 |
-
<img src="MiniVLA_Architecture.svg"
|
| 53 |
</p>
|
| 54 |
|
| 55 |
|
|
@@ -79,6 +79,13 @@ The MiniVLA deployment is designed with modular microservices:
|
|
| 79 |
|
| 80 |
---
|
| 81 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 82 |
## π Usage
|
| 83 |
|
| 84 |
### Load Hugging Face Qwen-0.5B
|
|
@@ -148,9 +155,4 @@ If you use **MiniVLA** in your research or deployment, please cite:
|
|
| 148 |
|
| 149 |
We also acknowledge and thank the authors of [Stanford-ILIAD/minivla-vq-libero90-prismatic](https://huggingface.co/Stanford-ILIAD/minivla-vq-libero90-prismatic), which serves as the base for the checkpoints included in this repository.
|
| 150 |
|
| 151 |
-
---
|
| 152 |
-
|
| 153 |
-
## π Related Project
|
| 154 |
-
|
| 155 |
-
For full implementation and code, please visit the companion GitHub repository:
|
| 156 |
-
π [https://github.com/Zhenxintao/MiniVLA](https://github.com/Zhenxintao/MiniVLA)
|
|
|
|
| 36 |
The MiniVLA deployment is designed with modular microservices:
|
| 37 |
|
| 38 |
<p align="center">
|
| 39 |
+
<img src="System_Architecture.svg">
|
| 40 |
</p>
|
| 41 |
|
| 42 |
|
|
|
|
| 49 |
### Hybrid Acceleration
|
| 50 |
|
| 51 |
<p align="center">
|
| 52 |
+
<img src="MiniVLA_Architecture.svg">
|
| 53 |
</p>
|
| 54 |
|
| 55 |
|
|
|
|
| 79 |
|
| 80 |
---
|
| 81 |
|
| 82 |
+
|
| 83 |
+
## π Related Project
|
| 84 |
+
|
| 85 |
+
For full implementation and code, please visit the companion GitHub repository:
|
| 86 |
+
π [https://github.com/Zhenxintao/MiniVLA](https://github.com/Zhenxintao/MiniVLA)
|
| 87 |
+
|
| 88 |
+
|
| 89 |
## π Usage
|
| 90 |
|
| 91 |
### Load Hugging Face Qwen-0.5B
|
|
|
|
| 155 |
|
| 156 |
We also acknowledge and thank the authors of [Stanford-ILIAD/minivla-vq-libero90-prismatic](https://huggingface.co/Stanford-ILIAD/minivla-vq-libero90-prismatic), which serves as the base for the checkpoints included in this repository.
|
| 157 |
|
| 158 |
+
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|