mirror of
https://github.com/vladmandic/automatic
synced 2026-08-26 06:30:44 +02:00
Page:
Python
Pages
AMD MIOpen
AMD ROCm
API
Advanced Install
Benchmark
CHANGELOG
CLI Arguments
CLI Tools
CLiP Skip
Caption
Control HowTo
Control Settings
Control Technical
Debug
Detailer
Dev AICoding
Dev Docs
Dev Extensions
Dev GettingStarted
Dev Hints
Dev Home
Dev Locale
Dev SelfStart
Dev Structure
Dev Theme
Dev UI
DirectML
Docker
Enso
FAQ
FLUX
Features
FramePack
Gated
Getting Started
Google GenAI
HiDream
Home
Hotkeys
HuggingFace
IPAdapter
Ideogram
Installation
Intel ARC
Kanvas
LTX
Launcher
LoRA Technical
LoRA
Loader
MacOS Python
Malloc
MiniMax
Model Loading
Model Support
Models Tab
Models
Networks Search
Networks
Notes
NudeNet
Nunchaku
ONNX Runtime
Offload
OpenVINO
Outpaint
Parameters
Performance Timers
Performance Tuning
Platforms
Process
Profiling
Prompt Enhance
Prompting
Python
Quantization
Reprocess
SD Pipeline How it Works
SD Training Methods
SD XL
SD3
SDNQ Quantization
Schedulers
Scripts
Stability Matrix
Stable Cascade
Styles
Themes
Troubleshooting
Update
Using LCM
VAE
Video
WSL
Wildcards
XYZ Grid
ZLUDA
_ToDo
index
nVidia
Clone
5
Python
Vladimir Mandic edited this page 2026-06-22 15:40:31 +02:00
Table of Contents
Python
Tip
The recommended Python version for SD.Next is
python==3.12
SD.Next supports most current Python versions with some caveats:
python==3.9: End-of-life; compatibility is limited and not validatedpython==3.10: End-of-support; not recommendedpython==3.11: Fully supportedpython==3.12: Fully supported and recommended (most dependencies have pre-compiled wheels)python==3.13: Supported, but some packages lack compatible wheelspython==3.14: Supported experimentally with limited package compatibility
Note
Python experimental versions can be enabled using
--experimentalflag, but expect potential issues and missing features.
Python version check can be skipped using--ignoreflag, but this may lead to installation failures or runtime errors due to incompatible packages.
Compilation Required
Important
Python 3.13 and 3.14 require many packages to be built from source, which requires additional build tools and much longer installation times.
Missing Features
Known missing features with Python 3.13 and 3.14:
insightface: No longer maintained; only provides pre-compiled wheels up topython==3.12. Face swapping features are unavailable until a compatible version is released.rembg: Background removal depends on packages without compatible wheels- Beta sampling: May fail with some samplers due to incompatible
torchsdepackage
Backend Compatibility
Compute backends like torch and onnxruntime have varying support for different Python versions:
- CUDA and ROCm: Under active development; generally good support for all Python versions
- ZLUDA and DirectML: Older and less actively maintained; support for newer Python versions is often delayed or unavailable