logging improvements (#1808) [skip ci]
* logging improvements * fix sort
This commit is contained in:
@@ -1022,7 +1022,7 @@ def load_lora(model, cfg, inference=False, config_only=False):
|
||||
|
||||
if cfg.lora_target_linear:
|
||||
linear_names = find_all_linear_names(model)
|
||||
LOG.info(f"found linear modules: {repr(linear_names)}")
|
||||
LOG.info(f"found linear modules: {repr(sorted(linear_names))}")
|
||||
lora_target_modules = list(set(lora_target_modules + linear_names))
|
||||
|
||||
lora_config_kwargs = {}
|
||||
|
||||
Reference in New Issue
Block a user