---
title: Stable Diffusionスタートガイド修正 - 最新のGoogle Colab 2025.10に対応 SD黄色本
description: Google Colabの最新バージョン2025.10に対応したStable Diffusionスタートガイドの修正について解説します。
---

[AICU](https://corp.aicu.ai/ja)

# [Stable Diffusionスタートガイド修正 - 最新のGoogle Colab 2025.10に対応 SD黄色本](https://corp.aicu.ai/ja/20251224-stable-diffusion)

 作成者: [AICU Japan](https://corp.aicu.ai/ja/author/aidx-lab)｜2025/12/25 19:14:44 Z

「SD黄色本」として親しまれている書籍「画像生成AI Stable Diffusion スタートガイド」に付属のAUTOMATIC1111(A1111)が動作しない状況がありましたので修正報告です。原因として、2025.10からGoogle ColabがPython 3.12に更新されました。

## 現象: Start Stable-Diffusionで起動できない

<https://assets.st-note.com/img/1766617224-HOGVu9mXtnwCEg1efxvp2yDo.png?width=2000&height=2000&fit=bounds&quality=85>

## 簡単な解決策: ランタイムの変更を試す

まずこの手の問題が起きた時に、試してみてほしい手法は「ランタイムバージョンの変更」です。Colabメニューの「ランタイム」→「ランタイムのタイプを変更」から「ランタイムバージョン」を「2025.7」など過去の環境にすることで、動作する可能性があります。

<https://assets.st-note.com/img/1766617224-FP0lndjvUrOXRy19sL4whKet.png?width=2000&height=2000&fit=bounds&quality=85> <https://assets.st-note.com/img/1766617224-bcQJSa59mzdVZnBOe7DW4q3p.png?width=2000&height=2000&fit=bounds&quality=85>

実際のところ、過去のランタイムバージョンに切り替えても、依存している他のライブラリの更新が関係しており、起動には修正が必要でした。

なおGoogleによると、以前のランタイム バージョンはリリースから 1 年間利用できるそうです。現在の最新版は以下のような環境です。

「2025.10」  
Ubuntu 22.04.4 LTS, **Python 3.12.12**, numpy 2.0.2, PyTorch 2.8.0, Jax 0.5.3, TensorFlow 2.19.0（TPU ランタイムには含まれません）, R version 4.5.1 (2025-06-13) -- "Great Square Root",  julia version 1.11.5

このページで報告されるようになったようです。  
[https://research.google.com/colaboratory/runtime-version-faq.html](https://research.google.com/colaboratory/runtime-version-faq.html#)

「2025.7」からの大きな修正点は「**Python 3.11.13**」では無くなった、という点です。A1111で長年使われてきた 3.10/3.11から早めに移行が始まっています。

[https://corp.aicu.ai/ja/code20240522](https://corp.aicu.ai/ja/code20240522?hsLang=ja)

原作者・TheLastBen氏による対応

本書で扱っているA1111はTheLastBen氏による「fast-stable-diffusion」としてメンテナンスされているものです。今回のColab自身のPython 3.11への移行を受けて、ベースになる環境そのものの移行が実施されました。  
こちらのリンクにて最新のGoogle Colabにて動作します。

[https://colab.research.google.com/github/TheLastBen/fast-stable-diffusion/blob/main/fast\_stable\_diffusion\_AUTOMATIC1111.ipynb](https://colab.research.google.com/github/TheLastBen/fast-stable-diffusion/blob/main/fast_stable_diffusion_AUTOMATIC1111.ipynb)

## j.aicu.ai/SBXL1 を更新しました

TheLastBen版 Python 3.12対応版をベースに再構築、[ぶるぺん氏のTruePencil, MelloPencil](https://j.aicu.ai/251106) のモデルダウンロードを追加

<https://assets.st-note.com/img/1766626049-MLG16AiuCv4DJVUpI38S5wte.png?width=2000&height=2000&fit=bounds&quality=85>

動作確認です。  
AUTOMATIC1111でMellow Pencilが動いています。

<https://assets.st-note.com/img/1766626105-HaINxu6UwojzGrEPSDpOfLMq.png?width=2000&height=2000&fit=bounds&quality=85> <https://assets.st-note.com/img/1766626025-mQrgatYL81pdivxkEGufyqT9.png?width=2000&height=2000&fit=bounds&quality=85> <https://assets.st-note.com/img/1766626025-UErZoVhLGSlD12wdube6JH7n.png?width=2000&height=2000&fit=bounds&quality=85> <https://assets.st-note.com/img/1766626025-9sZR7YHK1CJ4IEtjTr3piWMF.png?width=2000&height=2000&fit=bounds&quality=85>

以下はいただいた質問（検索ヒット用）です

以下のようなエラーで「Start Stable Diffusion」から先が動きません

> WARNING: All log messages before absl::InitializeLog() is called are written to STDERR E0000 00:00:1766614971.818628 2740 cuda\_dnn.cc:8579\] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered E0000 00:00:1766614971.832965 2740 cuda\_blas.cc:1407\] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered W0000 00:00:1766614971.861386 2740 computation\_placer.cc:177\] computation placer already registered. Please check linkage and avoid linking the same target more than once. W0000 00:00:1766614971.861410 2740 computation\_placer.cc:177\] computation placer already registered. Please check linkage and avoid linking the same target more than once. W0000 00:00:1766614971.861416 2740 computation\_placer.cc:177\] computation placer already registered. Please check linkage and avoid linking the same target more than once. W0000 00:00:1766614971.861419 2740 computation\_placer.cc:177\] computation placer already registered. Please check linkage and avoid linking the same target more than once. Traceback (most recent call last): File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/webui.py", line 13, in <module> initialize.imports() File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/initialize.py", line 23, in imports import gradio # noqa: F401 ^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/dist-packages/gradio/\_\_init\_\_.py", line 3, in <module> import gradio.components as components File "/usr/local/lib/python3.12/dist-packages/gradio/components/\_\_init\_\_.py", line 1, in <module> from gradio.components.annotated\_image import AnnotatedImage File "/usr/local/lib/python3.12/dist-packages/gradio/components/annotated\_image.py", line 13, in <module> from gradio.components.base import IOComponent, \_Keywords File "/usr/local/lib/python3.12/dist-packages/gradio/components/base.py", line 20, in <module> from fastapi import UploadFile File "/usr/local/lib/python3.12/dist-packages/fastapi/\_\_init\_\_.py", line 7, in <module> from .applications import FastAPI as FastAPI File "/usr/local/lib/python3.12/dist-packages/fastapi/applications.py", line 15, in <module> from fastapi import routing File "/usr/local/lib/python3.12/dist-packages/fastapi/routing.py", line 22, in <module> from fastapi import params File "/usr/local/lib/python3.12/dist-packages/fastapi/params.py", line 4, in <module> from pydantic.fields import FieldInfo, Undefined ImportError: cannot import name 'Undefined' from 'pydantic.fields' (/usr/local/lib/python3.12/dist-packages/pydantic/fields.py)

 

Originally published at [note.com/aicu](https://note.com/aicu/n/n32f2c8c63cbc) on Dec 24, 2025.

  

 

[完全な記事を表示](https://corp.aicu.ai/ja/20251224-stable-diffusion)

```json
{
  "@context" : "http://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "AICU Japan"
  },
  "dateModified" : "2025-12-25T19:14:44.990Z",
  "datePublished" : "2025-12-25T19:14:44Z",
  "headline" : "Stable Diffusionスタートガイド修正 - 最新のGoogle Colab 2025.10に対応 SD黄色本",
  "image" : {
    "@type" : "ImageObject",
    "height" : 670,
    "url" : "https://corp.aicu.ai/hubfs/rectangle_large_type_2_1a670f1d22774e76a7ef21d24dba2ca0.webp",
    "width" : 1280
  },
  "mainEntityOfPage" : "https://corp.aicu.ai/ja/20251224-stable-diffusion",
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "height" : 60.0,
      "url" : "https://corp.aicu.ai/hubfs/AICU-Transp-512x512.png",
      "width" : 60.0
    },
    "name" : "AICU"
  }
}
```