-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcog.yaml
35 lines (29 loc) · 979 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
# Configuration for Cog ⚙️
# Reference: https://github.com/replicate/cog/blob/main/docs/yaml.md
build:
# set to true if your model requires a GPU
gpu: true
cuda: "11.7"
# a list of ubuntu apt packages to install
# system_packages:
# - "libgl1-mesa-glx"
# - "libglib2.0-0"
# python version in the form '3.8' or '3.8.12'
python_version: "3.9"
system_packages:
- "portaudio19-dev"
- "rubberband-cli"
- "ffmpeg"
# a list of packages in the format <package-name>==<version>
python_packages:
- "torch==2.0.1"
- "pyaudio==0.2.13"
- "git+https://github.com/CPJKU/madmom"
- "BeatNet==1.1.0"
- "pyrubberband==0.3.0"
# commands run after the environment is setup
run:
- "pip install -U git+https://github.com/facebookresearch/audiocraft.git@ab95eebc03f2951ebb75cf61398d82020787e4a3#egg=audiocraft"
# predict.py defines how predictions are run on your model
predict: "predict.py:Predictor"
train: "train.py:train"