You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: make heavy ML dependencies optional for lightweight installs (#57)
* fix: make heavy ML dependencies optional for lightweight installs
Move torch, torchvision, bitsandbytes, peft, and transformers from
required dependencies to [project.optional-dependencies.training].
Wrap all top-level imports of these packages in try/except ImportError
so the package can be imported without them installed.
This unblocks lightweight consumers (e.g. Wright worker installing
openadapt-evals) that don't need local model training/inference.
Users who need training can install with: pip install openadapt-ml[training]
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* style: fix ruff formatting in qwen_vl.py
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments