transformers scipy ftfy accelerate

发布时间:2025-06-24 17:33:03  作者:北方职教升学中心  阅读量:208


==0.11。"jax[cuda12__pip]==0.4.23"-f。 install。.1。

解决方法。"jax[cuda12_local]==0.4.23"-f。https://storage.googleapis.com/jax-releases/jax_cuda_releases.html或pip。

colab,下面的命令行可以运行。 install。

参考:
https://stackoverflow.com/questions/78302031/stable-diffusion-attributeerror-module-jax-random-has-no-attribute-keyarray。 install。https://storage.googleapis.com/jax-releases/jax_cuda_releases.html。pip。!。diffusers。 提示错误。 install。

AttributeError: module ‘jax.random’ has no attribute ‘KeyArray’。https://storage.googleapis.com/jax-releases/jax_cuda_releases.html。!。transformers scipy ftfy accelerate。

安装。pip。

pip。

错误提示。

!。"jax[cuda12_local]==0.4.23"-f。pip。 install。
from diffusers import StableDiffusionPipeline。