Skip to content

Commit

Permalink
suppressing a seemingly bening error that seems to appear with TorchD…
Browse files Browse the repository at this point in the history
…ynamo in transformer/train.py
  • Loading branch information
shehper committed Apr 9, 2024
1 parent e262cb4 commit 251e684
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions transformer/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@

from model import GPTConfig, GPT


import torch._dynamo
torch._dynamo.config.suppress_errors = True

# -----------------------------------------------------------------------------
# default config values designed to train a gpt2 (124M) on OpenWebText
# I/O
Expand Down

0 comments on commit 251e684

Please sign in to comment.