You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+44-7Lines changed: 44 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,15 +40,20 @@ The requirements are:
40
40
- A compiler that fully supports C++17, such as clang or gcc (gcc 9.4.0 or newer is required, but gcc 12.x is not supported yet)
41
41
- Python 3.9 or later
42
42
- PyTorch 1.8 or later
43
-
- CUDA Toolkit 11.8 or 12.1 (optional, for CUDA accelerated layers)
44
43
45
-
For more detailed information, you can check the [requirements of PyTorch](https://github.com/pytorch/pytorch?tab=readme-ov-file#prerequisites).
44
+
Please check your operating system's options for the C++ compiler.
45
+
For more detailed information, you can check the [requirements to build PyTorch from source](https://github.com/pytorch/pytorch?tab=readme-ov-file#prerequisites).
46
+
In addition, for layers to speed up on specific hardware (such as CUDA devices, or MacOS M1/2/3 chips), we recommend installing:
47
+
48
+
- CUDA Toolkit 11.8 or 12.1 for CUDA accelerated layers
49
+
-**[MLX](https://github.com/ml-explore/mlx)** for mlx-based layers on MacOS
50
+
-**[CUTLASS](https://github.com/NVIDIA/cutlass)** for cutlass-based layers
46
51
47
52
Currently, the engine **needs to be built from source**.
48
-
We provide instructions how to install Python/PyTorch (and CUDA/MLX) for:
53
+
We provide instructions for the following options:
49
54
50
-
- Conda + Linux (with CUDA)
51
-
- Docker (with CUDA)
55
+
- Conda + Linux (with CUDA and cutlass)
56
+
- Docker (with CUDA and cutlass)
52
57
- Conda + MacOS (with MLX)
53
58
54
59
We recommend managing your BITorch Engine installation in a conda environment (otherwise you should adapt/remove certain variables, e.g. `CUDA_HOME`).
@@ -57,6 +62,8 @@ You may wish to adapt the CUDA version to 12.1 where applicable.
57
62
58
63
### Conda on Linux (with CUDA)
59
64
65
+
To use these instructions, you need to have [conda](https://conda.io/projects/conda/en/latest/user-guide/getting-started.html) and a suitable C++ compiler installed.
66
+
60
67
1. Create Environment for Python 3.9 and activate it:
0 commit comments