Skip to content

Title: [Bug]: Spectrum + ControlNet conflict - TypeError: unsupported operand type(s) for /: 'int' and 'NoneType' in forecaster.py #3104

@Marek778-ops

Description

@Marek778-ops

Body:
Describe the bug:
When both Spectrum Integrated and ControlNet Integrated are enabled, generation fails with a TypeError in forecaster.py.
Error log:
File "...webui\extensions-builtin\sd_forge_spectrum\lib_spectrum\forecaster.py", line 21, in _taus
return (t / self.t_max) * 2.0 - 1.0
TypeError: unsupported operand type(s) for /: 'int' and 'NoneType'
Steps to reproduce:
Enable Spectrum Integrated.
Enable any ControlNet unit (e.g., Canny).
Click Generate.
Environment:
Forge Neo v3.2
Python 3.10+
Windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions