Model card: variant-specific rewrite (match XS.2-FP8); add LICENSE.md

#2
by joerowell - opened
Files changed (3) hide show
  1. README.md +2 -22
  2. generation_config.json +2 -7
  3. tokenizer_config.json +3 -2
README.md CHANGED
@@ -7,7 +7,6 @@ extra_gated_description: >-
7
  tags:
8
  - laguna-m.1
9
  - vllm
10
- - sglang
11
  - fp8
12
  - moe
13
  license: apache-2.0
@@ -79,7 +78,7 @@ Laguna M.1-FP8 is a 225B total parameter Mixture-of-Experts model with 23B activ
79
 
80
  ## Usage
81
 
82
- Laguna M.1 has upstream support in vLLM, SGLang, and TRT-LLM thanks to the support of the team at NVIDIA.
83
 
84
  > [!NOTE]
85
  > For complete usage instructions, see the main [Laguna M.1 model card](https://huggingface.co/poolside/Laguna-M.1).
@@ -88,13 +87,11 @@ Laguna M.1 has upstream support in vLLM, SGLang, and TRT-LLM thanks to the suppo
88
 
89
  #### vLLM
90
 
91
- The full vLLM recipe is on the main [Laguna M.1 model card](https://huggingface.co/poolside/Laguna-M.1). Quantization is detected automatically from `quantization_config` in this checkpoint, so the same command works with `poolside/Laguna-M.1-FP8` substituted for the model ID. Set `VLLM_BLOCKSCALE_FP8_GEMM_FLASHINFER=0` when serving with vLLM.
92
 
93
  ```shell
94
  pip install 'vllm>=0.21.0'
95
 
96
- export VLLM_BLOCKSCALE_FP8_GEMM_FLASHINFER=0
97
-
98
  vllm serve \
99
  --model poolside/Laguna-M.1-FP8 \
100
  --tool-call-parser poolside_v1 \
@@ -104,23 +101,6 @@ vllm serve \
104
  --default-chat-template-kwargs '{"enable_thinking": true}'
105
  ```
106
 
107
- #### SGLang
108
-
109
- The full SGLang recipe is on the [SGLang Cookbook](https://docs.sglang.io/cookbook/autoregressive/Poolside/Laguna-M.1). Quantization is detected automatically, so no extra flags are required.
110
- ```shell
111
- git clone https://github.com/sgl-project/sglang.git
112
- cd sglang
113
- pip install -e "python[all]"
114
-
115
- sglang serve \
116
- --model-path poolside/Laguna-M.1-FP8 \
117
- --trust-remote-code \
118
- --reasoning-parser poolside_v1 \
119
- --tool-call-parser poolside_v1 \
120
- --tp 8 \
121
- --host 0.0.0.0 \
122
- --port 30000
123
- ```
124
  #### TRT-LLM
125
 
126
  Laguna is supported in TensorRT-LLM thanks to the team at NVIDIA ([NVIDIA/TensorRT-LLM#13559](https://github.com/NVIDIA/TensorRT-LLM/pull/13559), with partial-RoPE fusion in [#15110](https://github.com/NVIDIA/TensorRT-LLM/pull/15110)). The full recipe is on the main [Laguna M.1 model card](https://huggingface.co/poolside/Laguna-M.1). Quantization is detected automatically from `quantization_config` in this checkpoint, so no extra flags are required.
 
7
  tags:
8
  - laguna-m.1
9
  - vllm
 
10
  - fp8
11
  - moe
12
  license: apache-2.0
 
78
 
79
  ## Usage
80
 
81
+ Laguna M.1 has upstream support in vLLM, and TRT-LLM thanks to the support of the team at NVIDIA.
82
 
83
  > [!NOTE]
84
  > For complete usage instructions, see the main [Laguna M.1 model card](https://huggingface.co/poolside/Laguna-M.1).
 
87
 
88
  #### vLLM
89
 
90
+ The full vLLM recipe is on the main [Laguna M.1 model card](https://huggingface.co/poolside/Laguna-M.1). Quantization is detected automatically from `quantization_config` in this checkpoint, so the same command works with `poolside/Laguna-M.1-FP8` substituted for the model ID. No extra flags required.
91
 
92
  ```shell
93
  pip install 'vllm>=0.21.0'
94
 
 
 
95
  vllm serve \
96
  --model poolside/Laguna-M.1-FP8 \
97
  --tool-call-parser poolside_v1 \
 
101
  --default-chat-template-kwargs '{"enable_thinking": true}'
102
  ```
103
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
104
  #### TRT-LLM
105
 
106
  Laguna is supported in TensorRT-LLM thanks to the team at NVIDIA ([NVIDIA/TensorRT-LLM#13559](https://github.com/NVIDIA/TensorRT-LLM/pull/13559), with partial-RoPE fusion in [#15110](https://github.com/NVIDIA/TensorRT-LLM/pull/15110)). The full recipe is on the main [Laguna M.1 model card](https://huggingface.co/poolside/Laguna-M.1). Quantization is detected automatically from `quantization_config` in this checkpoint, so no extra flags are required.
generation_config.json CHANGED
@@ -9,10 +9,5 @@
9
  "pad_token_id": 9,
10
  "temperature": 1.0,
11
  "top_p": 1.0,
12
- "min_p": 0.0,
13
- "tool_call_parser": "poolside_v1",
14
- "reasoning_parser": "poolside_v1",
15
- "default_chat_template_kwargs": {
16
- "enable_thinking": true
17
- }
18
- }
 
9
  "pad_token_id": 9,
10
  "temperature": 1.0,
11
  "top_p": 1.0,
12
+ "min_p": 0.0
13
+ }
 
 
 
 
 
tokenizer_config.json CHANGED
@@ -571,5 +571,6 @@
571
  "pad_token": "〈|PAD|〉",
572
  "sep_token": "〈|SEP|〉",
573
  "tokenizer_class": "PreTrainedTokenizerFast",
574
- "unk_token": "〈|UNK|〉"
575
- }
 
 
571
  "pad_token": "〈|PAD|〉",
572
  "sep_token": "〈|SEP|〉",
573
  "tokenizer_class": "PreTrainedTokenizerFast",
574
+ "unk_token": "〈|UNK|〉",
575
+ "chat_template": "{% include 'chat_template.jinja' %}"
576
+ }