mirror of
https://github.com/huggingface/lerobot.git
synced 2026-07-21 17:01:53 +00:00
Merge branch 'fix/storage-ci-runners' into fix/add-xvla-ci-main
This commit is contained in:
@@ -60,12 +60,17 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
MUJOCO_GL: egl
|
MUJOCO_GL: egl
|
||||||
|
HF_HOME: /mnt/cache/.cache/huggingface
|
||||||
|
HF_LEROBOT_HOME: /mnt/cache/.cache/huggingface/lerobot
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
lfs: true
|
lfs: true
|
||||||
|
|
||||||
|
- name: Setup /mnt storage
|
||||||
|
run: sudo chown -R $USER:$USER /mnt
|
||||||
|
|
||||||
# TODO(Steven): Evaluate the need of these dependencies
|
# TODO(Steven): Evaluate the need of these dependencies
|
||||||
- name: Install apt dependencies
|
- name: Install apt dependencies
|
||||||
run: |
|
run: |
|
||||||
@@ -80,8 +85,14 @@ jobs:
|
|||||||
version: ${{ env.UV_VERSION }}
|
version: ${{ env.UV_VERSION }}
|
||||||
python-version: ${{ env.PYTHON_VERSION }}
|
python-version: ${{ env.PYTHON_VERSION }}
|
||||||
|
|
||||||
|
- name: Check disk usage
|
||||||
|
run: df -h
|
||||||
|
|
||||||
- name: Install lerobot with test extras
|
- name: Install lerobot with test extras
|
||||||
run: uv sync --extra "test"
|
run: uv sync --extra "test"
|
||||||
|
|
||||||
|
- name: Check disk usage
|
||||||
|
run: df -h
|
||||||
|
|
||||||
- name: Run pytest
|
- name: Run pytest
|
||||||
run: uv run pytest tests -vv --maxfail=10
|
run: uv run pytest tests -vv --maxfail=10
|
||||||
|
|||||||
@@ -58,18 +58,16 @@ jobs:
|
|||||||
github.event_name == 'workflow_dispatch'
|
github.event_name == 'workflow_dispatch'
|
||||||
env:
|
env:
|
||||||
MUJOCO_GL: egl
|
MUJOCO_GL: egl
|
||||||
|
HF_HOME: /mnt/cache/.cache/huggingface
|
||||||
|
HF_LEROBOT_HOME: /mnt/cache/.cache/huggingface/lerobot
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
|
|
||||||
- name: Free disk space
|
- name: Setup /mnt storage
|
||||||
run: |
|
run: sudo chown -R $USER:$USER /mnt
|
||||||
sudo rm -rf /usr/share/dotnet
|
|
||||||
sudo rm -rf /usr/local/lib/android
|
|
||||||
sudo rm -rf /opt/ghc
|
|
||||||
docker system prune -af || true
|
|
||||||
|
|
||||||
- name: Install apt dependencies
|
- name: Install apt dependencies
|
||||||
run: |
|
run: |
|
||||||
@@ -87,12 +85,21 @@ jobs:
|
|||||||
- name: Install lerobot with all extras
|
- name: Install lerobot with all extras
|
||||||
run: uv sync --all-extras --no-extra groot # TODO(Steven): Make flash-attn optional
|
run: uv sync --all-extras --no-extra groot # TODO(Steven): Make flash-attn optional
|
||||||
|
|
||||||
|
- name: Check disk usage
|
||||||
|
run: df -h
|
||||||
|
|
||||||
- name: Run pytest (all extras)
|
- name: Run pytest (all extras)
|
||||||
run: uv run pytest tests -vv --maxfail=10
|
run: uv run pytest tests -vv --maxfail=10
|
||||||
|
|
||||||
|
- name: Check disk usage
|
||||||
|
run: df -h
|
||||||
|
|
||||||
- name: Run end-to-end tests
|
- name: Run end-to-end tests
|
||||||
run: uv run make test-end-to-end
|
run: uv run make test-end-to-end
|
||||||
|
|
||||||
|
- name: Check disk usage
|
||||||
|
run: df -h
|
||||||
|
|
||||||
# This job builds a GPU enabled image for testing
|
# This job builds a GPU enabled image for testing
|
||||||
# It runs everytime a PR is approved or a push to main
|
# It runs everytime a PR is approved or a push to main
|
||||||
# TODO(Steven): For now we skip this job for community PRs
|
# TODO(Steven): For now we skip this job for community PRs
|
||||||
|
|||||||
@@ -45,11 +45,15 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
MUJOCO_GL: egl
|
MUJOCO_GL: egl
|
||||||
|
HF_HOME: /mnt/cache/.cache/huggingface
|
||||||
|
HF_LEROBOT_HOME: /mnt/cache/.cache/huggingface/lerobot
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
|
- name: Setup /mnt storage
|
||||||
|
run: sudo chown -R $USER:$USER /mnt
|
||||||
|
|
||||||
- name: Install apt dependencies
|
- name: Install apt dependencies
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user