Merge pull request #160 from google-research/rajat_dev
Fixes build and upload to pypi
This commit is contained in:
@@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
name: Poetry publish
|
name: Poetry publish
|
||||||
|
|
||||||
on:
|
on:
|
||||||
@@ -24,7 +23,7 @@ jobs:
|
|||||||
# e.g. poetry version 0.1.${{ github.run_number }}
|
# e.g. poetry version 0.1.${{ github.run_number }}
|
||||||
- name: Set Version number
|
- name: Set Version number
|
||||||
run: |
|
run: |
|
||||||
poetry version 1.2.0
|
poetry version 1.2.1
|
||||||
- name: Build and Publish to PyPI
|
- name: Build and Publish to PyPI
|
||||||
run: |
|
run: |
|
||||||
poetry config pypi-token.pypi ${{ secrets.PYPI_API_TOKEN }}
|
poetry config pypi-token.pypi ${{ secrets.PYPI_API_TOKEN }}
|
||||||
|
|||||||
Generated
+830
-919
File diff suppressed because it is too large
Load Diff
+22
-13
@@ -37,22 +37,31 @@ wandb = ">=0.17.5"
|
|||||||
ipython = "^8.27.0"
|
ipython = "^8.27.0"
|
||||||
absl-py = ">=1.4.0"
|
absl-py = ">=1.4.0"
|
||||||
|
|
||||||
[tool.poetry.group.pax]
|
[tool.poetry.extras]
|
||||||
optional = true
|
pax = ["paxml", "lingvo", "jax", "jaxlib"]
|
||||||
|
torch = ["torch", "jax", "jaxlib"] # jax & jaxlib are already in pax
|
||||||
|
|
||||||
[tool.poetry.group.pax.dependencies]
|
[tool.poetry.dependencies.paxml]
|
||||||
paxml = { version = ">=1.4.0", python = ">=3.10,<3.11" }
|
version = ">=1.4.0"
|
||||||
lingvo = { version = ">=0.12.7", python = ">=3.10,<3.11" }
|
python = ">=3.10,<3.11"
|
||||||
jax = { version = ">=0.4.26", extras = ["cuda12"], python = ">=3.10,<3.11" }
|
|
||||||
jaxlib = { version = ">=0.4.26", python = ">=3.10,<3.11" }
|
|
||||||
|
|
||||||
[tool.poetry.group.torch]
|
[tool.poetry.dependencies.lingvo]
|
||||||
optional = true
|
version = ">=0.12.7"
|
||||||
|
python = ">=3.10,<3.11"
|
||||||
|
|
||||||
[tool.poetry.group.torch.dependencies]
|
[tool.poetry.dependencies.jax]
|
||||||
torch = { version = ">=2.0.0", extras = ["cuda"], python = ">=3.11,<3.12" }
|
version = ">=0.4.26"
|
||||||
jax = { version = ">=0.4.26", extras = ["cuda12"], python = ">=3.11,<3.12" }
|
extras = ["cuda12"]
|
||||||
jaxlib = { version = ">=0.4.26", python = ">=3.11,<3.12" }
|
python = ">=3.10,<3.12" # Support both python versions
|
||||||
|
|
||||||
|
[tool.poetry.dependencies.jaxlib]
|
||||||
|
version = ">=0.4.26"
|
||||||
|
python = ">=3.10,<3.12" # Support both python versions
|
||||||
|
|
||||||
|
[tool.poetry.dependencies.torch]
|
||||||
|
version = ">=2.0.0"
|
||||||
|
extras = ["cuda"]
|
||||||
|
python = ">=3.11,<3.12"
|
||||||
|
|
||||||
[tool.poetry.group.dev.dependencies]
|
[tool.poetry.group.dev.dependencies]
|
||||||
pytest = ">=8.3.2"
|
pytest = ">=8.3.2"
|
||||||
|
|||||||
Reference in New Issue
Block a user