Skip to content

Use enable_gradient_checkpointing() for flux#244

Closed
jhj0517 wants to merge 1 commit into
ostris:mainfrom
jhj0517:fix/gradient-checkpointing
Closed

Use enable_gradient_checkpointing() for flux#244
jhj0517 wants to merge 1 commit into
ostris:mainfrom
jhj0517:fix/gradient-checkpointing

Conversation

@jhj0517

@jhj0517 jhj0517 commented Jan 28, 2025

Copy link
Copy Markdown

Thank you for your amazing work 😚.

Related Issues / PRs

Summarize Changes

@firofame

Copy link
Copy Markdown

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

kx221005 commented Feb 3, 2025

Copy link
Copy Markdown

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?

@github-actions

Copy link
Copy Markdown

This pull request has been automatically closed due to inactivity. It has had no activity for 6 months.

If this PR is still relevant, please feel free to reopen it with updated information or context. We apologize for any inconvenience.

@github-actions github-actions Bot closed this Mar 25, 2026
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