Add a LOADER debug message while loading models
This commit is contained in:
parent
1c90e02243
commit
77d6ccf12b
1 changed files with 1 additions and 0 deletions
|
@ -102,6 +102,7 @@ def load_model(model_name, loader=None):
|
||||||
elif loader in ['llama.cpp', 'llamacpp_HF', 'ctransformers']:
|
elif loader in ['llama.cpp', 'llamacpp_HF', 'ctransformers']:
|
||||||
shared.settings['truncation_length'] = shared.args.n_ctx
|
shared.settings['truncation_length'] = shared.args.n_ctx
|
||||||
|
|
||||||
|
logger.info(f"LOADER: {loader}")
|
||||||
logger.info(f"TRUNCATION LENGTH: {shared.settings['truncation_length']}")
|
logger.info(f"TRUNCATION LENGTH: {shared.settings['truncation_length']}")
|
||||||
logger.info(f"INSTRUCTION TEMPLATE: {shared.settings['instruction_template']}")
|
logger.info(f"INSTRUCTION TEMPLATE: {shared.settings['instruction_template']}")
|
||||||
logger.info(f"Loaded the model in {(time.time()-t0):.2f} seconds.")
|
logger.info(f"Loaded the model in {(time.time()-t0):.2f} seconds.")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue