Error building Pytorch from source
Labels: module: build, module: rocm, triaged

### 🐛 Describe the bug

I'm trying to build Pytorch 1.13 from source in order to use Yolov5 on my AMD GPU with ROCm. I followed the steps:

```
git clone -b release/1.13 https://github.com/pytorch/pytorch
cd pytorch
python tools/amd_build/build_amd.py
MAX_JOBS=1 python setup.py install # MAX_JOBS=1 to prevent freezing on my PC while building
```

I got the following output : 

```
[6385/6833] Linking CXX shared library lib/libtorch_hip.so
FAILED: lib/libtorch_hip.so 
: && /usr/bin/c++ -fPIC -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -fopenmp -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOCUPTI -DUSE_FBGEMM -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -DEDGE_PROFILER_USE_KINETO -O2 -fPIC -Wno-narrowing -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX2_CPU_DEFINITION -O3 -DNDEBUG -DNDEBUG  -Wl,--no-as-needed -rdynamic -shared -Wl,-soname,libtorch_hip.so -o lib/libtorch_hip.so caffe2/CMakeFiles/torch_hip.dir/__/build/aten/src/ATen/torch_hip_generated_UfuncCUDA_add.cu.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/hip/torch_hip_generated_Sleep.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/hip/torch_hip_generated_cub-RadixSortKeys.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/hip/torch_hip_generated_cub-RadixSortPairs.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/hip/torch_hip_generated_cub.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/hip/detail/torch_hip_generated_IndexUtils.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/hip/torch_hip_generated_jiterator.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_AbsKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_ActivationEluKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_ActivationGeluKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_ActivationGluKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_ActivationHardshrinkKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_ActivationHardsigmoidKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_ActivationHardswishKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_ActivationHardtanhKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_ActivationLeakyReluKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_ActivationLogSigmoidKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_ActivationMishKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_ActivationPreluKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_ActivationSiluKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_ActivationSoftplusKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_ActivationSoftshrinkKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_ActivationThresholdKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_AdaptiveAveragePooling.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_AdaptiveAveragePooling3d.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_AdaptiveMaxPooling2d.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_AdaptiveMaxPooling3d.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_AmpKernels.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_AveragePool2d.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_AveragePool3d.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_BinaryBitwiseOpsKernels.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_BinaryDivFloorKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_BinaryDivTrueKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_BinaryDivTruncKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_BinaryGeometricKernels.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_BinaryLogicalOpsKernels.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_BinaryMiscBackwardOpsKernels.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_BinaryMiscOpsKernels.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_BinaryMulKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_BinaryRemainderKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_BinaryShiftOpsKernels.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_Bucketization.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_Col2Im.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_CompareEQKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_CompareKernels.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_ComplexKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_ConvolutionMM2d.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_Copy.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_CopysignKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_CrossKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_CumminmaxKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_CumprodKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_CumsumKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_DepthwiseConv2d.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_DepthwiseConv3d.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_DilatedMaxPool2d.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_DilatedMaxPool3d.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_DistanceKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_DistributionBernoulli.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_DistributionCauchyKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_DistributionExponentialKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_DistributionGeometricKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_DistributionLogNormalKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_DistributionNormal.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_DistributionRandomKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_DistributionUniform.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_Distributions.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_Dropout.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_Embedding.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_EmbeddingBackwardKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_EmbeddingBag.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_FillKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_ForeachBinaryOpList.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_ForeachBinaryOpScalar.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_ForeachBinaryOpScalarList.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_ForeachPointwiseOp.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_ForeachReduceOp.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_ForeachUnaryOp.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_FractionalMaxPool2d.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_FractionalMaxPool3d.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_FunctionOfAMatrixUtilsKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_FusedAdamKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_GcdLcmKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_GridSampler.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_HIPScalar.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_IGammaKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_Im2Col.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_IndexKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_Indexing.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_LegacyThrustHelpers.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_Lerp.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_LinearAlgebra.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_LogAddExpKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_LogcumsumexpKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_Loss.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_LossCTC.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_MaxMinElementwiseKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_MaxUnpooling.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_MultiLabelMarginCriterion.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_MultiMarginLoss.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_MultinomialKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_NLLLoss2d.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_NaiveConvolutionTranspose2d.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_NaiveConvolutionTranspose3d.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_NaiveDilatedConvolution.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_Nonzero.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_Normalization.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_PointwiseOpsKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_PowKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_RNN.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_Randperm.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_RangeFactories.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_RecordStream.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_Reduce.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_ReduceAMinMaxKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_ReduceArgMaxKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_ReduceArgMinKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_ReduceLogicKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_ReduceMaxValuesKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_ReduceMinValuesKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_ReduceMomentKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_ReduceNormKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_ReduceSumProdKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_ReflectionPad.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_RenormKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_Repeat.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_ReplicationPadding.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_RreluWithNoise.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_ScatterGatherKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_SegmentReduce.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_Shape.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_SoftMax.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_Sort.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_SortImpl.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_SortStable.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_Sorting.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_SparseBinaryOpIntersectionKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_SparseMM.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_SpectralOps.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_StepKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_SummaryOps.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_TensorCompare.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_TensorFactories.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_TensorModeKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_TensorTopK.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_TensorTransformations.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_TriangularOps.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_UnaryComplexKernels.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_UnaryFractionKernels.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_UnaryGammaKernels.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_UnaryGeometricAcosKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_UnaryGeometricAcoshKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_UnaryGeometricAsinKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_UnaryGeometricAsinhKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_UnaryGeometricAtanKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_UnaryGeometricAtanhKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_UnaryGeometricCosKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_UnaryGeometricCoshKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_UnaryGeometricSinKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_UnaryGeometricSinhKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_UnaryGeometricTanKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_UnaryGeometricTanhKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_UnaryLogKernels.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_UnaryOpsKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_UnarySignKernels.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_UnarySpecialOpsKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_UnfoldBackwardKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_Unique.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_UniqueCub.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_UpSampleBicubic2d.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_UpSampleBilinear2d.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_UpSampleLinear1d.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_UpSampleNearest1d.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_UpSampleNearest2d.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_UpSampleNearest3d.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_UpSampleTrilinear3d.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_ValidateCompressedIndicesKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_WeightNorm.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_ZetaKernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_airy_ai.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_bessel_j0.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_bessel_j1.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_bessel_y0.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_bessel_y1.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_chebyshev_polynomial_t.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_chebyshev_polynomial_u.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_chebyshev_polynomial_v.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_chebyshev_polynomial_w.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_fused_adam_amsgrad_impl.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_fused_adam_impl.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_group_norm_kernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_hermite_polynomial_h.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_hermite_polynomial_he.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_laguerre_polynomial_l.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_layer_norm_kernel.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_legendre_polynomial_p.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_modified_bessel_i0.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_modified_bessel_i1.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_modified_bessel_k0.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_modified_bessel_k1.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_scaled_modified_bessel_k0.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_scaled_modified_bessel_k1.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_shifted_chebyshev_polynomial_t.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_shifted_chebyshev_polynomial_u.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_shifted_chebyshev_polynomial_v.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_shifted_chebyshev_polynomial_w.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/torch_hip_generated_spherical_bessel_j0.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/nested/hip/torch_hip_generated_NestedTensorTransformerFunctions.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/sparse/hip/torch_hip_generated_SoftMax.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/sparse/hip/torch_hip_generated_SparseCsrTensorMath.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/sparse/hip/torch_hip_generated_SparseHIPTensor.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/sparse/hip/torch_hip_generated_SparseHIPTensorMath.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/sparse/hip/torch_hip_generated_SparseMatMul.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/quantized/hip/torch_hip_generated_Activation.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/quantized/hip/torch_hip_generated_AffineQuantizer.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/quantized/hip/torch_hip_generated_EmbeddingBag.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/quantized/hip/torch_hip_generated_FakeQuantizeCore.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/quantized/hip/torch_hip_generated_FusedObsFakeQuant.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/quantized/hip/torch_hip_generated_IntReprQuant.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/quantized/hip/torch_hip_generated_MakePerTensorQuantizedTensor.hip.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/transformers/hip/torch_hip_generated_attention.hip.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/distributed/c10d/quantization/torch_hip_generated_quantization_gpu.cu.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/miopen/BatchNorm_miopen.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/miopen/Conv_miopen.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/miopen/RNN_miopen.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/cudnn/hip/AffineGridGenerator.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/cudnn/hip/BatchNorm.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/cudnn/hip/ConvPlaceholders.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/cudnn/hip/ConvShared.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/cudnn/hip/Conv_v7.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/cudnn/hip/Conv_v8.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/cudnn/hip/GridSampler.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/cudnn/hip/LossCTC.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/cudnn/hip/RNN.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/miopen/Descriptors.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/miopen/Handle.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/miopen/Types.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/nested/hip/NestedTensorTransformerFunctions.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/sparse/hip/SparseBlas.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/sparse/hip/SparseBlasImpl.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/sparse/hip/SparseBlasLegacy.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/sparse/hip/SparseHIPBlas.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/sparse/hip/SparseHIPTensor.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/quantized/hip/Activation.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/quantized/cudnn/hip/BinaryOps.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/quantized/cudnn/hip/Conv.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/quantized/cudnn/hip/ConvPrepack.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/quantized/cudnn/hip/ConvUnpackImpl.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/quantized/cudnn/hip/Linear.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/quantized/cudnn/hip/LinearPrepack.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/quantized/cudnn/hip/LinearUnpackImpl.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/quantized/cudnn/hip/Pooling.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/hip/CachingHostAllocator.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/hip/CuSparseHandlePool.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/hip/CublasHandlePool.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/hip/EmptyTensor.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/hip/Exceptions.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/hip/HIPBlas.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/hip/HIPContext.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/hip/HIPGeneratorImpl.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/hip/HIPGraph.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/hip/HIPSparseBlas.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/hip/HIPSparseDescriptors.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/hip/PeerToPeerAccess.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/hip/PinnedMemoryAllocator.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/hip/detail/HIPHooks.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/hip/impl/HIPCachingAllocatorMasqueradingAsCUDA.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/hip/impl/HIPGuardImplMasqueradingAsCUDA.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/hip/llvm_basic.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/hip/llvm_complex.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/Activation.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/Blas.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/Distributions.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/Equal.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/GridSampler.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/IndexKernel.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/LinearAlgebraStubs.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/ReduceOps.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/Resize.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/ScanKernels.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/Sort.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/Sorting.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/SpectralOps.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/TensorCompare.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/TensorModeKernel.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/TensorShapeHIP.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/TensorTopK.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/jit_utils.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/linalg/BatchLinearAlgebra.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/linalg/BatchLinearAlgebraLib.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/linalg/CusolverDnHandlePool.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/native/hip/linalg/HIPSolver.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/RegisterCUDA.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/RegisterNestedTensorCUDA.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/RegisterQuantizedCUDA.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/RegisterSparseCUDA.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/aten/src/ATen/RegisterSparseCsrCUDA.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/CudaIPCTypes.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/cuda/comm.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/cuda/memory_snapshot.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/fuser/cuda/fused_kernel.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/profiler/cuda.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/autograd/functions/comm.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/arith.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/compute_at.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/inline_propagator.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/compute_at_map.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/codegen.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/contiguity.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/dispatch.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/expr_evaluator.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/executor.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/executor_kernel_arg.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/executor_launch_params.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/evaluator_common.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/executor_utils.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/fusion.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/graph_fuser.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/grouped_reduction.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/index_compute.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/lower_index_compute.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/instrumentation.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/ir_base_nodes.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/ir_builder.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/ir_cloner.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/ir_container.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/ir_graphviz.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/ir_nodes.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/ir_iostream.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/ir_utils.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/iter_visitor.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/kernel.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/kernel_cache.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/kernel_expr_evaluator.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/kernel_ir.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/kernel_ir_dispatch.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/lower_alias_memory.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/lower_allocation.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/lower_double_buffer.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/lower_expr_sort.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/lower_fused_reduction.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/lower_fusion_simplifier.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/lower_index.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/lower_index_hoist.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/lower_insert_syncs.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/lower_instrument.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/lower_loops.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/lower_magic_zero.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/lower_misaligned_vectorization.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/lower_predicate.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/lower_predicate_elimination.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/lower_replace_size.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/lower_shift.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/lower_sync_information.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/lower_thread_predicate.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/lower_trivial_broadcast.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/lower_trivial_reductions.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/lower_unroll.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/lower_utils.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/lower_validation.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/lower_warp_reduce.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/lower2device.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/manager.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/maxinfo_propagator.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/mutator.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/non_divisible_split.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/ops/alias.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/ops/composite.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/ops/normalization.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/parallel_dimension_map.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/parallel_type_bitmap.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/parser.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/partial_split_map.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/partition.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/predicate_compute.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/python_frontend/fusion_cache.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/python_frontend/fusion_definition.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/python_frontend/fusion_interface.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/register_interface.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/root_domain_map.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/scheduler/pointwise.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/scheduler/pointwise_utils.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/scheduler/transpose.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/scheduler/normalization.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/scheduler/reduction.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/scheduler/matmul.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/scheduler/reduction_utils.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/scheduler/registry.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/scheduler/utils.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/type_inference.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/type_promotion.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/fusion_segmenter.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/tensor_view.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/transform_iter.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/transform_replay.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/transform_rfactor.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/transform_view.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/type.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/utils.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/mma_type.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/codegen/cuda/scheduler/mma_utils.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/passes/frozen_conv_add_relu_fusion_cuda.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/tensorexpr/cuda_codegen.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/jit/runtime/register_cuda_ops.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/cuda/nccl.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/distributed/c10d/reducer_cuda.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/distributed/c10d/NCCLUtils.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/distributed/c10d/ProcessGroupNCCL.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/distributed/c10d/ProcessGroupUCC.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/distributed/c10d/UCCTracing.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/distributed/c10d/UCCUtils.cpp.o caffe2/CMakeFiles/torch_hip.dir/__/torch/csrc/distributed/rpc/tensorpipe_cuda.cpp.o  -Wl,-rpath,/home/guilherme/pytorch/build/lib:/opt/rocm/hip/lib:/opt/rocm-5.4.3/lib:/opt/rocm/roctracer/lib:/opt/rocm/rccl/lib:/opt/rocm/lib:/usr/lib/x86_64-linux-gnu/openmpi/lib:  lib/libc10_hip.so  /opt/rocm/hip/lib/libamdhip64.so  /opt/rocm-5.4.3/lib/libMIOpen.so.1.0.50403  /opt/rocm/hip/lib/libamdhip64.so  /opt/rocm/roctracer/lib/libroctx64.so  /opt/rocm-5.4.3/lib/librocblas.so.0.1.50403  /opt/rocm-5.4.3/lib/libhipfft.so  /opt/rocm-5.4.3/lib/libhiprand.so.1.1.50403  /opt/rocm-5.4.3/lib/libhipsparse.so.0.1.50403  lib/libgloo_hip.a  /opt/rocm/rccl/lib/librccl.so  lib/libc10.so  -Wl,--no-as-needed,"/home/guilherme/pytorch/build/lib/libtorch_cpu.so" -Wl,--as-needed  lib/libprotobuf.a  -pthread  /usr/lib/x86_64-linux-gnu/librt.so  /opt/rocm/lib/libamdhip64.so.5.4.50403  /opt/rocm/llvm/lib/clang/15.0.0/lib/linux/libclang_rt.builtins-x86_64.a  /opt/rocm/hip/lib/libamdhip64.so  -lrccl  -ldl  -lrt  lib/libgloo.a  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi_cxx.so  /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so  -lpthread  -Wl,-rpath-link,/opt/rocm-5.4.3/lib && :
/usr/bin/ld: não foi possível localizar -lrccl
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
```
I did not build ROCm from source. I'm not sure what is causing this error.

