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 1cda034a52bb4d691a699241894227fc2966c810 commit finished as FAILURE
Links: Blue Ocean view / Build artifacts

Detected error during Pytorch building:

[5459/7991] Building CXX object third_party/ideep/mkl-dnn/src/graph/backend/dnnl/CMakeFiles/dnnl_graph_backend_dnnl.dir/kernels/sdp_primitive.cpp.o
[5460/7991] Building CXX object third_party/ideep/mkl-dnn/src/graph/backend/dnnl/CMakeFiles/dnnl_graph_backend_dnnl.dir/op_executable.cpp.o
[5461/7991] Building CXX object third_party/ideep/mkl-dnn/src/graph/backend/dnnl/CMakeFiles/dnnl_graph_backend_dnnl.dir/kernels/select.cpp.o
[5462/7991] Building CXX object third_party/fmt/CMakeFiles/fmt.dir/src/os.cc.o
[5463/7991] 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 -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;
      |               ^~~~~~~~~~

@jithunnair-amd jithunnair-amd changed the title [AUTOGENERATED] [rocm6.5_internal_testing] [release/2.6] Remove --no-index and --no-deps flags [AUTOGENERATED] [rocm6.5_internal_testing] Remove --no-index and --no-deps flags May 13, 2025
@ethanwee1 ethanwee1 marked this pull request as ready for review May 13, 2025 16:01
@jithunnair-amd jithunnair-amd merged commit 1dea6e8 into rocm6.5_internal_testing May 13, 2025
0 of 2 checks passed
@jithunnair-amd jithunnair-amd deleted the autogenerated/rocm6.5_internal_testing_cherry-pick_pr-2103 branch May 13, 2025 18:14
pragupta pushed a commit that referenced this pull request Oct 29, 2025
…-deps flags (#2121)

Cherry-pick of #2103

Co-authored-by: Ethan Wee <Ethan.Wee@amd.com>
(cherry picked from commit 1dea6e8)
pragupta pushed a commit that referenced this pull request Oct 29, 2025
…-deps flags (#2121)

Cherry-pick of #2103

Co-authored-by: Ethan Wee <Ethan.Wee@amd.com>
(cherry picked from commit 1dea6e8)
pragupta pushed a commit that referenced this pull request Oct 29, 2025
…-deps flags (#2121)

Cherry-pick of #2103

Co-authored-by: Ethan Wee <Ethan.Wee@amd.com>
(cherry picked from commit 1dea6e8)
pragupta pushed a commit that referenced this pull request Oct 31, 2025
…-deps flags (#2121)

Cherry-pick of #2103

Co-authored-by: Ethan Wee <Ethan.Wee@amd.com>
(cherry picked from commit 1dea6e8)
jithunnair-amd pushed a commit that referenced this pull request Nov 3, 2025
…-deps flags (#2121)

Cherry-pick of #2103

Co-authored-by: Ethan Wee <Ethan.Wee@amd.com>
(cherry picked from commit 1dea6e8)
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