Skip to content

Commit

Permalink
fix version
Browse files Browse the repository at this point in the history
  • Loading branch information
jerryzh168 committed Sep 27, 2024
1 parent ed9b82e commit b113eda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchao/testing/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ def forward(self, x: torch.Tensor) -> torch.Tensor:

y_d = dn_dist(up_dist(input_dtensor))

if TORCH_VERSION_AT_LEAST_2_5:
if not TORCH_VERSION_AT_LEAST_2_5:
# Need torch 2.5 to support compiled tensor parallelism
return

Expand Down

0 comments on commit b113eda

Please sign in to comment.