Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build with new version of PyTorch fails #28

Open
davesean opened this issue Aug 30, 2021 · 0 comments
Open

Build with new version of PyTorch fails #28

davesean opened this issue Aug 30, 2021 · 0 comments

Comments

@davesean
Copy link

Due to the limitations of the PyTorch version of the prebuilt container, I wanted to build it myself by running:
docker build -t euclides_package package/

Even after modifying the whole Dockerfile, I can't get it to create the container successfully. Latest error was

CMake Error at CMakeLists.txt:31 (find_package):
By not providing "FindTorch.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Torch", but
CMake did not find one.

Could not find a package configuration file provided by "Torch" with any of
the following names:

TorchConfig.cmake
torch-config.cmake

Add the installation prefix of "Torch" to CMAKE_PREFIX_PATH or set
"Torch_DIR" to a directory containing one of the above files. If "Torch"
provides a separate development package or SDK, be sure it has been
installed.

Even when adding these paths to the Dockerfile, it still fails to find them. Has anyone been able to build this container? Could you share your Dockerfile?

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

No branches or pull requests

1 participant