Giter Site home page Giter Site logo

Comments (9)

alexbofa avatar alexbofa commented on August 23, 2024 1

fix: #75

UPD: Doesn't work as I would like

from stable-diffusion-webui-tensorrt.

ENHEL686 avatar ENHEL686 commented on August 23, 2024

Similarly, to use "Advanced Settings" you must first create a "deffault", otherwise the error "No ONNX file found. Exporting ONNX..."
i not use medvram flag or lowvram
and i tried #75 (comment)
This did not fix the problem

from stable-diffusion-webui-tensorrt.

SiuLeeBoss avatar SiuLeeBoss commented on August 23, 2024

I encountered the same problem and also tried #75 (comment), but it didn't solve the problem.
My graphics card is 1070

from stable-diffusion-webui-tensorrt.

helloansuman avatar helloansuman commented on August 23, 2024

Similarly, to use "Advanced Settings" you must first create a "deffault", otherwise the error "No ONNX file found. Exporting ONNX..." i not use medvram flag or lowvram and i tried #75 (comment) This did not fix the problem

Remove --medvram helped

from stable-diffusion-webui-tensorrt.

MorrisLu-Taipei avatar MorrisLu-Taipei commented on August 23, 2024

same error here
linux w/installed n-driver 545.84
Launching Web UI with arguments: --xformers --listen --enable-insecure-extension-access (no --medvram needed w/3090)
done >> pip install onnxruntime
done >> pip install colored

No ONNX file found. Exporting ONNX...
Traceback (most recent call last):
File "/home/wrt/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/routes.py", line 422, in run_predict
output = await app.get_blocks().process_api(
File "/home/wrt/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/blocks.py", line 1323, in process_api
result = await self.call_function(
File "/home/wrt/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/blocks.py", line 1051, in call_function
prediction = await anyio.to_thread.run_sync(
File "/home/wrt/stable-diffusion-webui/venv/lib/python3.10/site-packages/anyio/to_thread.py", line 33, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "/home/wrt/stable-diffusion-webui/venv/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 877, in run_sync_in_worker_thread
return await future
File "/home/wrt/stable-diffusion-webui/venv/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 807, in run
result = context.run(func, *args)
File "/home/wrt/stable-diffusion-webui/extensions/Stable-Diffusion-WebUI-TensorRT/ui_trt.py", line 134, in export_unet_to_trt
gr.Info("No ONNX file found. Exporting ONNX... Please check the progress in the terminal.")
AttributeError: module 'gradio' has no attribute 'Info'

from stable-diffusion-webui-tensorrt.

MorrisLu-Taipei avatar MorrisLu-Taipei commented on August 23, 2024

, after checked,
Magic, gradio upgrade to gradio: 3.41.0 . IT WORKS NOW.

from stable-diffusion-webui-tensorrt.

HighSodium avatar HighSodium commented on August 23, 2024

I was running into the same issues, even with -medvram removed.
I updated my pytorch and xformers in the launch parameters (with --reinstall-torch and reinstall-xformers respectively) to update to pytorch 2.0.1 and xformers 2.0 and the default trt built successfully.
https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Command-Line-Arguments-and-Settings

It seems to not like building with older versions, at least for me. I'm running a 4080.

from stable-diffusion-webui-tensorrt.

BlankFX1 avatar BlankFX1 commented on August 23, 2024
  • Never used TensorRT with --medvram.
  • Tried to update pytorch and xformers (while not even using it too) with --reinstall torch and --reinstall-xformers

Still getting errors ending with
SystemExit: None or No ONNX file found. Exporting ONNX... Disabling attention optimization.

from stable-diffusion-webui-tensorrt.

zap95421 avatar zap95421 commented on August 23, 2024

Try disabling different extensions. I had the Hypernetwork MonkeyPatch from a long time ago still enabled and that was causing issues with mine. Everything worked when I disabled it.

from stable-diffusion-webui-tensorrt.

Related Issues (20)

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.