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

Error with building with CMake #137

Open
alex-haozheng opened this issue Apr 6, 2023 · 1 comment
Open

Error with building with CMake #137

alex-haozheng opened this issue Apr 6, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@alex-haozheng
Copy link

Describe the bug
Hello! I am trying to build marius using CMake however when I try to build marius_train / marius_eval, I get an error message about some undefined references to some Python libraries. (i.e. PyInstanceMethod_Type, PyObject_SetAttrString, PyCapsule_Type, just to list a couple)

To Reproduce
Steps to reproduce the behavior:

  1. load cuda and cmake and appropriate torch
  2. start a virtual environment
  3. cd into the marius/build
  4. run cmake ..
  5. run make
  6. see error
@alex-haozheng alex-haozheng added the bug Something isn't working label Apr 6, 2023
@rogerwaleffe
Copy link
Collaborator

rogerwaleffe commented Jul 20, 2023

Thanks for posting your question and sorry for the delayed response! It looks like those errors are do to linking issues, but it's hard to say for sure what is the cause.

We have updated the dependency versions and installation over the last couple months. Can you try to build again with the latest main branch? We have also included new recommended install instructions using docker here which may be helpful: https://github.com/marius-team/marius/tree/main/examples/docker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants