Skip to content

Commit

Permalink
try without categories
Browse files Browse the repository at this point in the history
  • Loading branch information
jhurliman committed Aug 10, 2023
1 parent a9b8876 commit c7d648e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
shell: bash

- name: Install Pipfile packages
run: pipenv sync --python 3.10 --categories="packages dev-packages cpu"
run: pipenv sync --python 3.10 --dev
shell: bash

- name: Formatting
Expand Down
12 changes: 3 additions & 9 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,18 @@ name = "pypi"
[[source]]
url = "https://download.pytorch.org/whl/cpu"
verify_ssl = true
name = "pytorch-cpu"
name = "pytorchcpu"

[packages]
audiocraft = "*"
librosa = "*"
music_interpolation = { editable = true, path = "." }
numpy = "*"
soundfile = "*"
torch = { version = "~=2.0", index = "pytorchcpu" }
torchaudio = { version = "~=2.0", index = "pytorchcpu" }
transformers = "~=4.0"

[cpu]
torch = { version = "~=2.0", index = "pytorch-cpu" }
torchaudio = { version = "~=2.0", index = "pytorch-cpu" }

[gpu]
torch = "~=2.0"
torchaudio = "~=2.0"

[dev-packages]
argparse = "==1.4.0"
black = "==23.7.0"
Expand Down
4 changes: 2 additions & 2 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@ This repository is a sandbox to experiment with machine learning techniques for
1. `git clone https://github.com/jhurliman/music-interpolation.git`
2. `cd music-interpolation`
3. Install pipenv if you have not already: `pip install pipenv`
4. Install dependencies: `pipenv sync --python 3.10 --categories="packages dev-packages cpu"`

> Note: Replace `cpu` with `gpu` if you have a CUDA-enabled GPU and want to use it
4. Install dependencies: `pipenv sync --python 3.10 --dev`
5. Run tests: `pipenv run pytest`

## Usage
Expand Down

0 comments on commit c7d648e

Please sign in to comment.