forked from oumi-ai/oumi
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvllm_infer.yaml
More file actions
26 lines (23 loc) · 820 Bytes
/
Copy pathvllm_infer.yaml
File metadata and controls
26 lines (23 loc) · 820 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Qwen 2.5 VL 3B vLLM inference config.
#
# Requirements:
# - Run `pip install oumi[gpu]`
#
# Usage:
# oumi infer -i -c configs/recipes/vision/qwen2_5_vl_3b/inference/vllm_infer.yaml \
# --image "tests/testdata/images/the_great_wave_off_kanagawa.jpg"
#
# See Also:
# - Documentation: https://oumi.ai/docs/en/latest/user_guides/infer/infer.html
# - Config class: oumi.core.configs.InferenceConfig
# - Config source: https://github.com/oumi-ai/oumi/blob/main/src/oumi/core/configs/inference_config.py
# - Other inference configs: configs/**/inference/
model:
model_name: "Qwen/Qwen2.5-VL-3B-Instruct"
torch_dtype_str: "bfloat16"
model_max_length: 4096
chat_template: "qwen2-vl-instruct" # 2.5 uses the same template as 2.0
trust_remote_code: True
generation:
max_new_tokens: 64
engine: VLLM