Commit Graph

82 Commits

Author SHA1 Message Date
Remi 77478d50e5
Refactor `record` with `add_frame` (#468)
Co-authored-by: Simon Alibert <75076266+aliberts@users.noreply.github.com>
2024-10-16 20:51:35 +02:00
Simon Alibert 1a343c3591
Add support for Stretch (hello-robot) (#409)
Co-authored-by: Remi <remi.cadene@huggingface.co>
Co-authored-by: Remi Cadene <re.cadene@gmail.com>
2024-10-04 18:56:42 +02:00
Remi 26f97cfd17
Enable CI for robot devices with mocked versions (#398)
Co-authored-by: Simon Alibert <75076266+aliberts@users.noreply.github.com>
2024-10-03 17:05:23 +02:00
Simon Alibert 03d647269e
Fix CI builds (#357) 2024-08-12 17:57:03 +02:00
Adrien bc6384bb80
fix ci (#351)
Signed-off-by: Adrien <adrien@huggingface.co>
2024-08-05 16:12:26 +02:00
Simon Alibert ee200e86cb
Ensure no upper bound constraints on dependencies (#327) 2024-07-18 12:07:15 +02:00
Thomas Wolf 125bd93e29
Improve `push_dataset_to_hub` API + Add unit tests (#231)
Co-authored-by: Remi <re.cadene@gmail.com>
Co-authored-by: Simon Alibert <alibert.sim@gmail.com>
Co-authored-by: Simon Alibert <75076266+aliberts@users.noreply.github.com>
2024-06-13 15:18:02 +02:00
Marina Barannikov c38f535c9f
FIx make_dataset to match transforms config (#264)
Co-authored-by: Simon Alibert <75076266+aliberts@users.noreply.github.com>
2024-06-12 19:45:42 +02:00
Luc Georges a06598678c
feat(ci): add trufflehog secrets detection (#254) 2024-06-10 14:25:43 +02:00
Simon Alibert 13310681b1
Enable cuda for end-to-end tests (#222) 2024-05-29 23:02:23 +02:00
Simon Alibert 7ec76ee235
Fix nightly builds (#216) 2024-05-28 10:43:34 +02:00
Simon Alibert aca424a481
Add dev docker image (#189)
Co-authored-by: Remi <re.cadene@gmail.com>
2024-05-23 14:39:14 +02:00
Remi 01eae09ba6
Fix aloha real-world datasets (#175) 2024-05-20 13:48:09 +02:00
Simon Alibert 29a196c5dd
Fix #173 - Require gym-pusht to be installed for test_examples_3_and_2 (#174) 2024-05-12 08:08:59 +02:00
Simon Alibert f5e76393eb
Release cleanup (#132)
Co-authored-by: Kashif Rasul <kashif.rasul@gmail.com>
Co-authored-by: Alexander Soare <alexander.soare159@gmail.com>
Co-authored-by: Adil Zouitine <adilzouitinegm@gmail.com>
Co-authored-by: Cadene <re.cadene@gmail.com>
2024-05-06 03:03:14 +02:00
Simon Alibert b7b69fcc3d
Publish environments (#120) 2024-05-03 16:25:45 +02:00
Simon Alibert 2765877f28
Speed up CI, add more checks (#115)
- Split pytest and end-to-end tests into separate jobs
- Add poetry check to ensure pyproject.toml and poetry.lock are in sync
- Add ruff format --diff to ensure style formatting is applied (fails if ruff would reformat anything)
2024-04-29 23:05:55 +02:00
Simon Alibert 791506dfb8
Remove warnings (#111)
- Replace `use_pretrained_backbone` with `pretrained_backbone_weights`
- Bump diffusers' minimum version `0.26.3` -> `0.27.2`
- Add ignore flags in CI's pytest
- Change Box observation spaces in simulation environments
- Set `version_base="1.2"` in Hydra initializations
- Bump einops' minimum version `0.7.0` -> `0.8.0`
2024-04-29 00:31:33 +02:00
Simon Alibert a4b6c5e3b1
Add torchaudio (#110) 2024-04-27 14:00:38 +02:00
Simon Alibert fe2b9af64f
Add test-docker-build workflow (#109)
Adds a `test-docker-build.yml` workflow to ensure that docker images can correctly build when their Dockerfile has been modified on PRs.
2024-04-27 09:40:21 +02:00
Simon Alibert fdf6a0c4e3
More CI cleanup, add style workflow (#107)
- Changes on the `test.yml` workflow:
  - Using poetry instead of pip. Contrary to what I wrote in #75, it is possible to use poetry (and have the benefits of shorter install times) without the need for having two separate versions of `pyproject.toml` and `poetry.lock`.
  - Reduce the trigger scope to only run when files in these directories are modified:
    - `lerobot/`
    - `tests/`
    - `examples/`
    - `.github/`
- Add `style.yml` workflow for doing a `ruff check` pass on the code
- More cleanup (removed deprecated workflow)
2024-04-27 09:37:56 +02:00
Simon Alibert b980c5dd9e
CI nightlies cpu/gpu & cleanup (#75) 2024-04-25 14:58:39 +02:00
Remi c1bcf857c5
Fix online training (#94) 2024-04-23 18:54:55 +02:00
Remi 1030ea0070
Loads episode_data_index and stats during dataset __init__ (#85)
Co-authored-by: Simon Alibert <75076266+aliberts@users.noreply.github.com>
Co-authored-by: Alexander Soare <alexander.soare159@gmail.com>
2024-04-23 14:13:25 +02:00
Simon Alibert 7ad1909641
Tests cleaning & simplification (#81) 2024-04-18 14:47:42 +02:00
Remi 3f1c322d56
Merge pull request #73 from huggingface/user/rcadene/2024_04_14_hf_datasets
Use Hugging Face datasets.Dataset
2024-04-16 21:54:37 +02:00
Simon Alibert fbc31d906c
Merge pull request #74 from huggingface/user/aliberts/2024_04_15_setup_contributions
Setup contributions
2024-04-16 19:51:13 +02:00
Simon Alibert 4057cc6c28
Apply suggestions from code review
Various fixes for #74

Co-authored-by: Remi <re.cadene@gmail.com>
2024-04-16 19:35:01 +02:00
Cadene 69eeced9d9 add datasets to poetry/cpu 2024-04-16 17:20:52 +00:00
Simon Alibert 70e8de95f7 Clean & update pyproject 2024-04-16 12:09:56 +02:00
Simon Alibert a621ec8d88 Add PR & issue templates 2024-04-16 10:34:29 +02:00
Alexander Soare 2ccf89d78c try fix tests 2024-04-15 09:48:03 +01:00
Simon Alibert 35069bb3e2 Update CI dep 2024-04-11 09:03:58 +02:00
Cadene 8866b22db1 remove policy is None eval end-to-end tests 2024-04-10 15:09:04 +00:00
Cadene 2186429fa8 policy.batch_size=2 2024-04-10 15:00:54 +00:00
Cadene 79542ecd13 eval_episodes=1 env.episode_length=8 2024-04-10 14:44:04 +00:00
Simon Alibert d44950e020 Add ssh key 2024-04-09 11:44:55 +02:00
Simon Alibert dba0375089 Fix CI 2024-04-09 10:45:58 +02:00
Simon Alibert dfaacbcf5a Split dev/test dependencies 2024-04-09 10:40:11 +02:00
Simon Alibert 2573e89e1d Remove direct dependencies 2024-04-09 10:38:08 +02:00
Cadene 19e7661b8d Remove torchrl/tensordict from dependecies + update poetry cpu 2024-04-09 03:50:49 +00:00
Simon Alibert 3f6dfa4916 Add gym-aloha, rename simxarm -> xarm, refactor 2024-04-08 16:24:11 +02:00
Simon Alibert a7c9b78e56 Deactivate eval ACT on Aloha (policy is None) 2024-03-28 10:55:11 +01:00
Simon Alibert 404b8f8a75 Fix end-to-end ACT train on Aloha 2024-03-28 10:35:11 +01:00
Simon Alibert 006e5feabf WIP add code coverage 2024-03-28 10:35:11 +01:00
Simon Alibert b99ee8180a Add more end-to-end tests 2024-03-28 10:35:11 +01:00
Simon Alibert 58df2066a9 Add pytest-cov 2024-03-28 10:35:11 +01:00
Simon Alibert 643d64e2a8 Add cmake 2024-03-27 16:33:26 +01:00
Simon Alibert f00252552a fix ci 2024-03-25 17:38:08 +01:00
Simon Alibert 90f6af9736 Update ci 2024-03-25 17:33:47 +01:00