Skip to content

Commit

Permalink
Correct torchao check for TensorCoreTiledLayout (#1886)
Browse files Browse the repository at this point in the history
  • Loading branch information
joecummings authored Oct 23, 2024
1 parent 1e5f0d5 commit 17ba37d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchtune/utils/_import_guard.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
_USE_NEW_TENSOR_CORE_TILED_LAYOUT_API = _is_fbcode() or (
not _is_fbcode()
and (
("dev" not in torchao_version and torchao_version >= "0.6.0")
("dev" not in torchao_version and torchao_version >= "0.7.0")
or (
"dev" in torchao_version
and _nightly_version_ge(torchao_version, "2024-10-10")
Expand Down

0 comments on commit 17ba37d

Please sign in to comment.