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: docs/e2e.md
+8-1
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,9 @@
5
5
## On KinD clusters
6
6
Pre-requisite for KinD clusters: please add in your local `/etc/hosts` file `127.0.0.1 kind`. This will map your localhost IP address to the KinD cluster's hostname. This is already performed on [GitHub Actions](https://github.com/project-codeflare/codeflare-common/blob/1edd775e2d4088a5a0bfddafb06ff3a773231c08/github-actions/kind/action.yml#L70-L72)
7
7
8
+
If the system you run on contains NVidia GPU then you can enable the GPU support in KinD, this will allow you to run also GPU tests.
9
+
To enable GPU on KinD follow [these instructions](https://www.substratus.ai/blog/kind-with-gpus).
10
+
8
11
- Setup Phase:
9
12
- Pull the [codeflare-operator repo](https://github.com/project-codeflare/codeflare-operator) and run the following make targets:
10
13
```
@@ -66,7 +69,11 @@ Pre-requisite for KinD clusters: please add in your local `/etc/hosts` file `127
66
69
poetry install --with test,docs
67
70
poetry run pytest -v -s ./tests/e2e/mnist_raycluster_sdk_test.py
68
71
```
69
-
72
+
- If the cluster doesn't have NVidia GPU support then we need to disable NVidia GPU tests by providing proper marker:
73
+
```
74
+
poetry install --with test,docs
75
+
poetry run pytest -v -s ./tests/e2e/mnist_raycluster_sdk_test.py -m 'kind and not nvidia_gpu'
0 commit comments