You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[cli] Fix startup ImportError, remove heavy deps, clean up build config
- Make openai import lazy in bench/engine_bench (request_sender, config):
any lmcache command (including --help) no longer crashes with
ImportError when openai is not installed; error is deferred to
lmcache bench engine invocation with a clear install hint
- Remove transformers from requirements/cli.txt (already a lazy optional
import with try/except fallback in prompt.py)
- Revert lmcache/cli/request.py to dev (ttft_s = -1.0 when no token)
- pyproject_cli.toml: drop ninja (not needed for pure-Python wheel),
relax setuptools to >=68.0.0
Signed-off-by: deng451e <838677410@qq.com>
0 commit comments