bonito icon indicating copy to clipboard operation
bonito copied to clipboard

Builds for Cuda 11.4

Open JudoWill opened this issue 3 years ago • 5 comments

I'm trying to get Bonito to work on my machine but I'm having version issues. Is there a build for CUDA 11.4? Or instructions to build the library for different versions? It seems like there are a few ont dependencies that rely on cuda 11.1 and CUDA builds aren't something that can easily by isolated into virtual environments.

JudoWill avatar Sep 16 '21 15:09 JudoWill

PyTorch only provides prebuilt versions against CUDA 10.2 and 11.1 right now, so that's the main driver here - you can install CUDA 11.1 alongside 11.4 however.

iiSeymour avatar Sep 16 '21 15:09 iiSeymour

If one was to be unable to install either of those cuda version and had available cuda versions 10.1, 11.0, 11.2, and 11.4. And if one also had access to the following versions of pytorch 1.4, 1.5, 1.9. Is there a way of getting Bonito installed and running?

I am using a HPC where I don't have the access to sudo and am limited in what I can install and how.

Thanks.

fergsc avatar Nov 11 '21 04:11 fergsc

Same here, we are using an HPC where CUDA versions 11.0.2 and 11.3.1 are available. also for local installs and future developments instructions to build for other CUDA versions would be nice.

vdejager avatar Nov 16 '21 09:11 vdejager

CUDA 11.3 builds are now available ont-bonito-cuda113.

iiSeymour avatar Dec 09 '21 14:12 iiSeymour

@iiSeymour

Hi, I get an error trying to install ont-bonito-cuda113:

pip install -f https://download.pytorch.org/whl/torch_stable.html ont-bonito-cuda113
Looking in links: https://download.pytorch.org/whl/torch_stable.html
Collecting ont-bonito-cuda113
  Using cached ont-bonito-cuda113-0.5.0.tar.gz (48 kB)
  Preparing metadata (setup.py) ... done
  WARNING: Generating metadata for package ont-bonito-cuda113 produced metadata for project name ont-bonito. Fix your #egg=ont-bonito-cuda113 fragments.
WARNING: Discarding https://files.pythonhosted.org/packages/73/27/18b8267c6d8b9f7ccfc9bc1f97401e0d80f812e1e6c2870ebb8f6abbb79e/ont-bonito-cuda113-0.5.0.tar.gz#sha256=04ba8da0da16829f5929f2c33cf75389a4fca40e7fcae7ef28b9371743dbc166 (from https://pypi.org/simple/ont-bonito-cuda113/). Requested ont-bonito from https://files.pythonhosted.org/packages/73/27/18b8267c6d8b9f7ccfc9bc1f97401e0d80f812e1e6c2870ebb8f6abbb79e/ont-bonito-cuda113-0.5.0.tar.gz#sha256=04ba8da0da16829f5929f2c33cf75389a4fca40e7fcae7ef28b9371743dbc166 has inconsistent name: filename has 'ont-bonito-cuda113', but metadata has 'ont-bonito'
ERROR: Could not find a version that satisfies the requirement ont-bonito-cuda113 (from versions: 0.5.0a0, 0.5.0)
ERROR: No matching distribution found for ont-bonito-cuda113

Are CUDA 11.4 builds in the works? Alternatively, is there a workaround allowing a bonito build to work with 11.4?

AAnnan avatar Dec 10 '21 10:12 AAnnan