TransformerLensOrg / CircuitsVis

Mechanistic Interpretability Visualizations using React
https://alan-cooney.github.io/CircuitsVis/
MIT License
192 stars 29 forks source link

devcontainer fails to install nvidia-cublas-cu11 #19

Closed danbraunai closed 1 year ago

danbraunai commented 1 year ago

When building the dev container locally (Mac M1), I get:

  RuntimeError

  Unable to find installation candidates for nvidia-cuda-nvrtc-cu11 (11.7.99)

  at ~/.local/share/pypoetry/venv/lib/python3.10/site-packages/poetry/installation/chooser.py:103 in choose_for
       99│ 
      100│             links.append(link)
      101│ 
      102│         if not links:
    → 103│             raise RuntimeError(f"Unable to find installation candidates for {package}")
      104│ 
      105│         # Get the best link
      106│         chosen = max(links, key=lambda link: self._sort_key(package, link))
      107│ 

  • Installing nvidia-cuda-runtime-cu11 (11.7.99): Failed

I'm guessing the build works on the github codespace servers with GPUs, but it would be nice not to require a GPU to build.

alan-cooney commented 1 year ago

This is a PyTorch bug unfortunately - they have a fix at https://github.com/pytorch/pytorch/pull/89924/files but it hasn't been merged yet (essentially 1.13 doesn't specify the correct markers). For now a change to the lockfile should fix this - so I'll merge that in