暂时取消主动释放显存
This commit is contained in:
@@ -173,9 +173,9 @@ def information_extraction(ie, phrecs):
|
||||
|
||||
result = merge_result(result, ie_result)
|
||||
|
||||
# 完成一次任务释放显存
|
||||
paddle.device.cuda.empty_cache()
|
||||
logging.info("显存释放完成")
|
||||
# # 完成一次任务释放显存
|
||||
# paddle.device.cuda.empty_cache()
|
||||
# logging.info("显存释放完成")
|
||||
return result
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user