ソースを参照

refac: cuda error gc

Timothy Jaeryang Baek 2 ヶ月 前
コミット
35e7e07821
1 ファイル変更1 行追加0 行削除
  1. 1 0
      backend/open_webui/env.py

+ 1 - 0
backend/open_webui/env.py

@@ -78,6 +78,7 @@ log.info(f"GLOBAL_LOG_LEVEL: {GLOBAL_LOG_LEVEL}")
 
 
 if "cuda_error" in locals():
 if "cuda_error" in locals():
     log.exception(cuda_error)
     log.exception(cuda_error)
+    del cuda_error
 
 
 log_sources = [
 log_sources = [
     "AUDIO",
     "AUDIO",