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
[](https://github.com/instadeepai/mlipaudit/actions/workflows/tests_and_linters.yaml)
[](https://github.com/instadeepai/mlipaudit/actions/workflows/tests_and_linters.yaml)
8
8
9
9
## ⚠️ Disclaimer
10
10
@@ -127,9 +127,9 @@ Especially, check out the
127
127
documentation for details on the available functions.
128
128
129
129
You can use these functions to build your own benchmarking script and GUI pages for our
130
-
app. For inspiration, we recommend to take a look at the main scripts for
131
-
these tools in this repo, located at `src/mlipaudit/main.py` and
132
-
`src/mlipaudit/app.py`, respectively.
130
+
app. For inspiration, we recommend to take a look at the main script located
131
+
at `src/mlipaudit/main.py` and the implementation of the GUI located at
132
+
`src/mlipaudit/app.py`.
133
133
134
134
## 🤗 Data
135
135
@@ -150,29 +150,30 @@ this library.
150
150
To work directly in this repository, run
151
151
152
152
```bash
153
-
uv sync --all-groups
153
+
uv sync --extra cuda
154
154
```
155
155
156
156
to set up the environment, as this repo uses [uv](https://docs.astral.sh/uv/) for
157
157
package and dependency management.
158
158
159
-
This command installs all dependency groups. We recommend to check out
160
-
the `pyproject.toml` file for information on the available groups. Most notably,
161
-
the group`cuda` installs the GPU-ready version of JAX which are strongly recommended.
162
-
If you do not want to install the `cuda`dependency group (for example, because you are
163
-
on MacOS that does not support this standard installation), you can use the
164
-
`--no-group cuda` option in the [uv](https://docs.astral.sh/uv/) command.
159
+
This command installs the main and dev dependency groups. We recommend to check out
160
+
the `pyproject.toml` file for more information. Furthermore,
161
+
the extra`cuda` installs the GPU-ready version of JAX which is strongly recommended.
162
+
If you do not want to install the `cuda`extra (for example, because you are
163
+
on MacOS that does not support this standard installation), you can omit the
164
+
`--extra cuda` option in the [uv](https://docs.astral.sh/uv/) command.
165
165
166
166
When adding new benchmarks, make sure that the following key pieces are added
167
167
for each one:
168
168
* The benchmark implementation (with unit tests)
169
169
* The benchmark UI page (add to existing generic unit test for UI pages)
170
170
* The benchmark documentation
171
-
* A function in `scripts/fetch_element_types.py` that yields the list of elements
172
-
required for the benchmark given the benchmark data
173
171
174
-
For the documentation, you can run the following to build a version of it locally
175
-
to view your changes:
172
+
More information on adding new benchmarks can be found
0 commit comments