Skip to content
This repository was archived by the owner on Mar 4, 2026. It is now read-only.
This repository was archived by the owner on Mar 4, 2026. It is now read-only.

Build torch-ccl failed #131

Open
Open

Description

@fred-cell

https://github.com/IntelAI/models/blob/master/docs/general/pytorch/BareMetalSetup.md
when I installed torch-ccl according guide as below:
git clone https://github.com/intel-innersource/frameworks.ai.pytorch.torch-ccl.git
cd frameworks.ai.pytorch.torch-ccl && git checkout ccl_torch_1.13
git submodule sync
git submodule update --init --recursive
python setup.py install
there are some errors in setup step:
-- The C compiler identification is GNU 11.3.0
-- The CXX compiler identification is GNU 11.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at /home/fred/anaconda3/envs/ipex-training/lib/python3.9/site-packages/torch/share/cmake/Torch/TorchConfig.cmake:68 (find_package):
Could not find a package configuration file provided by "Caffe2" with any
of the following names:

Caffe2Config.cmake
caffe2-config.cmake

Add the installation prefix of "Caffe2" to CMAKE_PREFIX_PATH or set
"Caffe2_DIR" to a directory containing one of the above files. If "Caffe2"
provides a separate development package or SDK, be sure it has been
installed.
Call Stack (most recent call first):
CMakeLists.txt:27 (find_package)

Activity

  1. added a commit that references this issue on Feb 20, 2024
  2. sramakintel commented on Mar 25, 2024

    @sramakintel
    Contributor

    @fred-cell can you try the latest build for torch-ccl from here: https://github.com/intel/torch-ccl ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions