make optional dependecy group for wm
This commit is contained in:
@@ -23,7 +23,7 @@ runs:
|
||||
python -m pip install --upgrade pip
|
||||
pip install torch==2.1.0 torchvision==0.16.0 torchaudio==2.1.0
|
||||
pip install xformers
|
||||
pip install -e '.[dev]'
|
||||
pip install -e '.[dev,wm]'
|
||||
- name: System Dependencies
|
||||
shell: bash
|
||||
run: |
|
||||
|
||||
@@ -20,6 +20,7 @@ python -m pip install setuptools wheel
|
||||
python -m pip install -U audiocraft # stable release
|
||||
python -m pip install -U git+https://git@github.com/facebookresearch/audiocraft#egg=audiocraft # bleeding edge
|
||||
python -m pip install -e . # or if you cloned the repo locally (mandatory if you want to train).
|
||||
python -m pip install -e '.[wm]' # if you want to train a watermarking model
|
||||
```
|
||||
|
||||
We also recommend having `ffmpeg` installed, either through your system or Anaconda:
|
||||
|
||||
@@ -46,7 +46,8 @@ setup(
|
||||
python_requires=REQUIRES_PYTHON,
|
||||
install_requires=REQUIRED,
|
||||
extras_require={
|
||||
'dev': ['coverage', 'flake8', 'mypy', 'pdoc3', 'pytest', 'audioseal'],
|
||||
'dev': ['coverage', 'flake8', 'mypy', 'pdoc3', 'pytest'],
|
||||
'wm': ['audioseal'],
|
||||
},
|
||||
packages=[p for p in find_packages() if p.startswith('audiocraft')],
|
||||
package_data={'audiocraft': ['py.typed']},
|
||||
|
||||
Reference in New Issue
Block a user