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

Use enable_gradient_checkpointing() for flux #244

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

Conversation

jhj0517
Copy link

@jhj0517 jhj0517 commented Jan 28, 2025

Thank you for your amazing work 😚.

Related Issues / PRs

Summarize Changes

@firofame
Copy link

I have verified that this PR fixes the issue.

git clone -b fix/gradient-checkpointing --single-branch https://github.com/jhj0517/ai-toolkit.git /root/ai-toolkit

@kx221005
Copy link

kx221005 commented Feb 3, 2025

I have verified that this PR fixes the issue.

git clone -b fix/gradient-checkpointing --single-branch https://github.com/jhj0517/ai-toolkit.git /root/ai-toolkit

Can I know what is the proper step? I run these code first only run setup code?

git clone https://github.com/ostris/ai-toolkit.git
cd ai-toolkit
git submodule update --init --recursive
python -m venv venv
source venv/bin/activate
pip install torch
pip install -r requirements.txt
pip install --upgrade accelerate transformers diffusers huggingface_hub #Optional, run it if you run into issues

which line come first?

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 running job: 'NoneType' object is not callable
3 participants