Skip to content

Commit

Permalink
Pin stride version in all the places we specify pip install (#163)
Browse files Browse the repository at this point in the history
* Pin stride version in all the places we specify pip install
* Fix dead link
  • Loading branch information
charlesbmi authored Oct 12, 2023
1 parent 64659ac commit f232428
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- run:
name: Install stride
command: |
poetry run pip install git+https://github.com/trustimaging/stride
poetry run pip install git+https://github.com/trustimaging/stride@2520c59
- restore_cache:
name: Restore docs cache
Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
- run:
name: Install stride
command: |
poetry run pip install git+https://github.com/trustimaging/stride
poetry run pip install git+https://github.com/trustimaging/stride@2520c59
- run:
name: Build docs
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
run: poetry install --no-interaction --no-root

- name: Install stride
run: poetry run pip install git+https://github.com/trustimaging/stride
run: poetry run pip install git+https://github.com/trustimaging/stride@2520c59

- name: Install napari
run: poetry run pip install "napari[all,pyqt6_experimental]"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
run: poetry install --no-interaction --no-root

- name: Install stride
run: poetry run pip install git+https://github.com/trustimaging/stride
run: poetry run pip install git+https://github.com/trustimaging/stride@2520c59

- name: Install neurotechdevkit
run: poetry install --only-root
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ RUN python3 -m venv ./venv && \

ENV POETRY_VIRTUALENVS_CREATE=false
RUN ./venv/bin/poetry install && \
./venv/bin/pip install git+https://github.com/trustimaging/stride
./venv/bin/pip install git+https://github.com/trustimaging/stride@2520c59

FROM python:3.10.0-slim

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile-gpu
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN python3 -m venv ./venv && \

ENV POETRY_VIRTUALENVS_CREATE=false
RUN ./venv/bin/poetry install && \
./venv/bin/pip install git+https://github.com/trustimaging/stride
./venv/bin/pip install git+https://github.com/trustimaging/stride@2520c59


FROM nvcr.io/nvidia/nvhpc:23.5-devel-cuda_multi-ubuntu22.04
Expand Down
2 changes: 1 addition & 1 deletion docs/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ This will resolve and install the dependencies from `poetry.lock` and will insta
Install stride with:

```bash
$ poetry run pip install git+https://github.com/trustimaging/stride
$ poetry run pip install git+https://github.com/trustimaging/stride@2520c59
```

Follow the steps described in [Setting up a compiler](installation.md#setting-up-a-compiler).
Expand Down
4 changes: 2 additions & 2 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ pip install neurotechdevkit
You also have to install stride, it can be done running:

```bash
pip install git+https://github.com/trustimaging/stride
pip install git+https://github.com/trustimaging/stride@2520c59
```

## Setting up a compiler

NDK uses [devito](https://www.devitoproject.org/devito/) to perform the heavy computational operations. Devito generates, compiles and runs C code to achieve better performance.
NDK uses [devito](https://www.devitoproject.org/) to perform the heavy computational operations. Devito generates, compiles and runs C code to achieve better performance.
The compiler used by Devito has to be selected, and paths for the linker might also be added as environment variables.

As a last step **before running NDK**, follow the instructions below depending on your OS.
Expand Down

0 comments on commit f232428

Please sign in to comment.