mirror of
https://github.com/huggingface/lerobot.git
synced 2026-08-05 07:59:55 +00:00
c15f6acb7e3954a7e63924e5f67f6bddb537c68d
1 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
e963e5a0c4 |
RL stack refactoring (#3075)
* refactor: RL stack refactoring — RLAlgorithm, RLTrainer, DataMixer, and SAC restructuring
* chore: clarify torch.compile disabled note in SACAlgorithm
* fix(teleop): keyboard EE teleop not registering special keys and losing intervention state
Fixes #2345
Co-authored-by: jpizarrom <jpizarrom@gmail.com>
* fix: remove leftover normalization calls from reward classifier predict_reward
Fixes #2355
* fix: add thread synchronization to ReplayBuffer to prevent race condition between add() and sample()
* refactor: update SACAlgorithm to pass action_dim to _init_critics and fix encoder reference
* perf: remove redundant CPU→GPU→CPU transition move in learner
* Fix: add kwargs in reward classifier __init__()
* fix: include IS_INTERVENTION in complementary_info sent to learner for offline replay buffer
* fix: add try/finally to control_loop to ensure image writer cleanup on exit
* fix: use string key for IS_INTERVENTION in complementary_info to avoid torch.load serialization error
* fix: skip tests that require grpc if not available
* fix(tests): ensure tensor stats comparison accounts for reshaping in normalization tests
* fix(tests): skip tests that require grpc if not available
* refactor(rl): expose public API in rl/__init__ and use relative imports in sub-packages
* fix(config): update vision encoder model name to lerobot/resnet10
* fix(sac): clarify torch.compile status
* refactor(rl): update shutdown_event type hints from 'any' to 'Any' for consistency and clarity
* refactor(sac): simplify optimizer return structure
* perf(rl): use async iterators in OnlineOfflineMixer.get_iterator
* refactor(sac): decouple algorithm hyperparameters from policy config
* update losses names in tests
* fix docstring
* remove unused type alias
* fix test for flat dict structure
* refactor(policies): rename policies/sac → policies/gaussian_actor
* refactor(rl/sac): consolidate hyperparameter ownership and clean up discrete critic
* perf(observation_processor): add CUDA support for image processing
* fix(rl): correctly wire HIL-SERL gripper penalty through processor pipeline
(cherry picked from commit 9c2af818ff4bfef2603348e0609aa249c3ff62b1)
* fix(rl): add time limit processor to environment pipeline
(cherry picked from commit cd105f65cb213c4a9c9768926cc3304ca52eb5f4)
* fix(rl): clarify discrete gripper action mapping in GripperVelocityToJoint for SO100
(cherry picked from commit 494f469a2b9dfb792dde6d9d79d8646ef4fcff54)
* fix(rl): update neutral gripper action
(cherry picked from commit 9c9064e5befe82e981286c6562194f524e16045e)
* fix(rl): merge environment and action-processor info in transition processing
(cherry picked from commit 30e1886b6466b8753ec41b3016c09a17dd3e960b)
* fix(rl): mirror gym_manipulator in actor
(cherry picked from commit d2a046dfc5b6f79df34577aa45f32403d897c0a3)
* fix(rl): postprocess action in actor
(cherry picked from commit c2556439e550ee3fe5bae6060c57cf227101fcaf)
* fix(rl): improve action processing for discrete and continuous actions
(cherry picked from commit f887ab3f6ace140c4ea6b6186c26473d785b0727)
* fix(rl): enhance intervention handling in actor and learner
(cherry picked from commit ef8bfffbd72e9d0951de576553f89c7c281315de)
* Revert "perf(observation_processor): add CUDA support for image processing"
This reverts commit
|