mirror of
https://github.com/huggingface/lerobot.git
synced 2026-07-30 13:09:40 +00:00
e36783253a
* fix(utils): raise ValueError from get_safe_torch_device Bare asserts vanish under python -O and look like programmer bugs. Convert unavailable CUDA/MPS/XPU requests into clear ValueErrors. * style: combine nested with in device util tests (ruff) --------- Co-authored-by: Steven Palma <imstevenpmwork@ieee.org>