bitsandbytes icon indicating copy to clipboard operation
bitsandbytes copied to clipboard

[docs] Install from source

Open stevhliu opened this issue 10 months ago • 1 comments

From an internal discussion, it may make more sense to split off compilation instructions into it's own section because it's pretty much the same on Linux/Windows, and so we can add more details. Feel free to discuss and suggest what we can add, and we can iterate on this PR! 🙂

cc @matthewdouglas @akx @Titus-von-Koeller if you have any ideas about other things we can add here

stevhliu avatar Mar 26 '24 19:03 stevhliu

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

github-actions[bot] avatar Mar 26 '24 19:03 github-actions[bot]

Some info we can add regarding validated compilers.

The v0.43.0 release is known to build on:

Windows: MSVC 19.38+ (VS2022 17.8.0+) with CUDA 11.7-12.4 Linux: GCC 11.4 (with CUDA 11.7-12.3), 13.2 (with CUDA 12.4+)

Other notes:

  • Linux: Expected CUDA Toolkit compatibility is currently with 11.1+.
  • Linux: GCC >= 7.3 recommended. GCC >= 6 is required.
  • Linux: CUDA Toolkit >= 11.4.1 is required when building with GCC >= 11.
  • Linux: CUDA Toolkit >= 12.0 is required when building with GCC >= 12.
  • Linux: CUDA Toolkit >= 12.4 is required when building with GCC >= 13.
  • Windows: CUDA Toolkit >= 11.6 is required when building with MSVC 19.30+ (VS2022).

matthewdouglas avatar Mar 31 '24 15:03 matthewdouglas

Thanks, I've added that info as a table in the installation

stevhliu avatar Apr 08 '24 18:04 stevhliu

Great, thank you all, this is looking very good. I'm happy that we have more details here now, I think this is important, so that we properly cover the edge-cases.

Titus-von-Koeller avatar Apr 09 '24 09:04 Titus-von-Koeller