2525
2626from dataclasses import dataclass , field
2727from enum import Enum
28- from typing import Any , Optional , TypedDict , Union
28+ from typing import Any , Optional , Union
2929
3030
3131class ModelStatus (str , Enum ):
@@ -164,6 +164,8 @@ class LaunchOptions:
164164 Number of nodes to allocate
165165 gpus_per_node : int, optional
166166 Number of GPUs per node
167+ account : str, optional
168+ Account name for job scheduling
167169 qos : str, optional
168170 Quality of Service level
169171 time : str, optional
@@ -187,6 +189,7 @@ class LaunchOptions:
187189 partition : Optional [str ] = None
188190 num_nodes : Optional [int ] = None
189191 gpus_per_node : Optional [int ] = None
192+ account : Optional [str ] = None
190193 qos : Optional [str ] = None
191194 time : Optional [str ] = None
192195 vocab_size : Optional [int ] = None
@@ -197,43 +200,6 @@ class LaunchOptions:
197200 vllm_args : Optional [str ] = None
198201
199202
200- class LaunchOptionsDict (TypedDict ):
201- """TypedDict for LaunchOptions.
202-
203- A TypedDict representation of LaunchOptions for type checking and
204- serialization purposes. All fields are optional and may be None.
205-
206- Attributes
207- ----------
208- model_family : str, optional
209- Family/architecture of the model
210- model_variant : str, optional
211- Specific variant/version of the model
212- partition : str, optional
213- SLURM partition to use
214- num_nodes : int, optional
215- Number of nodes to allocate
216- gpus_per_node : int, optional
217- Number of GPUs per node
218- qos : str, optional
219- Quality of Service level
220- time : str, optional
221- Time limit for the job
222- vocab_size : int, optional
223- Size of model vocabulary
224- data_type : str, optional
225- Data type for model weights
226- venv : str, optional
227- Virtual environment to use
228- log_dir : str, optional
229- Directory for logs
230- model_weights_parent_dir : str, optional
231- Parent directory containing model weights
232- vllm_args : str, optional
233- Additional arguments for vLLM
234- """
235-
236-
237203@dataclass
238204class ModelInfo :
239205 """Information about an available model.
0 commit comments