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

Generate sample images without having CUDA (such as on Macs) #1433

Merged
merged 1 commit into from
Sep 7, 2024

Conversation

millie-v
Copy link
Contributor

Hello!

This is a quick fix that allows sample images to be generated for those (like me) who are on Mac or otherwise don't have CUDA. It just adds if statements to skip the CUDA specific commands if it isn't available.

Fixes: #390

@kohya-ss kohya-ss changed the base branch from main to dev September 7, 2024 01:17
@kohya-ss kohya-ss merged commit 319e4d9 into kohya-ss:dev Sep 7, 2024
@kohya-ss
Copy link
Owner

kohya-ss commented Sep 7, 2024

Thank you for this and sorry for the delay!

@kohya-ss kohya-ss mentioned this pull request Jan 17, 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.

Error at generating a sample preview image in training Lora (MAC)
2 participants