2024-07-24 12:31:22 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
if [ -d "/content" ]; then
|
|
|
|
echo "This appears to be a Google Colab environment."
|
|
|
|
|
|
|
|
echo "Installing dependencies"
|
2024-07-24 12:32:40 +00:00
|
|
|
pip install -r "https://raw.githubusercontent.com/norandom/log2ml/main/dependencies/requirements.gpu.txt"
|
2024-07-24 12:31:22 +00:00
|
|
|
|
2024-07-30 10:08:23 +00:00
|
|
|
# https://docs.rapids.ai/deployment/stable/platforms/colab/
|
|
|
|
git clone https://github.com/rapidsai/rapidsai-csp-utils.git
|
|
|
|
python rapidsai-csp-utils/colab/pip-install.py
|
|
|
|
|
2024-07-24 12:31:22 +00:00
|
|
|
else
|
|
|
|
echo "This does not appear to be a Google Colab environment."
|
|
|
|
fi
|