Skip to content

Commit 724effd

Browse files
olegshaldybinOrbax Authors
authored andcommitted
Remove unmaintained orbax/model
PiperOrigin-RevId: 930782658
1 parent 8ac9c61 commit 724effd

76 files changed

Lines changed: 0 additions & 10337 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/build.yml

Lines changed: 0 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -186,79 +186,6 @@ jobs:
186186
exit 1
187187
fi
188188
189-
190-
build-orbax-model:
191-
name: "build-orbax-model (Python ${{ matrix.python-version }}, jax=${{ matrix.jax-version }})"
192-
runs-on: ubuntu-latest
193-
defaults:
194-
run:
195-
working-directory: model
196-
strategy:
197-
matrix:
198-
python-version: ["3.10", "3.11", "3.12"]
199-
jax-version: ["newest"]
200-
include:
201-
- python-version: "3.10"
202-
jax-version: "0.5.0" # keep in sync with minimum version in experimental/model/pyproject.toml
203-
# - python-version: "3.13"
204-
# jax-version: "nightly"
205-
steps:
206-
- uses: actions/checkout@v6
207-
- name: Set up Python ${{ matrix.python-version }}
208-
uses: actions/setup-python@v6
209-
with:
210-
python-version: ${{ matrix.python-version }}
211-
- name: Extract branch name
212-
shell: bash
213-
run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
214-
id: extract_branch
215-
- name: Install dependencies
216-
run: |
217-
sudo apt-get update
218-
sudo apt-get install -y protobuf-compiler
219-
220-
pip install tensorflow
221-
222-
protoc -I=. --python_out=. $(find orbax/experimental/model/ -name "*.proto")
223-
224-
pip install -e .
225-
226-
pip install .[testing] -f https://storage.googleapis.com/jax-releases/libtpu_releases.html
227-
228-
if [[ "${{ matrix.jax-version }}" == "newest" ]]; then
229-
pip install -U jax jaxlib
230-
elif [[ "${{ matrix.jax-version }}" == "nightly" ]]; then
231-
pip install -U --pre jax jaxlib --extra-index-url https://us-python.pkg.dev/ml-oss-artifacts-published/jax-public-nightly-artifacts-registry/simple/
232-
else
233-
pip install "jax==${{ matrix.jax-version }}" "jaxlib==${{ matrix.jax-version }}"
234-
fi
235-
- name: Test with pytest
236-
run: |
237-
pytest orbax/experimental/model/core/python/*_test.py
238-
239-
pytest orbax/experimental/model/tf2obm/*_test.py
240-
241-
pytest orbax/experimental/model/jax2obm/ \
242-
--ignore=orbax/experimental/model/jax2obm/main_lib_test.py \
243-
--ignore=orbax/experimental/model/jax2obm/sharding_test.py \
244-
--ignore=orbax/experimental/model/jax2obm/jax_to_polymorphic_function_test.py
245-
- name: Report success or failure as github status
246-
if: always()
247-
shell: bash
248-
run: |
249-
status="${{ job.status }}"
250-
lowercase_status=$(echo $status | tr '[:upper:]' '[:lower:]')
251-
curl -sS --request POST \
252-
--url https://api.github.com/repos/${{ github.repository }}/statuses/${{ github.sha }} \
253-
--header 'authorization: Bearer ${{ secrets.GITHUB_TOKEN }}' \
254-
--header 'content-type: application/json' \
255-
--data '{
256-
"state": "'$lowercase_status'",
257-
"target_url": "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}",
258-
"description": "'$status'",
259-
"context": "github-actions/build-orbax-model"
260-
}'
261-
262189
multiprocess-checkpoint-benchmarks:
263190
name: "multiprocess-checkpoint-benchmarks (Python ${{ matrix.python-version }}, jax=${{ matrix.jax-version }})"
264191
runs-on: linux-g2-16-l4-1gpu-x4

model/LICENSE

Lines changed: 0 additions & 202 deletions
This file was deleted.

model/MANIFEST.in

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)