Thanks in advance.

### Versions

Collecting environment information...
PyTorch version: N/A
Is debug build: N/A
CUDA used to build PyTorch: N/A
ROCM used to build PyTorch: N/A

OS: Ubuntu 20.04.5 LTS (x86_64)
GCC version: (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
Clang version: Could not collect
CMake version: version 3.25.0
Libc version: glibc-2.31

Python version: 3.8.10 (default, Mar 13 2023, 10:26:41)  [GCC 9.4.0] (64-bit runtime)
Python platform: Linux-5.15.0-52-generic-x86_64-with-glibc2.29
Is CUDA available: N/A
CUDA runtime version: Could not collect
CUDA_MODULE_LOADING set to: N/A
GPU models and configuration: Could not collect
Nvidia driver version: Could not collect
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: N/A

CPU:
Arquitetura:                     x86_64
Modo(s) operacional da CPU:      32-bit, 64-bit
Ordem dos bytes:                 Little Endian
Address sizes:                   39 bits physical, 48 bits virtual
CPU(s):                          12
Lista de CPU(s) on-line:         0-11
Thread(s) per núcleo:            2
Núcleo(s) por soquete:           6
Soquete(s):                      1
Nó(s) de NUMA:                   1
ID de fornecedor:                GenuineIntel
Família da CPU:                  6
Modelo:                          165
Nome do modelo:                  Intel(R) Core(TM) i5-10400F CPU @ 2.90GHz
Step:                            3
CPU MHz:                         2900.000
CPU MHz máx.:                    4300,0000
CPU MHz mín.:                    800,0000
BogoMIPS:                        5799.77
Virtualização:                   VT-x
cache de L1d:                    192 KiB
cache de L1i:                    192 KiB
cache de L2:                     1,5 MiB
cache de L3:                     12 MiB
CPU(s) de nó0 NUMA:              0-11
Vulnerability Itlb multihit:     KVM: Mitigation: VMX disabled
Vulnerability L1tf:              Not affected
Vulnerability Mds:               Not affected
Vulnerability Meltdown:          Not affected
Vulnerability Mmio stale data:   Mitigation; Clear CPU buffers; SMT vulnerable
Vulnerability Retbleed:          Mitigation; Enhanced IBRS
Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp
Vulnerability Spectre v1:        Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:        Mitigation; Enhanced IBRS, IBPB conditional, RSB filling, PBRSB-eIBRS SW sequence
Vulnerability Srbds:             Mitigation; Microcode
Vulnerability Tsx async abort:   Not affected
Opções:                          fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d arch_capabilities

Versions of relevant libraries:
[pip3] mypy-extensions==0.4.3
[pip3] numpy==1.24.3
[pip3] pytorch-triton-rocm==2.0.0
[pip3] torchaudio==0.13.1+rocm5.2
[pip3] torchvision==0.14.1+rocm5.2
[pip3] triton==2.0.0
[conda] Could not collect


cc @malfet @seemethere @jeffdaily @sunway513 @jithunnair-amd @pruthvistony @ROCmSupport