Commit
·
5dd5754
1
Parent(s):
16d827a
Update start.txt
Browse files
start.txt
CHANGED
@@ -1,14 +1,6 @@
|
|
1 |
apt -y update -qq
|
2 |
-
|
3 |
-
wget https://launchpad.net/ubuntu/+source/google-perftools/2.5-2.2ubuntu3/+build/14795286/+files/google-perftools_2.5-2.2ubuntu3_all.deb
|
4 |
-
wget https://launchpad.net/ubuntu/+source/google-perftools/2.5-2.2ubuntu3/+build/14795286/+files/libtcmalloc-minimal4_2.5-2.2ubuntu3_amd64.deb
|
5 |
-
wget https://launchpad.net/ubuntu/+source/google-perftools/2.5-2.2ubuntu3/+build/14795286/+files/libgoogle-perftools4_2.5-2.2ubuntu3_amd64.deb
|
6 |
-
apt install -qq libunwind8-dev
|
7 |
-
dpkg -i *.deb
|
8 |
-
%env LD_PRELOAD=libtcmalloc.so
|
9 |
-
rm *.deb
|
10 |
|
11 |
-
apt -y install -qq aria2 libcairo2-dev pkg-config python3-dev
|
12 |
pip install -q torch==2.0.0+cu118 torchmetrics==0.11.4 torchvision==0.15.1+cu118 torchaudio==2.0.1+cu118 torchtext==0.15.1 torchdata==0.6.0 --extra-index-url https://download.pytorch.org/whl/cu118 -U
|
13 |
pip install -q xformers==0.0.19 triton==2.0.0 -U
|
14 |
|
|
|
1 |
apt -y update -qq
|
2 |
+
%env LD_PRELOAD=/content/rundata/libtcmalloc_minimal.so.4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
|
|
|
4 |
pip install -q torch==2.0.0+cu118 torchmetrics==0.11.4 torchvision==0.15.1+cu118 torchaudio==2.0.1+cu118 torchtext==0.15.1 torchdata==0.6.0 --extra-index-url https://download.pytorch.org/whl/cu118 -U
|
5 |
pip install -q xformers==0.0.19 triton==2.0.0 -U
|
6 |
|