huggingface / huggingface/diffusers
how to get the minimun working example of FlaxStableDiffusionPipeline in google colab with tpu runtime
- 主要言語
- Python
- スター
- 34.5k
- フォーク
- 7.3k
- 平均マージ
- 3日 3時間
- マージ済み PR(30日)
- 91
説明
### Describe the bug
I try the code in google colab with tpu runtime
```
! python3 -m pip install -U diffusers[flax]
import diffusers, os
pipeline = diffusers.StableDiffusionPipeline.from_single_file('https://huggingface.co/chaowenguo/pal/blob/main/chilloutMix-Ni.safetensors')
pipeline.save_pretrained('chilloutMix', safe_serialization=False)
pipeline, params = diffusers.FlaxStableDiffusionPipeline.from_pretrained('./chilloutMix', from_pt=True, safety_checker=None)
```
I always get Your session crashed for an unknown reason. I want to get the mininum working example in google colab with tpu runtime
### Reproduction
N/A
### Logs
_No response_
### System Info
google colab with tpu runtime
### Who can help?
_No response_
コントリビューションガイド
調査の方向性
Start by reproducing the reported pip install and StableDiffusionPipeline/FlaxStableDiffusionPipeline calls in a Google Colab TPU runtime. Investigate the session crash using the provided model URL and conversion options; done means a verified minimal working example or a clearly identified failure cause.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python, pytorch
- 領域
- machine-learning
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100