Skip to content

Instantly share code, notes, and snippets.

@jonathanagustin
Last active May 31, 2024 02:47
Show Gist options
  • Save jonathanagustin/ef17a0b90ee6e74e6aaf15253f1654c1 to your computer and use it in GitHub Desktop.
Save jonathanagustin/ef17a0b90ee6e74e6aaf15253f1654c1 to your computer and use it in GitHub Desktop.
Install autogluon on Google Colab
%%capture
# ---------------------------------------------------------------------------- #
# @title Install autogluon on Google Colab { display-mode: "form" }
# ---------------------------------------------------------------------------- #
import contextlib
with open('/content/install-autogluon.log', 'w') as f:
with contextlib.redirect_stdout(f):
%pip install uv
!git clone --recurse-submodules --depth=1 https://github.com/autogluon/autogluon.git
!uv pip install --system -e /content/autogluon/common/
!uv pip install --system -e /content/autogluon/core/[all]
!uv pip install --system -e /content/autogluon/features/
!uv pip install --system -e /content/autogluon/tabular/[all]
!uv pip install --system -e /content/autogluon/multimodal/
!uv pip install --system -e /content/autogluon/timeseries/[all]
!uv pip install --system -e /content/autogluon/eda/
!uv pip install --system -e /content/autogluon/autogluon/
import sys; sys.path.append('/content/autogluon')
%pip list|grep autogluon
sys.stdout.flush()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment