Skip to content

Conversation

@okakarpa
Copy link
Collaborator

Cherry-pick of #2103

Removing --no-deps and --no-index flags because the old setuptools was
installing the requirements of the torch wheel along with those of the
torchvision wheel when using the old setuptools version (<80.0.1) and in
versions greater than setuptools 80.0.1, the new setuptools does not
install the requirements of the torch wheel and torchvision wheel.
Resolves
https://ontrack-internal.amd.com/browse/SWDEV-531011

Validation:

http://rocm-ci.amd.com/job/framework-pytorch-2.6-ub22-py3.10-ci_rel-6.4-preview/60/
@rocm-repo-management-api
Copy link

rocm-repo-management-api bot commented May 12, 2025

Jenkins build for 9abbd7c0f23ef832e999fdd33aa1625c821b4a59 commit finished as FAILURE
Links: Blue Ocean view / Build artifacts

Detected error during Pytorch building:

[5532/8063] Building CXX object third_party/ideep/mkl-dnn/src/cpu/x64/CMakeFiles/dnnl_cpu_x64.dir/shuffle/jit_uni_shuffle_kernel.cpp.o
[5533/8063] Building CXX object third_party/ideep/mkl-dnn/src/graph/utils/CMakeFiles/dnnl_graph_utils.dir/alloc.cpp.o
[5534/8063] Building CXX object third_party/ideep/mkl-dnn/src/graph/backend/dnnl/CMakeFiles/dnnl_graph_backend_dnnl.dir/fusion_info.cpp.o
[5535/8063] Building CXX object third_party/ideep/mkl-dnn/src/graph/interface/CMakeFiles/dnnl_graph_interface.dir/op_schema.cpp.o
[5536/8063] Building CXX object third_party/kineto/libkineto/CMakeFiles/kineto_base.dir/src/RocLogger.cpp.o
FAILED: third_party/kineto/libkineto/CMakeFiles/kineto_base.dir/src/RocLogger.cpp.o 
/opt/cache/bin/sccache /opt/cache/bin/c++ -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DIDEEP_USE_MKL -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_ML=1 -DONNX_NAMESPACE=onnx_torch -DROCM_VERSION=60400 -DTORCH_ENABLE_LLVM -DTORCH_HIP_VERSION=604 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -I/opt/rocm-6.4.0/include -I/var/lib/jenkins/pytorch/cmake/../third_party/benchmark/include -I/opt/llvm/include -I/var/lib/jenkins/pytorch/third_party/onnx -I/var/lib/jenkins/pytorch/build/third_party/onnx -I/var/lib/jenkins/pytorch/third_party/kineto/libkineto/include -I/var/lib/jenkins/pytorch/third_party/kineto/libkineto/src -I/var/lib/jenkins/pytorch/third_party/kineto/libkineto/third_party/dynolog -I/var/lib/jenkins/pytorch/third_party/fmt/include -I/var/lib/jenkins/pytorch/third_party/kineto/libkineto/third_party/dynolog/dynolog/src/ipcfabric -I/extras/CUPTI/include -I/include -I/opt/rocm/include/roctracer -I/opt/rocm/include -isystem /var/lib/jenkins/pytorch/build/third_party/gloo -isystem /var/lib/jenkins/pytorch/cmake/../third_party/gloo -isystem /var/lib/jenkins/pytorch/cmake/../third_party/tensorpipe/third_party/libuv/include -isystem /var/lib/jenkins/pytorch/cmake/../third_party/googletest/googlemock/include -isystem /var/lib/jenkins/pytorch/cmake/../third_party/googletest/googletest/include -isystem /var/lib/jenkins/pytorch/third_party/protobuf/src -isystem /opt/conda/envs/py_3.12/include -isystem /var/lib/jenkins/pytorch/third_party/XNNPACK/include -isystem /var/lib/jenkins/pytorch/third_party/ittapi/include -isystem /var/lib/jenkins/pytorch/cmake/../third_party/eigen -isystem /var/lib/jenkins/pytorch/third_party/ideep/mkl-dnn/include/oneapi/dnnl -isystem /var/lib/jenkins/pytorch/third_party/ideep/include -D_GLIBCXX_USE_CXX11_ABI=1 -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -O3 -DNDEBUG -DNDEBUG -std=c++17 -fPIC -DMKL_HAS_SBGEMM -D__HIP_PLATFORM_AMD__=1 -DTORCH_USE_LIBUV -DCAFFE2_USE_GLOO -DHAS_ROCTRACER -D__HIP_PLATFORM_AMD__ -DKINETO_NAMESPACE=libkineto -DFMT_HEADER_ONLY -DENABLE_IPC_FABRIC -std=c++17 -MD -MT third_party/kineto/libkineto/CMakeFiles/kineto_base.dir/src/RocLogger.cpp.o -MF third_party/kineto/libkineto/CMakeFiles/kineto_base.dir/src/RocLogger.cpp.o.d -o third_party/kineto/libkineto/CMakeFiles/kineto_base.dir/src/RocLogger.cpp.o -c /var/lib/jenkins/pytorch/third_party/kineto/libkineto/src/RocLogger.cpp
In file included from /var/lib/jenkins/pytorch/third_party/kineto/libkineto/src/RocLogger.cpp:9:
/var/lib/jenkins/pytorch/third_party/kineto/libkineto/src/RocLogger.h:227:15: error: field ‘kernelName’ has incomplete type ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’}
  227 |   std::string kernelName;
      |               ^~~~~~~~~~

@ethanwee1 ethanwee1 marked this pull request as ready for review May 13, 2025 16:01
@jithunnair-amd jithunnair-amd changed the title [AUTOGENERATED] [rocm6.4_internal_testing] [release/2.6] Remove --no-index and --no-deps flags [AUTOGENERATED] [rocm6.4_internal_testing] Remove --no-index and --no-deps flags May 13, 2025
@jithunnair-amd jithunnair-amd merged commit a8eecb5 into rocm6.4_internal_testing May 13, 2025
0 of 2 checks passed
@jithunnair-amd jithunnair-amd deleted the autogenerated/rocm6.4_internal_testing_cherry-pick_pr-2103 branch May 13, 2025 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants