x
This commit is contained in:
@@ -4,9 +4,6 @@ FROM docker.1ms.run/kyuz0/vllm-therock-gfx1201:latest
|
|||||||
ENV USE_DEFAULT_MODEL=true
|
ENV USE_DEFAULT_MODEL=true
|
||||||
ENV LOCAL_MODEL_DIR=/opt/model
|
ENV LOCAL_MODEL_DIR=/opt/model
|
||||||
|
|
||||||
# Ensure latest Transformers model definitions are available
|
|
||||||
RUN /opt/venv/bin/pip install --no-cache-dir --upgrade "git+https://github.com/huggingface/transformers.git"
|
|
||||||
|
|
||||||
# Create necessary directories
|
# Create necessary directories
|
||||||
RUN mkdir -p /opt/script /opt/model /config
|
RUN mkdir -p /opt/script /opt/model /config
|
||||||
|
|
||||||
|
|||||||
+1
-3
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"default_model": "Qwen3.5-35B-A3B-GPTQ-Int4",
|
"default_model": "Qwen3-Coder-30B-A3B-Instruct-GPTQ-4bit",
|
||||||
"models": {
|
"models": {
|
||||||
"Meta-Llama-3.1-8B-Instruct": {
|
"Meta-Llama-3.1-8B-Instruct": {
|
||||||
"ctx": "65536",
|
"ctx": "65536",
|
||||||
@@ -106,7 +106,6 @@
|
|||||||
"max_num_seqs": "64",
|
"max_num_seqs": "64",
|
||||||
"max_tokens": "32768",
|
"max_tokens": "32768",
|
||||||
"gpu_util": "0.98",
|
"gpu_util": "0.98",
|
||||||
"model_impl": "transformers",
|
|
||||||
"tool_call_parser": "qwen3_xml",
|
"tool_call_parser": "qwen3_xml",
|
||||||
"enable_auto_tool_choice": true,
|
"enable_auto_tool_choice": true,
|
||||||
"served_model_name": "Qwen3.5-27B-FP8",
|
"served_model_name": "Qwen3.5-27B-FP8",
|
||||||
@@ -119,7 +118,6 @@
|
|||||||
"max_num_seqs": "64",
|
"max_num_seqs": "64",
|
||||||
"max_tokens": "32768",
|
"max_tokens": "32768",
|
||||||
"gpu_util": "0.98",
|
"gpu_util": "0.98",
|
||||||
"model_impl": "transformers",
|
|
||||||
"tool_call_parser": "qwen3_xml",
|
"tool_call_parser": "qwen3_xml",
|
||||||
"enable_auto_tool_choice": true,
|
"enable_auto_tool_choice": true,
|
||||||
"served_model_name": "Qwen3.5-35B-A3B-GPTQ-Int4",
|
"served_model_name": "Qwen3.5-35B-A3B-GPTQ-Int4",
|
||||||
|
|||||||
@@ -145,11 +145,6 @@ def launch_model(model_id, config, model_path, gpu_count):
|
|||||||
"--dtype", "auto"
|
"--dtype", "auto"
|
||||||
]
|
]
|
||||||
|
|
||||||
model_impl = config.get("model_impl") or os.getenv("VLLM_MODEL_IMPL")
|
|
||||||
if model_impl:
|
|
||||||
cmd.extend(["--model-impl", str(model_impl)])
|
|
||||||
log(f"Added model implementation: {model_impl}")
|
|
||||||
|
|
||||||
if config.get("trust_remote"):
|
if config.get("trust_remote"):
|
||||||
cmd.append("--trust-remote-code")
|
cmd.append("--trust-remote-code")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user