Skip to content

Commit

Permalink
Merge pull request #389 from adefossez/clean_install
Browse files Browse the repository at this point in the history
removing packages not starting with audiocraft
  • Loading branch information
JadeCopet authored Jan 17, 2024
2 parents 905371a + 76a0994 commit 6577d18
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ Adding the MAGNeT model (https://arxiv.org/abs/2401.04577) along with hf checkpo

Typo fixes.

Fixing setup.py to install only audiocraft, not the unit tests and scripts.

## [1.2.0] - 2024-01-11

Adding stereo models.
Expand Down
2 changes: 1 addition & 1 deletion audiocraft/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@
# flake8: noqa
from . import data, modules, models

__version__ = '1.3.0a'
__version__ = '1.3.0a1'
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ numpy
sentencepiece
spacy>=3.6.1
torch==2.1.0
torchaudio>=2.0.0
torchaudio>=2.0.0,<2.1.2
huggingface_hub
tqdm
transformers>=4.31.0 # need Encodec there.
xformers
xformers<0.0.23
demucs
librosa
gradio
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
extras_require={
'dev': ['coverage', 'flake8', 'mypy', 'pdoc3', 'pytest'],
},
packages=find_packages(),
packages=[p for p in find_packages() if p.startswith('audiocraft')],
package_data={'audiocraft': ['py.typed']},
include_package_data=True,
license='MIT License',
Expand Down

0 comments on commit 6577d18

Please sign in to comment.