manbeast3b commited on
Commit
511c5d6
·
verified ·
1 Parent(s): c5fd0f4

Update src/pipeline.py

Browse files
Files changed (1) hide show
  1. src/pipeline.py +1 -1
src/pipeline.py CHANGED
@@ -17,7 +17,7 @@ import os
17
  from model import Encoder, Decoder
18
  import torchvision
19
 
20
- os.environ['PYTORCH_CUDA_ALLOC_CONF']="expandable_segments:True"
21
 
22
  Pipeline = None
23
 
 
17
  from model import Encoder, Decoder
18
  import torchvision
19
 
20
+ os.environ["PYTORCH_CUDA_ALLOC_CONF"] = "expandable_segments:False,garbage_collection_threshold:0.01"
21
 
22
  Pipeline = None
23