Skip to content

Commit

Permalink
update setup instructions.
Browse files Browse the repository at this point in the history
  • Loading branch information
entrpn committed Dec 4, 2024
1 parent a58a75f commit e522c18
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ MaxDiffusion started as a fork of [Diffusers](https://github.com/huggingface/dif

Whether you are forking MaxDiffusion for your own needs or intending to contribute back to the community, a full suite of tests can be found in `tests` and `src/maxdiffusion/tests`.

To run unit tests, you'll need to [install gcsfuse](https://cloud.google.com/storage/docs/cloud-storage-fuse/install) then simply run:
To run unit tests simply run:
```
python -m pytest
```
Expand Down
4 changes: 1 addition & 3 deletions docs/getting_started/first_run.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ multiple hosts.
1. Clone MaxDiffusion in your TPU VM.
1. Within the root directory of the MaxDiffusion `git` repo, install dependencies by running:
```bash
pip3 install jax[tpu] -f https://storage.googleapis.com/jax-releases/libtpu_releases.html
pip3 install -r requirements.txt
pip3 install .
bash setup.sh MODE=stable
```

## Getting Starting: Multihost development
Expand Down
3 changes: 3 additions & 0 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -108,3 +108,6 @@ fi

# Install dependencies from requirements.txt
pip3 install -U -r requirements.txt

# Install maxdiffusion
pip3 install -e -U .

0 comments on commit e522c18

Please sign in to comment.