-
Notifications
You must be signed in to change notification settings - Fork 2.6k
[None] [feat] Python SLURM launcher #7255
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
8d08df4
SLURM Python launcher
kaiyux 6029a48
Update
kaiyux ae86a52
Fix
kaiyux 519d4bd
Update
kaiyux 37e5a0b
Update
kaiyux 9ca31bc
Update
kaiyux a9bbb5b
Update
kaiyux e2887f2
Update
kaiyux 35031e4
Fix
kaiyux File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,39 @@ | ||
| exec: | ||
| config: | ||
| context: | ||
| tp: 4 | ||
| ep: 4 | ||
| pp: 1 | ||
| max_batch_size: 4 | ||
| max_num_tokens: 1024 | ||
| max_seq_len: 1024 | ||
| config: | ||
| kv_cache_config: | ||
| free_gpu_memory_fraction: 0.75 | ||
| enable_block_reuse: false | ||
| print_iter_log: true | ||
| dp: 1 | ||
| generation: | ||
| tp: 4 | ||
| ep: 4 | ||
| pp: 1 | ||
| max_batch_size: 1 | ||
| max_num_tokens: 4096 | ||
| max_seq_len: 2048 | ||
| config: | ||
| print_iter_log: true | ||
| kv_cache_config: | ||
| free_gpu_memory_fraction: 0.75 | ||
| enable_block_reuse: false | ||
| dp: 1 | ||
| model_path: TinyLlama/TinyLlama-1.1B-Chat-v1.0 | ||
| profile: | ||
| dataset_path: /tmp/ShareGPT_V3_unfiltered_cleaned_split.json | ||
| isl: 1024 | ||
| osl: 1024 | ||
| num_prompts: 8192 | ||
| use_benchmark_serving: true | ||
| concurrency: | ||
| - 128 | ||
| - 256 | ||
| ignore_eos: true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| """ | ||
| Disaggregated serving profiler package. | ||
| This package contains the job management and parameter sweeping functionality | ||
| for the TRT-LLM disaggregated serving launcher. | ||
| """ | ||
|
Comment on lines
+1
to
+5
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fix docstring formatting according to PEP 257. The docstring needs a blank line between the summary and description. """
Disaggregated serving profiler package.
+
This package contains the job management and parameter sweeping functionality
for the TRT-LLM disaggregated serving launcher.
"""🧰 Tools🪛 Ruff (0.12.2)1-4: 1 blank line required between summary line and description (D205) 🤖 Prompt for AI Agents |
||
|
|
||
| from .job_manager import JobManager, wait_for_server | ||
|
|
||
| __all__ = [ | ||
| 'JobManager', 'wait_for_server', | ||
| ] | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing NVIDIA copyright header.
According to the coding guidelines, all source files including Python files should include the NVIDIA copyright header with the current year (2025).
Add the NVIDIA copyright header at the top of the file:
📝 Committable suggestion
🧰 Tools
🪛 Ruff (0.12.2)
1-4: 1 blank line required between summary line and description
(D205)
🤖 Prompt for AI Agents