huggingface / huggingface/diffusers

how to get the minimun working example of FlaxStableDiffusionPipeline in google colab with tpu runtime

Abierto
#9,032 4 comentarios 0 reacciones 0 asignados Ver en GitHub
bug stale
Lenguaje dominante
Python
Estrellas
34.5k
Forks
7.3k
Merge medio
3 d 3 h
PR fusionados (30 d)
91

Descripción

### 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_

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
python, pytorch
Área
machine-learning
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
25/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.