OpenChatKit icon indicating copy to clipboard operation
OpenChatKit copied to clipboard

Can't install nccl package

Open tjarmain opened this issue 2 years ago • 5 comments

Describe the bug When trying to set up the conda environment, it is failing to install the nccl package.

(base) PS D:\OpenChatKit> conda env create -f environment.yml
Collecting package metadata (repodata.json): done
Solving environment: failed

ResolvePackageNotFound:
  - nccl=2.12.12.1

To Reproduce Steps to reproduce the behavior:

  1. Enter conda env create -f environment.yml

Expected behavior It should install all of the packages

Desktop (please complete the following information):

  • Windows 11 Pro

tjarmain avatar Mar 12 '23 03:03 tjarmain

It looks like NVIDIA's nccl only supports Linux, I'm sorry. I don't see any packages built for Windows on conda-forge.

csris avatar Mar 12 '23 08:03 csris

@tjarmain I had the same problem. If you're on Windows you need to use WSL to resolve the nccl issue.

davismartens avatar Mar 12 '23 20:03 davismartens

Thanks for responding, @davismartens!

csris avatar Mar 13 '23 00:03 csris

@tjarmain Hey so, I believe I did activate WSL however it's still bringing me to that error, do I have to open the WSL terminal?

I did that and after some realizing the mamba command since it's installed by Anaconda, really only works in the Anaconda terminal, how would I go to solve this?

EntropicBlackhole avatar Mar 20 '23 22:03 EntropicBlackhole

@EntropicBlackhole you need install everything on ubuntu (through wsl). You should be able to open an ubuntu terminal in vsc or directly from windows start. Wsl is a subsystem meaning you're running Linux on windows. It won't work if you you the standard Windows terminals.

davismartens avatar Mar 20 '23 22:03 davismartens