GithubHelp home page GithubHelp logo

happenmass / stable-diffusion-webui-tensorrt-sdxl Goto Github PK

View Code? Open in Web Editor NEW
11.0 11.0 0.0 42 KB

Stable-diffusion-WebUI extensions, which enable tensorrt accelerated Unet for SDXL base model

License: GNU General Public License v3.0

Python 100.00%

stable-diffusion-webui-tensorrt-sdxl's People

Contributors

happenmass avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

stable-diffusion-webui-tensorrt-sdxl's Issues

AttributeError: 'NoneType' object has no attribute 'set_binding_shape'

i use linux ,follow the steps,and not using Use half floats to generate Unet.plan file,but when I drew the picture, the above error appeared : AttributeError: 'NoneType' object has no attribute 'set_binding_shape' in
File "/root/stable-diffusion-webui/modules/sd_unet.py", line 89, in UNetModel_forward
return current_unet.forward(x, timesteps, context, *args, **kwargs)
File "/root/stable-diffusion-webui/extensions/stable-diffusion-webui-tensorr-sdxl/scripts/trt_sdxl.py", line 91, in forward
noise_pred = self.infer({"x": x, "timesteps": timesteps, "context": context[:,:154,:], "y":y[:,:1280]})
File "/root/stable-diffusion-webui/extensions/stable-diffusion-webui-tensorr-sdxl/scripts/trt_sdxl.py", line 86, in infer
self.allocate_buffers(batch_size, image_width, image_height)
File "/root/stable-diffusion-webui/extensions/stable-diffusion-webui-tensorr-sdxl/scripts/trt_sdxl.py", line 65, in allocate_buffers
self.engine.allocate_buffers(shape_dict=get_shape_dict(batch_size, image_height, image_width),
File "/root/stable-diffusion-webui/extensions/stable-diffusion-webui-tensorr-sdxl/utilities.py", line 270, in allocate_buffers
self.context.set_binding_shape(idx, shape)

无法打开包括文件: “nvtx3/nvToolsExt.h”

"D:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.37.32822\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -IC:\Users\Administrator\AppData\Local\Programs\Python\Python310 "-ID:\S
table diffusion\stable-diffusion-webui\venv\include" -IC:\Users\Administrator\AppData\Local\Programs\Python\Python310\include -IC:\Users\Administrator\AppData\Local\Programs\Python\Python310\Include "-ID:\Program Files (x86)\Mic
rosoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.37.32822\include" "-ID:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\uc
rt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\cppwinrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /Tcnvtx_lib\lib.c /Fobuild\temp.win-amd64-cpython-310\Release\nvtx_lib\lib.obj
lib.c
nvtx_lib\lib.c(1171): fatal error C1083: 无法打开包括文件: “nvtx3/nvToolsExt.h”: No such file or directory
error: command 'D:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.37.32822\bin\HostX86\x64\cl.exe' failed with exit code 2
[end of output]

Can I use this plug-in in window 11?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.