mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-08-01 01:27:42 +00:00
fix: avoid warning for missing llama installation when not in use (#509)
* Update llm_utils to check llama use * modify the logic of the condition
This commit is contained in:
@@ -46,7 +46,8 @@ except ImportError:
|
||||
try:
|
||||
from llama import Llama
|
||||
except ImportError:
|
||||
logger.warning("llama is not installed.")
|
||||
if LLM_SETTINGS.use_llama2:
|
||||
logger.warning("llama is not installed.")
|
||||
|
||||
|
||||
class ConvManager:
|
||||
|
||||
Reference in New Issue
Block a user