zetavg commited on
Commit
dba0ad5
·
1 Parent(s): 60ce564

clear cache after training

Browse files
Files changed (1) hide show
  1. llama_lora/ui/finetune_ui.py +1 -0
llama_lora/ui/finetune_ui.py CHANGED
@@ -447,6 +447,7 @@ Train data (first 10):
447
 
448
  result_message = f"Training ended:\n{str(results)}\n\nLogs:\n{logs_str}"
449
  print(result_message)
 
450
  return result_message
451
 
452
  except Exception as e:
 
447
 
448
  result_message = f"Training ended:\n{str(results)}\n\nLogs:\n{logs_str}"
449
  print(result_message)
450
+ clear_cache()
451
  return result_message
452
 
453
  except Exception as e: