Update AutoGluon to use uv during setup.sh #643
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Update AutoGluon to use uv instead of pip for installation in setup.sh This aligns with mainline AutoGluon now switching to
uv
for its install instructions.The switch to
uv
reduces AutoGluon installation time from ~10 minutes to ~40 seconds on EC2. This also avoids a bug in pip where it fails to install AutoGluon.Removed setuptools and wheel installs, as they aren't needed by
uv
and there is a bug in torch 1.4.x that causes an exception if setuptools is installed at the same time.Will now install from source in
non-editable
mode. Previously it would install ineditable
mode, which could cause bugs if running AMLB locally alongside a pre-existing local AutoGluon install. This is now avoided by ensuring that the venv directly uses the code pulled insetup.sh
.