Skip to content

Commit

Permalink
Merge pull request #6 from NeilGirdhar/patch-1
Browse files Browse the repository at this point in the history
Use an explicit source
  • Loading branch information
jorenham committed Jul 23, 2023
2 parents 1ab66d7 + 80bbc44 commit 8a6cb40
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,20 @@ https://jorenham.github.io/jax_pep503/
...

[[tool.poetry.source]]
name = "jorenham/jax_pep503"
name = "PyPI"
priority = "primary"

[[tool.poetry.source]]
name = "jax_pep503"
url = "https://jorenham.github.io/jax_pep503/"
secondary = true

priority = "explicit"
...
```

- Now you can add `jax[cuda]` using:

```bash
poetry add jax[cuda]
poetry add --source "jorenham/jax_pep503" jax[cuda]
```

See the [example project](example_project) for more details
Expand All @@ -34,4 +37,4 @@ See the [example project](example_project) for more details
- [PEP 503 – Simple Repository API](https://peps.python.org/pep-0503/)
- [google/jax](https://github.com/google/jax)
- [google/jax#5410 – Please provide PEP 503 compliant indices for CUDA versions of packages](https://github.com/google/jax/issues/5410)
- [jax-releases](https://storage.googleapis.com/jax-releases/) (not compatible with PEP 503)
- [jax-releases](https://storage.googleapis.com/jax-releases/) (not compatible with PEP 503)

0 comments on commit 8a6cb40

Please sign in to comment.