Instructions to use QuantTrio/GLM-5.1-AWQ with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use QuantTrio/GLM-5.1-AWQ with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="QuantTrio/GLM-5.1-AWQ") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("QuantTrio/GLM-5.1-AWQ") model = AutoModelForCausalLM.from_pretrained("QuantTrio/GLM-5.1-AWQ", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use QuantTrio/GLM-5.1-AWQ with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "QuantTrio/GLM-5.1-AWQ" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "QuantTrio/GLM-5.1-AWQ", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/QuantTrio/GLM-5.1-AWQ
- SGLang
How to use QuantTrio/GLM-5.1-AWQ 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 "QuantTrio/GLM-5.1-AWQ" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "QuantTrio/GLM-5.1-AWQ", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'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 "QuantTrio/GLM-5.1-AWQ" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "QuantTrio/GLM-5.1-AWQ", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use QuantTrio/GLM-5.1-AWQ with Docker Model Runner:
docker model run hf.co/QuantTrio/GLM-5.1-AWQ
Add files using upload-large-folder tool
Browse files- .mdl +0 -0
- .msc +0 -0
- chat_template.jinja +117 -0
- config.json +75 -0
- configuration.json +1 -0
- generation_config.json +12 -0
- install_deepgemm.sh +126 -0
- model-00002-of-00141.safetensors +3 -0
- model-00003-of-00141.safetensors +3 -0
- model-00006-of-00141.safetensors +3 -0
- model-00008-of-00141.safetensors +3 -0
- model-00009-of-00141.safetensors +3 -0
- model-00010-of-00141.safetensors +3 -0
- model-00012-of-00141.safetensors +3 -0
- model-00013-of-00141.safetensors +3 -0
- model-00014-of-00141.safetensors +3 -0
- model-00015-of-00141.safetensors +3 -0
- model-00016-of-00141.safetensors +3 -0
- model-00017-of-00141.safetensors +3 -0
- model-00022-of-00141.safetensors +3 -0
- model-00023-of-00141.safetensors +3 -0
- model-00025-of-00141.safetensors +3 -0
- model-00029-of-00141.safetensors +3 -0
- model-00031-of-00141.safetensors +3 -0
- model-00032-of-00141.safetensors +3 -0
- model-00033-of-00141.safetensors +3 -0
- model-00034-of-00141.safetensors +3 -0
- model-00035-of-00141.safetensors +3 -0
- model-00037-of-00141.safetensors +3 -0
- model-00070-of-00141.safetensors +3 -0
- model-00071-of-00141.safetensors +3 -0
- model-00080-of-00141.safetensors +3 -0
- model-00085-of-00141.safetensors +3 -0
- model-00091-of-00141.safetensors +3 -0
- model-00092-of-00141.safetensors +3 -0
- model-00100-of-00141.safetensors +3 -0
- model-00102-of-00141.safetensors +3 -0
- model-00109-of-00141.safetensors +3 -0
- model-00111-of-00141.safetensors +3 -0
- model-00117-of-00141.safetensors +3 -0
- model-00119-of-00141.safetensors +3 -0
- model-00121-of-00141.safetensors +3 -0
- model-00123-of-00141.safetensors +3 -0
- model-00126-of-00141.safetensors +3 -0
- model-00127-of-00141.safetensors +3 -0
- model-00128-of-00141.safetensors +3 -0
- model-00130-of-00141.safetensors +3 -0
- model-00136-of-00141.safetensors +3 -0
- model-00139-of-00141.safetensors +3 -0
- tokenizer_config.json +33 -0
.mdl
ADDED
|
Binary file (43 Bytes). View file
|
|
|
.msc
ADDED
|
Binary file (12.8 kB). View file
|
|
|
chat_template.jinja
ADDED
|
@@ -0,0 +1,117 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[gMASK]<sop>
|
| 2 |
+
{%- if tools -%}
|
| 3 |
+
{%- macro tool_to_json(tool) -%}
|
| 4 |
+
{%- set ns_tool = namespace(first=true) -%}
|
| 5 |
+
{{ '{' -}}
|
| 6 |
+
{%- for k, v in tool.items() -%}
|
| 7 |
+
{%- if k != 'defer_loading' and k != 'strict' -%}
|
| 8 |
+
{%- if not ns_tool.first -%}{{- ', ' -}}{%- endif -%}
|
| 9 |
+
{%- set ns_tool.first = false -%}
|
| 10 |
+
"{{ k }}": {{ v | tojson(ensure_ascii=False) }}
|
| 11 |
+
{%- endif -%}
|
| 12 |
+
{%- endfor -%}
|
| 13 |
+
{{- '}' -}}
|
| 14 |
+
{%- endmacro -%}
|
| 15 |
+
<|system|>
|
| 16 |
+
# Tools
|
| 17 |
+
|
| 18 |
+
You may call one or more functions to assist with the user query.
|
| 19 |
+
|
| 20 |
+
You are provided with function signatures within <tools></tools> XML tags:
|
| 21 |
+
<tools>
|
| 22 |
+
{% for tool in tools %}
|
| 23 |
+
{%- if 'function' in tool -%}
|
| 24 |
+
{%- set tool = tool['function'] -%}
|
| 25 |
+
{%- endif -%}
|
| 26 |
+
{% if tool.defer_loading is not defined or not tool.defer_loading %}
|
| 27 |
+
{{ tool_to_json(tool) }}
|
| 28 |
+
{% endif %}
|
| 29 |
+
{% endfor %}
|
| 30 |
+
</tools>
|
| 31 |
+
|
| 32 |
+
For each function call, output the function name and arguments within the following XML format:
|
| 33 |
+
<tool_call>{function-name}<arg_key>{arg-key-1}</arg_key><arg_value>{arg-value-1}</arg_value><arg_key>{arg-key-2}</arg_key><arg_value>{arg-value-2}</arg_value>...</tool_call>{%- endif -%}
|
| 34 |
+
{%- macro visible_text(content) -%}
|
| 35 |
+
{%- if content is string -%}
|
| 36 |
+
{{- content }}
|
| 37 |
+
{%- elif content is iterable and content is not mapping -%}
|
| 38 |
+
{%- for item in content -%}
|
| 39 |
+
{%- if item is mapping and item.type == 'text' -%}
|
| 40 |
+
{{- item.text }}
|
| 41 |
+
{%- elif item is string -%}
|
| 42 |
+
{{- item }}
|
| 43 |
+
{%- endif -%}
|
| 44 |
+
{%- endfor -%}
|
| 45 |
+
{%- else -%}
|
| 46 |
+
{{- content }}
|
| 47 |
+
{%- endif -%}
|
| 48 |
+
{%- endmacro -%}
|
| 49 |
+
{%- set ns = namespace(last_user_index=-1, thinking_indices='') -%}
|
| 50 |
+
{%- for m in messages %}
|
| 51 |
+
{%- if m.role == 'user' %}
|
| 52 |
+
{%- set ns.last_user_index = loop.index0 -%}
|
| 53 |
+
{%- elif m.role == 'assistant' %}
|
| 54 |
+
{%- if m.reasoning_content is string %}
|
| 55 |
+
{%- set ns.thinking_indices = ns.thinking_indices ~ ',' ~ ns.last_user_index ~ ',' -%}
|
| 56 |
+
{%- endif %}
|
| 57 |
+
{%- endif %}
|
| 58 |
+
{%- endfor %}
|
| 59 |
+
{%- set ns.has_thinking = false -%}
|
| 60 |
+
{%- for m in messages -%}
|
| 61 |
+
{%- if m.role == 'user' -%}<|user|>{{ visible_text(m.content) }}{% set ns.has_thinking = (',' ~ loop.index0 ~ ',') in ns.thinking_indices -%}
|
| 62 |
+
{%- elif m.role == 'assistant' -%}
|
| 63 |
+
<|assistant|>
|
| 64 |
+
{%- set content = visible_text(m.content) %}
|
| 65 |
+
{%- if m.reasoning_content is string %}
|
| 66 |
+
{%- set reasoning_content = m.reasoning_content %}
|
| 67 |
+
{%- elif '</think>' in content %}
|
| 68 |
+
{%- set reasoning_content = content.split('</think>')[0].split('<think>')[-1] %}
|
| 69 |
+
{%- set content = content.split('</think>')[-1] %}
|
| 70 |
+
{%- elif loop.index0 > ns.last_user_index and not (enable_thinking is defined and not enable_thinking) %}
|
| 71 |
+
{%- set reasoning_content = '' %}
|
| 72 |
+
{%- elif loop.index0 < ns.last_user_index and ns.has_thinking %}
|
| 73 |
+
{%- set reasoning_content = '' %}
|
| 74 |
+
{%- endif %}
|
| 75 |
+
{%- if ((clear_thinking is defined and not clear_thinking) or loop.index0 > ns.last_user_index) and reasoning_content is defined -%}
|
| 76 |
+
{{ '<think>' + reasoning_content + '</think>'}}
|
| 77 |
+
{%- else -%}
|
| 78 |
+
{{ '</think>' }}
|
| 79 |
+
{%- endif -%}
|
| 80 |
+
{%- if content.strip() -%}
|
| 81 |
+
{{ content.strip() }}
|
| 82 |
+
{%- endif -%}
|
| 83 |
+
{% if m.tool_calls %}
|
| 84 |
+
{% for tc in m.tool_calls %}
|
| 85 |
+
{%- if tc.function %}
|
| 86 |
+
{%- set tc = tc.function %}
|
| 87 |
+
{%- endif %}
|
| 88 |
+
{{- '<tool_call>' + tc.name -}}
|
| 89 |
+
{% set _args = tc.arguments %}{% for k, v in _args.items() %}<arg_key>{{ k }}</arg_key><arg_value>{{ v | tojson(ensure_ascii=False) if v is not string else v }}</arg_value>{% endfor %}</tool_call>{% endfor %}
|
| 90 |
+
{% endif %}
|
| 91 |
+
{%- elif m.role == 'tool' -%}
|
| 92 |
+
{%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
|
| 93 |
+
{{- '<|observation|>' -}}
|
| 94 |
+
{%- endif %}
|
| 95 |
+
{%- if m.content is string -%}
|
| 96 |
+
{{- '<tool_response>' + m.content + '</tool_response>' -}}
|
| 97 |
+
{%- else -%}
|
| 98 |
+
{{- '<tool_response><tools>\n' -}}
|
| 99 |
+
{% for tr in m.content %}
|
| 100 |
+
{%- for tool in tools -%}
|
| 101 |
+
{%- if 'function' in tool -%}
|
| 102 |
+
{%- set tool = tool['function'] -%}
|
| 103 |
+
{%- endif -%}
|
| 104 |
+
{%- if tool.name == tr.name -%}
|
| 105 |
+
{{- tool_to_json(tool) + '\n' -}}
|
| 106 |
+
{%- endif -%}
|
| 107 |
+
{%- endfor -%}
|
| 108 |
+
{%- endfor -%}
|
| 109 |
+
{{- '</tools></tool_response>' -}}
|
| 110 |
+
{% endif -%}
|
| 111 |
+
{%- elif m.role == 'system' -%}
|
| 112 |
+
<|system|>{{ visible_text(m.content) }}
|
| 113 |
+
{%- endif -%}
|
| 114 |
+
{%- endfor -%}
|
| 115 |
+
{%- if add_generation_prompt -%}
|
| 116 |
+
<|assistant|>{{- '</think>' if (enable_thinking is defined and not enable_thinking) else '<think>' -}}
|
| 117 |
+
{%- endif -%}
|
config.json
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name_or_path": "tclf90/GLM-5.1-AWQ",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"GlmMoeDsaForCausalLM"
|
| 5 |
+
],
|
| 6 |
+
"attention_bias": false,
|
| 7 |
+
"attention_dropout": 0.0,
|
| 8 |
+
"dtype": "bfloat16",
|
| 9 |
+
"eos_token_id": [
|
| 10 |
+
154820,
|
| 11 |
+
154827,
|
| 12 |
+
154829
|
| 13 |
+
],
|
| 14 |
+
"ep_size": 1,
|
| 15 |
+
"first_k_dense_replace": 3,
|
| 16 |
+
"hidden_act": "silu",
|
| 17 |
+
"head_dim": 64,
|
| 18 |
+
"hidden_size": 6144,
|
| 19 |
+
"index_head_dim": 128,
|
| 20 |
+
"index_n_heads": 32,
|
| 21 |
+
"index_topk": 2048,
|
| 22 |
+
"indexer_rope_interleave": true,
|
| 23 |
+
"initializer_range": 0.02,
|
| 24 |
+
"intermediate_size": 12288,
|
| 25 |
+
"kv_lora_rank": 512,
|
| 26 |
+
"max_position_embeddings": 202752,
|
| 27 |
+
"moe_intermediate_size": 2048,
|
| 28 |
+
"moe_layer_freq": 1,
|
| 29 |
+
"model_type": "glm_moe_dsa",
|
| 30 |
+
"n_group": 1,
|
| 31 |
+
"n_routed_experts": 256,
|
| 32 |
+
"n_shared_experts": 1,
|
| 33 |
+
"norm_topk_prob": true,
|
| 34 |
+
"num_attention_heads": 64,
|
| 35 |
+
"num_experts_per_tok": 8,
|
| 36 |
+
"num_hidden_layers": 78,
|
| 37 |
+
"num_key_value_heads": 64,
|
| 38 |
+
"num_nextn_predict_layers": 1,
|
| 39 |
+
"pad_token_id": 154820,
|
| 40 |
+
"pretraining_tp": 1,
|
| 41 |
+
"q_lora_rank": 2048,
|
| 42 |
+
"qk_head_dim": 256,
|
| 43 |
+
"qk_nope_head_dim": 192,
|
| 44 |
+
"qk_rope_head_dim": 64,
|
| 45 |
+
"rms_norm_eps": 1e-05,
|
| 46 |
+
"rope_interleave": true,
|
| 47 |
+
"rope_parameters": {
|
| 48 |
+
"rope_theta": 1000000,
|
| 49 |
+
"rope_type": "default"
|
| 50 |
+
},
|
| 51 |
+
"routed_scaling_factor": 2.5,
|
| 52 |
+
"scoring_func": "sigmoid",
|
| 53 |
+
"tie_word_embeddings": false,
|
| 54 |
+
"topk_group": 1,
|
| 55 |
+
"topk_method": "noaux_tc",
|
| 56 |
+
"transformers_version": "5.4.0",
|
| 57 |
+
"use_cache": true,
|
| 58 |
+
"v_head_dim": 256,
|
| 59 |
+
"vocab_size": 154880,
|
| 60 |
+
"quantization_config": {
|
| 61 |
+
"quant_method": "awq",
|
| 62 |
+
"bits": 4,
|
| 63 |
+
"group_size": 128,
|
| 64 |
+
"version": "gemm",
|
| 65 |
+
"zero_point": true,
|
| 66 |
+
"modules_to_not_convert": [
|
| 67 |
+
"self_attn",
|
| 68 |
+
"shared_expert",
|
| 69 |
+
"mlp.gate",
|
| 70 |
+
"model.layers.0.",
|
| 71 |
+
"model.layers.1.",
|
| 72 |
+
"model.layers.2."
|
| 73 |
+
]
|
| 74 |
+
}
|
| 75 |
+
}
|
configuration.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"framework":"Pytorch","task":"text-generation"}
|
generation_config.json
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"eos_token_id": [
|
| 4 |
+
154820,
|
| 5 |
+
154827,
|
| 6 |
+
154829
|
| 7 |
+
],
|
| 8 |
+
"pad_token_id": 154820,
|
| 9 |
+
"temperature": 1.0,
|
| 10 |
+
"top_p": 0.95,
|
| 11 |
+
"transformers_version": "5.4.0"
|
| 12 |
+
}
|
install_deepgemm.sh
ADDED
|
@@ -0,0 +1,126 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
# Script to build and/or install DeepGEMM from source
|
| 3 |
+
# Default: build and install immediately
|
| 4 |
+
# Optional: build wheels to a directory for later installation (useful in multi-stage builds)
|
| 5 |
+
set -e
|
| 6 |
+
|
| 7 |
+
# Default values
|
| 8 |
+
DEEPGEMM_GIT_REPO="https://github.com/deepseek-ai/DeepGEMM.git"
|
| 9 |
+
DEEPGEMM_GIT_REF="0f5f2662027f0db05d4e3f6a94e56e2d8fc45c51"
|
| 10 |
+
WHEEL_DIR=""
|
| 11 |
+
|
| 12 |
+
# Parse command line arguments
|
| 13 |
+
while [[ $# -gt 0 ]]; do
|
| 14 |
+
case $1 in
|
| 15 |
+
--ref)
|
| 16 |
+
if [[ -z "$2" || "$2" =~ ^- ]]; then
|
| 17 |
+
echo "Error: --ref requires an argument." >&2
|
| 18 |
+
exit 1
|
| 19 |
+
fi
|
| 20 |
+
DEEPGEMM_GIT_REF="$2"
|
| 21 |
+
shift 2
|
| 22 |
+
;;
|
| 23 |
+
--cuda-version)
|
| 24 |
+
if [[ -z "$2" || "$2" =~ ^- ]]; then
|
| 25 |
+
echo "Error: --cuda-version requires an argument." >&2
|
| 26 |
+
exit 1
|
| 27 |
+
fi
|
| 28 |
+
CUDA_VERSION="$2"
|
| 29 |
+
shift 2
|
| 30 |
+
;;
|
| 31 |
+
--wheel-dir)
|
| 32 |
+
if [[ -z "$2" || "$2" =~ ^- ]]; then
|
| 33 |
+
echo "Error: --wheel-dir requires a directory path." >&2
|
| 34 |
+
exit 1
|
| 35 |
+
fi
|
| 36 |
+
WHEEL_DIR="$2"
|
| 37 |
+
shift 2
|
| 38 |
+
;;
|
| 39 |
+
-h|--help)
|
| 40 |
+
echo "Usage: $0 [OPTIONS]"
|
| 41 |
+
echo "Options:"
|
| 42 |
+
echo " --ref REF Git reference to checkout (default: $DEEPGEMM_GIT_REF)"
|
| 43 |
+
echo " --cuda-version VER CUDA version (auto-detected if not provided)"
|
| 44 |
+
echo " --wheel-dir PATH If set, build wheel into PATH but do not install"
|
| 45 |
+
echo " -h, --help Show this help message"
|
| 46 |
+
exit 0
|
| 47 |
+
;;
|
| 48 |
+
*)
|
| 49 |
+
echo "Unknown option: $1" >&2
|
| 50 |
+
exit 1
|
| 51 |
+
;;
|
| 52 |
+
esac
|
| 53 |
+
done
|
| 54 |
+
|
| 55 |
+
# Auto-detect CUDA version if not provided
|
| 56 |
+
if [ -z "$CUDA_VERSION" ]; then
|
| 57 |
+
if command -v nvcc >/dev/null 2>&1; then
|
| 58 |
+
CUDA_VERSION=$(nvcc --version | grep "release" | sed -n 's/.*release \([0-9]\+\.[0-9]\+\).*/\1/p')
|
| 59 |
+
echo "Auto-detected CUDA version: $CUDA_VERSION"
|
| 60 |
+
else
|
| 61 |
+
echo "Warning: Could not auto-detect CUDA version. Please specify with --cuda-version"
|
| 62 |
+
exit 1
|
| 63 |
+
fi
|
| 64 |
+
fi
|
| 65 |
+
|
| 66 |
+
# Extract major and minor version numbers
|
| 67 |
+
CUDA_MAJOR="${CUDA_VERSION%%.*}"
|
| 68 |
+
CUDA_MINOR="${CUDA_VERSION#${CUDA_MAJOR}.}"
|
| 69 |
+
CUDA_MINOR="${CUDA_MINOR%%.*}"
|
| 70 |
+
echo "CUDA version: $CUDA_VERSION (major: $CUDA_MAJOR, minor: $CUDA_MINOR)"
|
| 71 |
+
|
| 72 |
+
# Check CUDA version requirement
|
| 73 |
+
if [ "$CUDA_MAJOR" -lt 12 ] || { [ "$CUDA_MAJOR" -eq 12 ] && [ "$CUDA_MINOR" -lt 8 ]; }; then
|
| 74 |
+
echo "Skipping DeepGEMM build/installation (requires CUDA 12.8+ but got ${CUDA_VERSION})"
|
| 75 |
+
exit 0
|
| 76 |
+
fi
|
| 77 |
+
|
| 78 |
+
echo "Preparing DeepGEMM build..."
|
| 79 |
+
echo "Repository: $DEEPGEMM_GIT_REPO"
|
| 80 |
+
echo "Reference: $DEEPGEMM_GIT_REF"
|
| 81 |
+
|
| 82 |
+
# Create a temporary directory for the build
|
| 83 |
+
# INSTALL_DIR=$(mktemp -d)
|
| 84 |
+
INSTALL_DIR="."
|
| 85 |
+
trap 'rm -rf "$INSTALL_DIR"' EXIT
|
| 86 |
+
|
| 87 |
+
# Clone the repository
|
| 88 |
+
git clone --recursive --shallow-submodules "$DEEPGEMM_GIT_REPO" "$INSTALL_DIR/deepgemm"
|
| 89 |
+
pushd "$INSTALL_DIR/deepgemm"
|
| 90 |
+
|
| 91 |
+
# Checkout the specific reference
|
| 92 |
+
git checkout "$DEEPGEMM_GIT_REF"
|
| 93 |
+
|
| 94 |
+
# Clean previous build artifacts
|
| 95 |
+
# (Based on https://github.com/deepseek-ai/DeepGEMM/blob/main/install.sh)
|
| 96 |
+
rm -rf build dist *.egg-info
|
| 97 |
+
|
| 98 |
+
# Build wheel
|
| 99 |
+
echo "🏗️ Building DeepGEMM wheel..."
|
| 100 |
+
python3 setup.py bdist_wheel
|
| 101 |
+
|
| 102 |
+
# If --wheel-dir was specified, copy wheels there and exit
|
| 103 |
+
if [ -n "$WHEEL_DIR" ]; then
|
| 104 |
+
mkdir -p "$WHEEL_DIR"
|
| 105 |
+
cp dist/*.whl "$WHEEL_DIR"/
|
| 106 |
+
echo "✅ Wheel built and copied to $WHEEL_DIR"
|
| 107 |
+
popd
|
| 108 |
+
exit 0
|
| 109 |
+
fi
|
| 110 |
+
|
| 111 |
+
# Default behaviour: install built wheel
|
| 112 |
+
if command -v uv >/dev/null 2>&1; then
|
| 113 |
+
echo "Installing DeepGEMM wheel using uv..."
|
| 114 |
+
if [ -n "$VLLM_DOCKER_BUILD_CONTEXT" ]; then
|
| 115 |
+
uv pip install --system dist/*.whl
|
| 116 |
+
else
|
| 117 |
+
uv pip install dist/*.whl
|
| 118 |
+
fi
|
| 119 |
+
else
|
| 120 |
+
echo "Installing DeepGEMM wheel using pip..."
|
| 121 |
+
python3 -m pip install dist/*.whl
|
| 122 |
+
fi
|
| 123 |
+
|
| 124 |
+
popd
|
| 125 |
+
echo "✅ DeepGEMM installation completed successfully"
|
| 126 |
+
|
model-00002-of-00141.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3908ef38c9e1379e5a617ebf98f627d6796671b6488cae957b53012ef2b964f7
|
| 3 |
+
size 2994212608
|
model-00003-of-00141.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7356157ea12ded06ee9b02be7014f1f74a6780dd21ed7bae6c2b4de19f28c3fb
|
| 3 |
+
size 2999874096
|
model-00006-of-00141.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7aac9be06b376ae4c75244fb9a6c396c1f2ed001991f54224599aae4d6f0dcf1
|
| 3 |
+
size 2994212104
|
model-00008-of-00141.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f7930531a83e485a63ec038cb3db21c7e2c345118c684ce5b537519b8ec29092
|
| 3 |
+
size 2941608824
|
model-00009-of-00141.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:737fe2c4f0ea390f62f9e1806c626159d2d38bd3d48c42ca2c4b768a0e3c82b0
|
| 3 |
+
size 2999980472
|
model-00010-of-00141.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:43a7c1642c23a7bd724a4d83700b15c234310765b9b091f43d01ce9510b33d9e
|
| 3 |
+
size 3000070760
|
model-00012-of-00141.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9bc6e84d0d53e187e4e1ee0df85b5d635472920f32d44d393fd6979373c3f025
|
| 3 |
+
size 2999874024
|
model-00013-of-00141.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1abd45e6c182aae1148f9e90458d88149085801d96a0e8139de8844460a8af06
|
| 3 |
+
size 2994212504
|
model-00014-of-00141.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:143aa5ac2907371f3c2d905d48587e183817a337cb19d91895a34d7cedc8f3f4
|
| 3 |
+
size 2999874808
|
model-00015-of-00141.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:97cff4bb6d67a651449dbf6c38e3679990d83e186ae853036c1584d3515adc0e
|
| 3 |
+
size 2994213632
|
model-00016-of-00141.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8f84e10801a1853e100da4b44998775d6a9f5c7a4444c9f124c5e9452a09706a
|
| 3 |
+
size 2999875632
|
model-00017-of-00141.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:761e375122f8259a1414376212e41642ffa9a9064619c1ae97f7d1af9c1fe157
|
| 3 |
+
size 2994213384
|
model-00022-of-00141.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cac5b3915567e0cadeeb27e9db7ea029f6df41805aae79c9063b9732a52325dc
|
| 3 |
+
size 2994214024
|
model-00023-of-00141.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4f3d0b4eba6d7c8e48be6acb9d9f8a0fc4c090fb858210dddd5748c33fa0a1a2
|
| 3 |
+
size 2999875240
|
model-00025-of-00141.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:efc800fd27077b61810d87d69aa27aef0773cd7045f235c86cfd594a141d1b02
|
| 3 |
+
size 2999875488
|
model-00029-of-00141.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9758eefd739116d7f271bef774b5c1d70681e90f06f94a1639516e0919df2f30
|
| 3 |
+
size 2994556920
|
model-00031-of-00141.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1b42e498ea4bd5bc0ae45de8dbe1a8f80bf983e70420be809ac6fee6bb96afc9
|
| 3 |
+
size 2994214048
|
model-00032-of-00141.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0f151d23fbbf96fe2751397d62ddc6221994218b1d23fcf45cbc94145b832398
|
| 3 |
+
size 2999875216
|
model-00033-of-00141.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2397f693a2e171e30a78e9bfeeb6b384a7f5ad5af77b4cdce25a815254f35221
|
| 3 |
+
size 2994213912
|
model-00034-of-00141.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c5aea650ba06464f17dcfbb66e09de45c202c3095b4be130d9b366ed2bb255a0
|
| 3 |
+
size 2999875360
|
model-00035-of-00141.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a7f298d0e10891ecb1692521de465adc052cecbeef40ad1c766b950d2bbbe4fd
|
| 3 |
+
size 2994213656
|
model-00037-of-00141.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:12f5f6bfba2d9b90bbcf6ec82a8f31900e2f008209edb36bdc76ab524f6fb6a4
|
| 3 |
+
size 2994213416
|
model-00070-of-00141.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e1566eb6f4ecd22d9fb9dfc377267194ecb9fbc3505bfbb95462f2b0e72a1911
|
| 3 |
+
size 2958904216
|
model-00071-of-00141.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f81577c6dd938328d3689299d19de733bfca98937d9608b3959f01d7dfed525f
|
| 3 |
+
size 2995959528
|
model-00080-of-00141.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:db697045d308c10e946e875c7f0600367c2df31f302e9e930d955c97b794c03b
|
| 3 |
+
size 2994556920
|
model-00085-of-00141.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9358bc15a4f30bd63ce36a5a924be8fce2e4c6ed1a856a445189f66f86696290
|
| 3 |
+
size 2999875360
|
model-00091-of-00141.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6070f5c8f0d5679d97222d2f360551b7bdf961c1ab90ab39cc14e3b62dc12d49
|
| 3 |
+
size 2994975120
|
model-00092-of-00141.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3e88d01219a7e7dba5c878c1914a300ee84276098ab6ae4c2c5b5746a29c7a3b
|
| 3 |
+
size 2999875224
|
model-00100-of-00141.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e1763433e04ad71a1ca4128d26484a2cf238b4f3165cf9c7fb7a1db1c9e92c25
|
| 3 |
+
size 2995552016
|
model-00102-of-00141.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c7b0cb8c34b8d129eb78b9ff2505bb2df391700d97319510bd8d34a012e1d2c9
|
| 3 |
+
size 2994214040
|
model-00109-of-00141.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:673dab10b99e540d463a732d6edb20059caee93798166adb8c0c6376c87767da
|
| 3 |
+
size 2999875824
|
model-00111-of-00141.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c6a98e05d3c705e55943087f9d8a9905410fb6fdce1db87ea78673043bf46a2d
|
| 3 |
+
size 2999981712
|
model-00117-of-00141.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b197c6f18436dcdbfbbd95c1d67d10f3f50d779619896f13c502202b00c697f2
|
| 3 |
+
size 2994213632
|
model-00119-of-00141.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:90481032251e79d73964d6e51c4026cf61443e79a46483208427d399c7a92f12
|
| 3 |
+
size 2994213384
|
model-00121-of-00141.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1183d6c23c501f413f647bb616c6b967c73d4733079bdc0bd1fa49ff3b0e6a7c
|
| 3 |
+
size 2958904216
|
model-00123-of-00141.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d53b61928e9156984658815e4fe89e2c74341a6bad2ac13e22e60841d6bcf264
|
| 3 |
+
size 2999875224
|
model-00126-of-00141.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7ae9ff8db9741cd1e57dc13b29c55d0f793b5f3b3b34887b3873aaf7b8bcb0a6
|
| 3 |
+
size 2994213784
|
model-00127-of-00141.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ca9e4f472ce7a8a96e1bb60270e4fbea8af503c26f1b14457f0f94aa7f45d464
|
| 3 |
+
size 2999875488
|
model-00128-of-00141.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d5278e1cccc41323dedd04470010600d371af7ad3f4aba81bb2d050e32cdf5ef
|
| 3 |
+
size 2994213536
|
model-00130-of-00141.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:12ab2c8bd2583983a377ba8be9988afb588ae64986a106dd6a6ac4a93bcc65fb
|
| 3 |
+
size 2999532328
|
model-00136-of-00141.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:14e9a27f310b94c94cb69c0a9646a8ca0d2ed1529185313668ab4ce785c03098
|
| 3 |
+
size 2999875360
|
model-00139-of-00141.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e0f459460eb6627a9c690e8aa846586953553d6df5c556c3d69807f0f3d2f896
|
| 3 |
+
size 2994213416
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"backend": "tokenizers",
|
| 3 |
+
"clean_up_tokenization_spaces": false,
|
| 4 |
+
"do_lower_case": false,
|
| 5 |
+
"eos_token": "<|endoftext|>",
|
| 6 |
+
"extra_special_tokens": [
|
| 7 |
+
"<|endoftext|>",
|
| 8 |
+
"[MASK]",
|
| 9 |
+
"[gMASK]",
|
| 10 |
+
"[sMASK]",
|
| 11 |
+
"<sop>",
|
| 12 |
+
"<eop>",
|
| 13 |
+
"<|system|>",
|
| 14 |
+
"<|user|>",
|
| 15 |
+
"<|assistant|>",
|
| 16 |
+
"<|observation|>",
|
| 17 |
+
"<|begin_of_image|>",
|
| 18 |
+
"<|end_of_image|>",
|
| 19 |
+
"<|begin_of_video|>",
|
| 20 |
+
"<|end_of_video|>",
|
| 21 |
+
"<|begin_of_audio|>",
|
| 22 |
+
"<|end_of_audio|>",
|
| 23 |
+
"<|begin_of_transcription|>",
|
| 24 |
+
"<|end_of_transcription|>"
|
| 25 |
+
],
|
| 26 |
+
"is_local": true,
|
| 27 |
+
"model_max_length": 202752,
|
| 28 |
+
"model_specific_special_tokens": {},
|
| 29 |
+
"pad_token": "<|endoftext|>",
|
| 30 |
+
"padding_side": "left",
|
| 31 |
+
"remove_space": false,
|
| 32 |
+
"tokenizer_class": "TokenizersBackend"
|
| 33 |
+
}
|