Repository navigation
comfyui-v2.4.1
fix: CON-1467 say when a venv SageAttention overrides the pre-installed one (#240)
A SageAttention wheel in the ComfyUI venv takes precedence over the one in
the image, and the startup log only warned when it was an older release. A
newer release built for another PyTorch or CUDA still got a NOTE, for
example 2.3.0+torch2.9.0.cu126 over our 2.2.0+torch2.10.0.cu128.sm90fix1.
That wheel fails at import with an undefined symbol whatever its version
number, so the release is the wrong thing to compare. The build tag is
what decides whether it loads.
The log now reads the torch version and CUDA from the build tag
(+torch2.10.0.cu128). If they differ from the image's, it prints a
WARNING that names both builds. A wheel with no build tag (a source build,
or the 1.x release on PyPI) gets its own WARNING, because it cannot be
checked. A suffix such as sm90fix1 is not compared: the same torch and
CUDA means the same ABI. NOTE now only appears for a different version
built for this image's torch and CUDA. Every WARNING prints the
pip uninstall command that brings the pre-installed wheel back, and an
identical copy or no copy at all still logs nothing.
Full Changelog: comfyui-v2.4.0...comfyui-v2.4.1