Skip to content

Errors but TRT works, what is the point? #219

@Adzido

Description

@Adzido

Every time I try to rerender anything (even without using TRT) I get this error:

*** Error running process_batch: C:\Users\AdziOo\stable-diffusion-webui\extensions\Stable-Diffusion-WebUI-TensorRT\scripts\trt.py
Traceback (most recent call last):
File "C:\Users\AdziOo\stable-diffusion-webui\modules\scripts.py", line 742, in process_batch
script.process_batch(p, *script_args, **kwargs)
File "C:\Users\AdziOo\stable-diffusion-webui\extensions\Stable-Diffusion-WebUI-TensorRT\scripts\trt.py", line 302, in process_batch
if self.idx != sd_unet.current_unet.profile_idx:
AttributeError: 'NoneType' object has no attribute 'profile_idx'

How to fix it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions