forked from facebookresearch/audiocraft
-
Notifications
You must be signed in to change notification settings - Fork 2
/
cog.yaml
38 lines (35 loc) · 913 Bytes
/
cog.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Configuration for Cog ⚙️
# Reference: https://github.com/replicate/cog/blob/main/docs/yaml.md
build:
gpu: true
cuda: "11.8"
system_packages:
- "ffmpeg"
- "aria2"
python_version: "3.10"
python_packages:
- "av"
- "einops"
- "flashy>=0.0.1"
- "hydra-core>=1.1"
- "hydra_colorlog"
- "julius"
- "num2words"
- "numpy"
- "sentencepiece"
- "spacy>=3.6.1"
- "torch==2.1.0"
- "torchaudio>=2.0.0"
- "huggingface_hub"
- "tqdm"
- "transformers>=4.31.0"
- "demucs"
- "librosa"
- "torchmetrics"
- "encodec"
- "protobuf"
- "xformers --index-url https://download.pytorch.org/whl/cu118"
run:
- curl -o /usr/local/bin/pget -L "https://github.com/replicate/pget/releases/download/v0.3.1/pget" && chmod +x /usr/local/bin/pget
# predict.py defines how predictions are run on your model
predict: "predict.py:Predictor"