Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update gradio_app.py I did it badly and it's not acceptable. Sorry to anyone that's hit the huge slowdown this made to even the stock settings. #93

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

NoviceArtisan
Copy link
Contributor

I messed up. BAD.

The changes i implemented initiall, whilst they DID allow me to massivley increase the quality of the output file, for some reason.. it also caused the whole program to run like garbage, even on the default settings, regardless of the options.. which is a bit dumb on my part. I thought the slowdown was purely cos of me running it harder. Very clearly not!

fooled around a bit and made some more changes (probably a ton more than I needed lol) and it does appear to exhibit correct behaviour and is WAAAY faster now.

Sorry for this total messup!!

Promise this one is good <3

I messed up. BAD.

The changes i implemented initiall, whilst they DID allow me to massivley increase the quality of the output file, for some reason.. it also caused the whole program to run like garbage, even on the default settings, regardless of the options.. which is a bit dumb on my part. I thought the slowdown was purely cos of me running it harder. Very clearly not!

fooled around a bit and made some more changes (probably a ton more than I needed lol) and it does appear to exhibit correct behaviour and is WAAAY faster now. 

Sorry for this total messup!!
@NoviceArtisan
Copy link
Contributor Author

NoviceArtisan commented Feb 13, 2025

Well, either that or just the single change of deleting this line entirely

torch.set_default_device("cpu")

that was meant to be gpu to make sure it ran on gpu only, but typo .. then realised some people might actually want to try run it on cpu so like.. someone please pick deletign the line or adopting the messier changes i've made :)

Sorry again x

YanWenKun added a commit to YanWenKun/Hunyuan3D-2 that referenced this pull request Feb 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant