Add Batch mode + Limit calculation#36
Open
wizz13150 wants to merge 1 commit intoAUTOMATIC1111:masterfrom
Open
Conversation
Clean version
Author
|
The only thing Still ToDo (as i can tell) :
Not sure yet how to take this one, tho. 🤨🤔I won't touch this, I just set 'None' as 'SD Unet' setting, to un-link during conversion. I can see people here and there able to convert to trt using 640*640 at batch 2, i don't understand this, as it exceed the limit for me. |
This was referenced Jul 20, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Hey,
Repost of the previous messy PRs.
A batch mode would be appreciated.
Obviously not a python expert, lol.
Convert everything in 5-8 clicks:
This way, using default folders, it will convert all the files in the 'Stable-Diffusion' folder to .onnx in the 'Unet-onnx' folder, and then automatically start to convert to .trt in the 'Unet_trt' folder. Kind of queued.
And Voilà !
The 'Unet-onnx' and 'Unet-trt' folders are now populated with all the available .ckpt and .safetensors models in the 'Stable-Diffusion' folder.
Screen for the 'Convert to ONNX' tab :
Screen for the 'Convert ONNX to TensorRT' tab :
I mean, it worked for me, lol.
Cheers ! 🥂