SGLang is a structured generation language designed for large language models (LLMs). It makes your interaction with models faster and more controllable.
Apache License 2.0
2.75k
stars
176
forks
source link
ImportError: cannot import name 'pin_program' #532
Description:
When running the 'test_multi_function' test in test_tracing.py, an ImportError occurs, indicating that the name 'pin_program' cannot be imported from the sglang.lang.interpreter module. It appears that 'pin_program' should be changed to 'cache_program'.
Suggested Fix:
Change 'pin_program' to 'cache_program' in the sglang.lang.interpreter module.
Description: When running the 'test_multi_function' test in test_tracing.py, an ImportError occurs, indicating that the name 'pin_program' cannot be imported from the sglang.lang.interpreter module. It appears that 'pin_program' should be changed to 'cache_program'.
Suggested Fix: Change 'pin_program' to 'cache_program' in the sglang.lang.interpreter module.