Skip to content

Commit

Permalink
Added instructions for how to install the nightly package. (#3)
Browse files Browse the repository at this point in the history
* Added instructions for how to install the nightly package.

BUG=http://b/340367182

* update workflow to test the nightly.
  • Loading branch information
advaitjain authored May 14, 2024
1 parent 62576a9 commit 875f2ea
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/nightly_pip_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]

runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v4
Expand All @@ -26,7 +26,7 @@ jobs:
pip install -r https://raw.githubusercontent.com/google-ai-edge/ai-edge-torch/main/requirements.txt
- name: Install ai-edge-torch
run: |
pip install ai-edge-torch
pip install ai-edge-torch-nightly
- name: Import ai-edge-torch
run: |
python -c "import ai_edge_torch"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ pip install ai-edge-torch==0.1.1
Alternately, the nightly version can be installed with:
```bash
pip install -r https://raw.githubusercontent.com/google-ai-edge/ai-edge-torch/main/requirements.txt
pip install ai-edge-torch
pip install ai-edge-torch-nightly
```

* The list of versioned releases can be seen [here](https://github.com/google-ai-edge/ai-edge-torch/releases).
Expand Down
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@
then be run with TensorFlow Lite and MediaPipe. This enables applications for
Android, iOS and IOT that can run models completely on-device.
More details are in the project's [GitHub repository](https://github.com/google-ai-edge/ai-edge-torch).
[Install steps](https://github.com/google-ai-edge/ai-edge-torch#installation)
and additional details are in the AI Edge Torch
[GitHub repository](https://github.com/google-ai-edge/ai-edge-torch).
""".lstrip()

setup(
Expand Down

0 comments on commit 875f2ea

Please sign in to comment.