Skip to content

Commit

Permalink
turn off optimize ddp
Browse files Browse the repository at this point in the history
  • Loading branch information
Bucero authored and facebook-github-bot committed Aug 15, 2024
1 parent 8df4f89 commit 2597d08
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions torchrec/distributed/train_pipeline/train_pipelines.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ def progress(self, dataloader_iter: Iterator[In]) -> Out:
True
)
torch._dynamo.config.skip_torchrec = False
torch._dynamo.config.optimize_ddp = False

# Importing only before compilation to not slow-done train_pipelines import
torch.ops.import_module("fbgemm_gpu.sparse_ops")
Expand Down

0 comments on commit 2597d08

Please sign in to comment.