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

Permission Error: [Errno 13] Permission denied #1113

Closed
sTiKyt opened this issue Jul 2, 2023 · 6 comments
Closed

Permission Error: [Errno 13] Permission denied #1113

sTiKyt opened this issue Jul 2, 2023 · 6 comments

Comments

@sTiKyt
Copy link

sTiKyt commented Jul 2, 2023

image
image
image
image

@sTiKyt sTiKyt changed the title Traceback, need help figuring out Permission Error: [Errno 13] Permission denied Jul 2, 2023
@chrismelbourne
Copy link

Are you on a Mac? If so you shouldn't be running CUDA, or even bitsandbytes (which uses CUDA).

@sTiKyt
Copy link
Author

sTiKyt commented Jul 3, 2023

Are you on a Mac? If so you shouldn't be running CUDA, or even bitsandbytes (which uses CUDA).

No, i'm on Arch Linux

And this one works just fine:
https://github.com/easydiffusion/easydiffusion

Just in case in matters, but i want to train some LoRA models myself

@TehNomad
Copy link

TehNomad commented Jul 4, 2023

I have the same error with Arch Linux and I'm also using LightDM. It only happens to me with the Adam8Wbit optimizer, DAdaptAdam works fine for me.

@sTiKyt
Copy link
Author

sTiKyt commented Jul 4, 2023

I have the same error with Arch Linux and I'm also using LightDM. It only happens to me with the Adam8Wbit optimizer, DAdaptAdam works fine for me.

Dude, thanks a lot, you have no idea how much you just helped me xD

I'm just experimenting and don't really understand most of the things i'm doing so i would never try changing optimizer to fix that crap, now it seems to be training as expected
image

@sTiKyt
Copy link
Author

sTiKyt commented Jul 4, 2023

I have the same error with Arch Linux and I'm also using LightDM. It only happens to me with the Adam8Wbit optimizer, DAdaptAdam works fine for me.

Dude, thanks a lot, you have no idea how much you just helped me xD

I'm just experimenting and don't really understand most of the things i'm doing so i would never try changing optimizer to fix that crap, now it seems to be training as expected image

Could you explain what does optimizer even do and where to look while picking one?

@TehNomad
Copy link

TehNomad commented Jul 5, 2023

The optimizer is the algorithm that adjusts the parameters of your model during training to improve its accuracy. Check out this document for how to use dAdapatation:
https://rentry.org/LazyDAdaptationGuide

bmaltais pushed a commit that referenced this issue Feb 18, 2024
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

4 participants