umyunsang commited on
Commit
e19723a
·
verified ·
1 Parent(s): cedba44

Upload test_multi_lora.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. test_multi_lora.py +2 -1
test_multi_lora.py CHANGED
@@ -107,7 +107,8 @@ def phase2_lmcache_test(llm: LLM) -> dict:
107
 
108
  try:
109
  import lmcache # noqa: F401
110
- print(f" LMCache version: {lmcache.__version__}")
 
111
  except ImportError:
112
  print(" SKIP: LMCache not installed")
113
  return {"status": "SKIP", "reason": "lmcache not installed"}
 
107
 
108
  try:
109
  import lmcache # noqa: F401
110
+ version = getattr(lmcache, "__version__", "unknown")
111
+ print(f" LMCache version: {version}")
112
  except ImportError:
113
  print(" SKIP: LMCache not installed")
114
  return {"status": "SKIP", "reason": "lmcache not installed"}