You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
_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")
or (
"dev" in torchao_version
and _nightly_version_ge(torchao_version, "2024-10-10")
)
)
the _is_fbcode() part needs to be removed so this can be updated in fbcode. Its preventing us from landing our diff train.
The text was updated successfully, but these errors were encountered:
@ebsmothers can you take a look at this, i'm going to put a PR up to handle BC briefly so we can move forward with our diff train but i don't think this should be gated on fbcode, just torchao version.
Summary:
trying to land diff train, this is causing issues until torchtune can
correct their version guard, issue: pytorch/torchtune#1855
Test Plan: see CI
Reviewers:
Subscribers:
Tasks:
Tags:
https://github.com/pytorch/torchtune/blob/7d29c21149ace4be9fdc2709a03c0a21ba191010/torchtune/utils/_import_guard.py#L20C1-L29C2
_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")
or (
"dev" in torchao_version
and _nightly_version_ge(torchao_version, "2024-10-10")
)
)
The text was updated successfully, but these errors were encountered: