Skip to content
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

fix dp_rank env #2144

Merged
merged 1 commit into from
Nov 23, 2024
Merged

fix dp_rank env #2144

merged 1 commit into from
Nov 23, 2024

Conversation

ByronHsu
Copy link
Collaborator

Motivation

Fix the issue

  File "/home/jobuser/resources/sglang/python/sglang/srt/managers/scheduler.py", line 1392, in run_scheduler_process
    dp_rank = int(os["DP_RANK"])
TypeError: 'module' object is not subscriptable

Modifications

Checklist

  • Format your code according to the Contributor Guide.
  • Add unit tests as outlined in the Contributor Guide.
  • Update documentation as needed, including docstrings or example tutorials.

@ByronHsu ByronHsu merged commit 52f58fc into sgl-project:main Nov 23, 2024
0 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant