Skip to content

Commit

Permalink
starts with instead of strict equality
Browse files Browse the repository at this point in the history
  • Loading branch information
gokulavasan committed Jul 26, 2024
1 parent 0a1fc12 commit 38beea5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/smoke_test/smoke_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ def stateful_dataloader_test():
if options.s3:
s3_test()

if torchdata.__version__ != "0.8.0":
if torchdata.__version__.startswith("0.8.0"):
raise Exception(f"TorchData version is not 0.8.0, found {torchdata.__version__}")
stateful_dataloader_test()

0 comments on commit 38beea5

Please sign in to comment.