[Minor] Raise exception for wrong import (#1409)
This commit is contained in:
3
__init__.py
Normal file
3
__init__.py
Normal file
@@ -0,0 +1,3 @@
|
||||
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."
|
||||
)
|
||||
Reference in New Issue
Block a user