yongyeol commited on
Commit
8604551
·
verified ·
1 Parent(s): e82f7db

Update postInstall

Browse files
Files changed (1) hide show
  1. postInstall +15 -4
postInstall CHANGED
@@ -1,7 +1,18 @@
1
  #!/usr/bin/env bash
2
- set -e # 오류 발생 시 즉시 중단
3
 
4
- echo "▶ installing audiocraft ..."
5
- pip install --no-cache-dir --use-pep517 \
 
 
 
 
 
 
 
6
  git+https://github.com/facebookresearch/audiocraft@main
7
- echo "✓ audiocraft installed"
 
 
 
 
 
1
  #!/usr/bin/env bash
2
+ set -e
3
 
4
+ echo "▶ reinstall CPU‑only PyTorch stack"
5
+ pip uninstall -y torch torchaudio torchvision xformers || true
6
+
7
+ pip install --no-cache-dir \
8
+ torch==2.1.0+cpu torchaudio==2.1.0+cpu \
9
+ --extra-index-url https://download.pytorch.org/whl/cpu
10
+
11
+ echo "▶ install audiocraft without xformers"
12
+ pip install --no-cache-dir --use-pep517 --no-deps \
13
  git+https://github.com/facebookresearch/audiocraft@main
14
+
15
+ echo "▶ install audiocraft runtime deps"
16
+ pip install --no-cache-dir encodec spacy huggingface_hub soundfile tqdm
17
+
18
+ echo "✓ postInstall complete"