Skip to content

Commit

Permalink
A couple more.
Browse files Browse the repository at this point in the history
  • Loading branch information
stellaraccident committed Feb 5, 2024
1 parent bb97f31 commit fefa7c1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ please reach out to us on the `#turbine` channel of the

```
pip install shark-turbine
# Or editable: pip install -e .
# Or editable: pip install -e core
```

The above does install some unecessary cuda/cudnn packages for cpu use. To avoid this you
can specify pytorch-cpu and install via:
```
pip install --index-url https://download.pytorch.org/whl/cpu \
-r pytorch-cpu-requirements.txt \
-r torchvision-requirements.txt
-r core/pytorch-cpu-requirements.txt \
-r core torchvision-requirements.txt
pip install shark-turbine
```

Expand Down Expand Up @@ -87,14 +87,14 @@ versions and has all flags. This can be installed prior to the package:
Installing into a venv is highly recommended.

```
pip install --upgrade -r requirements.txt
pip install --upgrade -e .[torch-cpu-nightly,testing]
pip install --upgrade -r core/requirements.txt
pip install --upgrade -e core[torch-cpu-nightly,testing]
```

Run tests:

```
pytest
pytest core/
```

### Using a development compiler
Expand Down

0 comments on commit fefa7c1

Please sign in to comment.