This PR includes the commits which remove THC code in Apex. Please refer to one of the commits in PyTorch which deprecated THC here. This PR has been tested locally on rocm/pytorch:rocm4.3.1_ubuntu18.04_py3.6_pytorch_1.8.1 and the latest PyTorch commit in ROCm IFU-master-2021-12-13 branch.
This PR includes the commits which remove THC code in Apex. Please refer to one of the commits in PyTorch which deprecated THC here. This PR has been tested locally on rocm/pytorch:rocm4.3.1_ubuntu18.04_py3.6_pytorch_1.8.1 and the latest PyTorch commit in ROCm IFU-master-2021-12-13 branch.
Conditionally skipping a unit test
test_fused_layer_norm
becausetorch.cuda.is_bfloat16_supported
is not defined: https://github.com/ROCmSoftwarePlatform/apex/pull/64/commits/68364b49221d36099c8298709ecb7ea0876ca642