Comments (9)
fix: #75
UPD: Doesn't work as I would like
from stable-diffusion-webui-tensorrt.
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.
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.
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.
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.
, after checked,
Magic, gradio upgrade to gradio: 3.41.0 . IT WORKS NOW.
from stable-diffusion-webui-tensorrt.
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.
- 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.
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)
- how to generate json config file in the LoRA tab. HOT 1
- [branch: Controlnet_V2] ONNX IR model version conflict, how do i downgrade?
- [E] 3: getPluginCreator could not find plugin: InstanceNormalization_TRT version: 1 when building engine with latest TRT_VERSION="10.0.0b6"
- No config file found for You can generate it in the LoRA tab. HOT 3
- Advise to add promt token check in warning report
- [Feature Request] Add a Command Line Interface for the exporter process.
- AttributeError: 'tensorrt_bindings.tensorrt.ICudaEngine' object has no attribute 'get_profile_shape' HOT 2
- How to process a batch of images with ControlNet TensorRT in img2img ?
- Latest version of automatic1111 wont start with this extension installed. HOT 2
- AttributeError: 'NoneType' object has no attribute 'device_memory' HOT 12
- Error Code 3: API Usage Error (Parameter check failed
- Export LoRA to onnx depending on cyberrealistic_v31 can't fit to v1-5-pruned-emaonly_cnet_1846e6c3c239531e.trt
- TensorRT doesn't install on fresh A1111 install on Ubuntu, stuck at install after copy/paste de git link HOT 10
- TensorRT doesn't find Loras from subdirectories HOT 2
- TensorTR extension is building engine with wrong parameters
- may a name mistake in beta version (utilities.py)
- Engines not loading with text size larger than 75 HOT 1
- SD3 TensoRRT (sd3-clip-t5xxlfp8) works perfectly but cannot get SDXL ... HOT 1
- ONNX Export Error: Tensors on Different Devices (CPU and CUDA) HOT 1
- ValueError: __len__() should return >= 0
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stable-diffusion-webui-tensorrt.