pytorch程序异常后删除占用的显存操作 1-删除模型变量delmodel_define2-清空CUDAcachetorch.cuda.empty_cache()3-步骤2(异步)需要一定时间, 程序异常