How to use from
vLLM
Install from pip and serve model
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "veyra-ai/veyra2-30m-instruct-early-onnx-int8"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "veyra-ai/veyra2-30m-instruct-early-onnx-int8",
		"prompt": "Once upon a time,",
		"max_tokens": 512,
		"temperature": 0.5
	}'
Use Docker
docker model run hf.co/veyra-ai/veyra2-30m-instruct-early-onnx-int8
Quick Links

veyra2-30m-instruct-v0.1-onnx-int8

ONNX Runtime dynamic INT8 export of a Veyra Stage 3 checkpoint.

Notes

This repo contains quantized ONNX files exported with optimum-cli export onnx using:

optimum-cli export onnx --task text-generation-with-past --opset 17
Then the ONNX files were dynamically quantized to INT8 with ONNX Runtime.

The original tokenizer and config files are included.
Downloads last month
4
Safetensors
Model size
34.6M params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Collection including veyra-ai/veyra2-30m-instruct-early-onnx-int8