Skip to content

Commit

Permalink
Simplify the requirements to minimum runtime dependencies (#2313)
Browse files Browse the repository at this point in the history
Summary: Pull Request resolved: #2313

Reviewed By: carolineechen, nateanl

Differential Revision: D37799552

Pulled By: mthrok

fbshipit-source-id: 12e27fccb7098f3142e9ca0b748c71325cd324ee
  • Loading branch information
mthrok authored and facebook-github-bot committed Jul 12, 2022
1 parent 9930314 commit 632ea67
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 18 deletions.
1 change: 0 additions & 1 deletion docs/requirements-tutorials.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ deep-phonemizer
boto3
pandas
librosa
numpy<=1.20
sentencepiece
nbsphinx
pandoc
22 changes: 5 additions & 17 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,20 +1,8 @@
torch>=1.4.0
# Minimum runtime dependencies
torch

# Required for Windows because it's the only available backend
SoundFile; sys_platform == 'win32'

# Optional for torchaudio.kaldi_io
numpy
# Optional runtime dependencies
kaldi_io
SoundFile

# Required for tests only:

# Style-checking for PEP8
flake8

# Used for comparison of outputs in tests
librosa>=0.4.3
scipy

# Unit tests with pytest
pytest
# For build and test-time dependencies please refer to CONTRIBUTING.md

0 comments on commit 632ea67

Please sign in to comment.