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

Failure to hardlink files #2

Open
krosenfeld-IDM opened this issue Nov 18, 2024 · 2 comments
Open

Failure to hardlink files #2

krosenfeld-IDM opened this issue Nov 18, 2024 · 2 comments
Assignees

Comments

@krosenfeld-IDM
Copy link
Collaborator

Following @clorton 's instructions for installing:

pip3 install uv
uv venv
source .venv/bin/activate
uv pip install llvmlite numba

I get a warning with the llmvmlite and numba install:

warning: Failed to hardlink files; falling back to full copy. This may lead to degraded performance.
         If the cache and target directories are on different filesystems, hardlinking may not be supported.
         If this is intentional, set `export UV_LINK_MODE=copy` or use `--link-mode=copy` to suppress this warning.
@clorton
Copy link
Contributor

clorton commented Nov 18, 2024

I thought this would be solved with a dependency change in laser-core but it hasn't entirely solved the problem.

  • the current default Codespace has NumPy 2.x installed which causes Numba grief.
  • One option is to pip uninstall -y numpy==2.1.1 (use pip list | grep numpy to determine the actual version of Numpy) and then pip install --upgrade -e . to get laser-measles dependencies installed.

@clorton clorton self-assigned this Nov 18, 2024
@krosenfeld-IDM
Copy link
Collaborator Author

It looked like numba had planned to have a NP2 compatible version in June 2024 but doesn't look so. Haven't sussed out the current status / trajectory:
https://numba.discourse.group/t/communicating-numpy-2-0-changes-to-numba-users/2457

clorton pushed a commit that referenced this issue Nov 23, 2024
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

2 participants