mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
[AOTI] Switch fbcode HIP to C shim version v2 (#133105)
Summary: Completely switch over the default value of c_shim_version to 2 Test Plan: CI Differential Revision: D60674018 Pull Request resolved: https://github.com/pytorch/pytorch/pull/133105 Approved by: https://github.com/ColinPeppler, https://github.com/zoranzhao
This commit is contained in:
committed by
PyTorch MergeBot
parent
6980e9e569
commit
bedf96d7ff
@ -65,9 +65,7 @@ abi_compatible = (
|
||||
os.environ.get("TORCHINDUCTOR_ABI_COMPATIBLE", "1" if is_fbcode() else "0") == "1"
|
||||
)
|
||||
|
||||
c_shim_version = os.environ.get(
|
||||
"TORCHINDUCTOR_C_SHIM_VERSION", "1" if (is_fbcode() and torch.version.hip) else "2"
|
||||
)
|
||||
c_shim_version = os.environ.get("TORCHINDUCTOR_C_SHIM_VERSION", "2")
|
||||
|
||||
# dead code elimination
|
||||
dce = False
|
||||
|
Reference in New Issue
Block a user