Skip to content

Commit

Permalink
fix a minor typo (#474)
Browse files Browse the repository at this point in the history
  • Loading branch information
shivance authored Oct 1, 2023
1 parent 6d866d7 commit ee4be52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion colabs/diffusers/sdxl-text-to-image.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
"\n",
"1. We define the base diffusion pipeline using `diffusers.DiffusionPipeline` and load the pre-trained weights for SDXL 1.0 by calling the `from_pretrained` function on it. We also pass the scheduler as `diffusers.EulerDiscreteScheduler` in this step.\n",
"\n",
"2. In case we don't have a GPU with large enough GPU, it's recommended to enable CPU offloading. Otherwise, we load the model on the GPU. In case you're curious how HiggingFace manages CPU offloading in the most optimized manner, we recommend you read this port by [Sylvain Gugger](https://huggingface.co/sgugger): [How 🤗 Accelerate runs very large models thanks to PyTorch](https://huggingface.co/blog/accelerate-large-models).\n",
"2. In case we don't have a GPU with large enough GPU, it's recommended to enable CPU offloading. Otherwise, we load the model on the GPU. In case you're curious how HuggingFace manages CPU offloading in the most optimized manner, we recommend you read this port by [Sylvain Gugger](https://huggingface.co/sgugger): [How 🤗 Accelerate runs very large models thanks to PyTorch](https://huggingface.co/blog/accelerate-large-models).\n",
"\n",
"3. We can compile model using `torch.compile`, this might give a significant speedup.\n",
"\n",
Expand Down

0 comments on commit ee4be52

Please sign in to comment.