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: DEV.md
+66-6
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,45 @@
1
-
## Setup notes
1
+
#Developer Quickstart
2
2
3
-
Dorado requires CUDA 11.8 on linux platforms. If the system you are running on does not have CUDA 11.8 installed, and you do not have sudo privileges, you can install locally from a run file as follows:
3
+
## Dependencies
4
+
5
+
### Pre-commit
6
+
7
+
The project uses pre-commit to ensure code is consistently formatted; you can set this up using pip:
8
+
9
+
```bash
10
+
$ pip install pre-commit
11
+
$ pre-commit install
12
+
```
13
+
14
+
### Linux dependencies
15
+
16
+
The following packages are necessary to build Dorado in a barebones environment (e.g. the official ubuntu:jammy Docker image).
This project requires `cmake 3.23` or higher. This can be installed via binary download from [cmake.org](https://cmake.org/download/) or using `python3-venv`:
34
+
35
+
```
36
+
$ apt install python3-venv
37
+
$ python3 -m venv venv
38
+
$ . venv/bin/activate
39
+
$ pip install "cmake>=3.23"
40
+
```
41
+
42
+
Dorado requires CUDA 11.8 on Linux platforms. If the system you are running on does not have CUDA 11.8 installed, and you do not have sudo privileges, you can install locally from a run file as follows:
Note that a [suitable NVIDIA driver](https://docs.nvidia.com/cuda/cuda-toolkit-release-notes/index.html#id3) will be required in order to run dorado.
55
+
Note that a [suitable NVIDIA driver](https://docs.nvidia.com/cuda/cuda-toolkit-release-notes/index.html#id3) will be required in order to run Dorado.
56
+
57
+
All other dependencies will be fetched automatically by the cmake build process.
17
58
18
-
All other dependencies will be fetched automatically by the cmake build process.
19
59
20
60
If libtorch is already downloaded on the host system and you do not wish the build process to re-download it, you can specify `DORADO_LIBTORCH_DIR` to cmake, in order to specify where the build process should locate it. For example:
0 commit comments