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

Force load clip and others in GPU? #556

Open
FNsi opened this issue Jan 8, 2025 · 4 comments
Open

Force load clip and others in GPU? #556

FNsi opened this issue Jan 8, 2025 · 4 comments

Comments

@FNsi
Copy link

FNsi commented Jan 8, 2025

Have an amd iGPU with rocm installed, but the clip loaded in ram by default,
Any ideas?

@stduhpf
Copy link
Contributor

stduhpf commented Jan 8, 2025

Clip is forced to CPU for models with t5 encoder (SD3.x/Flux). Is that what you're using?

@FNsi
Copy link
Author

FNsi commented Jan 8, 2025

Clip is forced to CPU for models with t5 encoder (SD3.x/Flux). Is that what you're using?

Yes, that's it. Any clue?

@stduhpf
Copy link
Contributor

stduhpf commented Jan 8, 2025

Well I don't know exactly why that is, all I know is that when i tried to change that, it would crash. I guess the current implementation of t5 doesn't work with gpu or something, I haven't looked too deep into it.

@FNsi
Copy link
Author

FNsi commented Jan 8, 2025

Well I don't know exactly why that is, all I know is that when i tried to change that, it would crash. I guess the current implementation of t5 doesn't work with gpu or something, I haven't looked too deep into it.

Might need backend_test_ops like llama.cpp to test it?

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

No branches or pull requests

2 participants