Skip to content

Commit 118c5be

Browse files
authored
Docs: Do not require PyTorch nightlies (huggingface#1123)
Do not require PyTorch nightlies.
1 parent 7b030a7 commit 118c5be

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

docs/source/optimization/mps.mdx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,8 @@ specific language governing permissions and limitations under the License.
1919
- Mac computer with Apple silicon (M1/M2) hardware.
2020
- macOS 12.6 or later (13.0 or later recommended).
2121
- arm64 version of Python.
22-
- PyTorch 1.13.0 RC (Release Candidate). You can install it with `pip` using:
22+
- PyTorch 1.13. You can install it with `pip` or `conda` using the instructions in https://pytorch.org/get-started/locally/.
2323

24-
```
25-
pip3 install --pre torch --extra-index-url https://download.pytorch.org/whl/test/cpu
26-
```
2724

2825
## Inference Pipeline
2926

@@ -63,4 +60,4 @@ pipeline.enable_attention_slicing()
6360
## Known Issues
6461

6562
- As mentioned above, we are investigating a strange [first-time inference issue](https://github.com/huggingface/diffusers/issues/372).
66-
- Generating multiple prompts in a batch [crashes or doesn't work reliably](https://github.com/huggingface/diffusers/issues/363). We believe this is related to the [`mps` backend in PyTorch](https://github.com/pytorch/pytorch/issues/84039). For now, we recommend to iterate instead of batching.
63+
- Generating multiple prompts in a batch [crashes or doesn't work reliably](https://github.com/huggingface/diffusers/issues/363). We believe this is related to the [`mps` backend in PyTorch](https://github.com/pytorch/pytorch/issues/84039). This is being resolved, but for now we recommend to iterate instead of batching.

0 commit comments

Comments
 (0)