NVIDIA / TensorRT

NVIDIA® TensorRT™ is an SDK for high-performance deep learning inference on NVIDIA GPUs. This repository contains the open source components of TensorRT.
https://developer.nvidia.com/tensorrt
Apache License 2.0
10.62k stars 2.11k forks source link

'NoneType' object has no attribute 'is_sdxl' #3924

Open 2477618330 opened 4 months ago

2477618330 commented 4 months ago

File "C:\sd-webui-aki-v4.8\extensions\Stable-Diffusion-WebUI-TensorRT\ui_trt.py", line 64, in export_unet_to_trt is_xl = shared.sd_model.is_sdxl AttributeError: 'NoneType' object has no attribute 'is_sdxl'

lix19937 commented 3 months ago

Check

print( shared.sd_model)