sgl-project / sglang

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

Closed ZackZeng999 closed 1 day ago

ZackZeng999 commented 2 weeks ago

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.

8adb262c7acec342962c96fd9bd1d91