Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
change
sglang
Commits
9a903a87
Unverified
Commit
9a903a87
authored
Sep 12, 2024
by
Ying Sheng
Committed by
GitHub
Sep 12, 2024
Browse files
[Minor] Raise exception for wrong import (#1409)
parent
68be2f6d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
__init__.py
__init__.py
+3
-0
No files found.
__init__.py
0 → 100644
View file @
9a903a87
raise
Exception
(
"You imported 'sglang' from the git repo root directory 'sglang', which is incorrect. You should import it from 'sglang/python/sglang'. Please do not run your scripts adjacent to the git repo root directory."
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment