100XZX001 commited on
Commit
d9cfe52
·
verified ·
1 Parent(s): 45d29c0

Update training.py

Browse files
Files changed (1) hide show
  1. training.py +1 -1
training.py CHANGED
@@ -1,7 +1,7 @@
1
  # training.py – Memory‑safe: Phi‑3‑mini + Expert Demos + Fast PPO (2 iterations)
2
  import os
3
  os.environ["TRITON_DISABLE"] = "1"
4
- os.environ["TOKENIZERS_PARALLELISM"] = "false"" # stay in Python # Issue #12: prevent OOM from parallel tokenization
5
 
6
  import torch._dynamo
7
  torch._dynamo.config.disable = True
 
1
  # training.py – Memory‑safe: Phi‑3‑mini + Expert Demos + Fast PPO (2 iterations)
2
  import os
3
  os.environ["TRITON_DISABLE"] = "1"
4
+ os.environ["TOKENIZERS_PARALLELISM"] = "false"
5
 
6
  import torch._dynamo
7
  torch._dynamo.config.disable = True