NokiMo
Aitrepreneur
Aitrepreneur

patreon


1-Click INSTALL Ai-TOOLKIT KONTEXT LORA TRAINING!

Hey everyone! I've created a 1-click installer for the newest "ULTIMATE KONTEXT LORA TRAINING Ai-TOOLKIT WEBUI". Simply one of THE BEST Ai model training Webui I have ever seen! Made specifically for complete beginners! And you can train any LoRA for any model you want, including now for Kontext! … It's just amazing!

You can check out the video right here: https://youtu.be/s9eXc8PmOos

The installer of course automates the entire install process!

LOCAL INSTALL!!! RECOMMENDED TO HAVE AT LEAST 24GB OF VRAM FOR THE KONTEXT LORA TRAINING! I know....I know...but if it's an issue, definitely use the Runpod installer instead, that's what I'm personally using even though I have 24Gb of vram as well!


Local install:

Requisites:
– CUDA 12.8 (RTX-50) OR CUDA 12.6 (RTX-40/30/20/GTX)

– Git, Python 3.10 64-bit, Node 18/20 LTS

1. Download the AI-TOOLKIT-KONTEXT_AUTO_INSTALL.bat and place it in a folder WITHOUT any spaces in the path!!!

2. Run the bat file and select either option 1 or 2 depending on your GPU

3. Wait for the install to finish

4. ???

5. Profit 😎

Use then one of the launcher once you have closed the ui and you want to restart it.



RUNPOD:

1. Create an account if you haven't already: Runpod

2. Click on Pod (on the left side) then click deploy

3. Choose a 5090 GPU (preferably), and chose the pytorch 2.8.0 then edit the template and choose 100GB for both the container and volume disk, then under expose ports, edit:
8888 into 8888, 8675. Then go into environment variables below, click add and then type:
AI_TOOLKIT_AUTH on the left then type a password on the right
then scroll then and deploy.

4. Go to my pods, wait for everything to finish and then click "connect", then "Connect to HTTP SERVICE port 8888"

5. Then drag and drop the AI-TOOLKIT_AUTO_INSTALL-RUNPOD.sh file on the left side of the UI then click on the "Terminal" icon on the right side on the UI

6. Copy and paste these two lines then press enter:

chmod +x AI-TOOLKIT_AUTO_INSTALL-RUNPOD.sh

./AI-TOOLKIT_AUTO_INSTALL-RUNPOD.sh

7. Wait for everything to be installed

8. Go back to the port 8675 and click on it to launch the webui then enter your password you created previously


IF YOU WANT TO RESTART THE UI AFTER STOPPING AND RESTARTING THE POD

Use the same

chmod +x AI-TOOLKIT_AUTO_INSTALL-RUNPOD.sh

./AI-TOOLKIT_AUTO_INSTALL-RUNPOD.sh

command as you did for the install

but keep in mind that now your samples images will be located in:
/workspace/ai-toolkit/datasets/samples/samples_1.jpg



As always, supporting me on Patreon allows me to keep creating helpful resources like this for the community. Thank you for your support - now go have some fun😉!

1-Click INSTALL Ai-TOOLKIT KONTEXT LORA TRAINING!

Comments

I rented a RTX 5090 on Runpod and i'm having the same issue as when I made some trainings with a Pro 6000 is that sometimes the GPU just stop suddenly working and just stay at zero with no apparent reason. I then need to stop the training and restart it. Does it happen to you sometimes ? Thx

ElecMat

hmm weird indeed, any error in the cmd window?

Aitrepreneur

I followed your video exactly. But for me I noticed when I tried running the Kontext training all my samples say step: 0. I went round and round with ChatGPT. Regardless, I made all of my pics jpg's. And put a phrase similar to your Gigachad. And all my samples, even with my GPU(RTX 3090 24GB) churning for 2.5 hours, steps: 0 !! TIA, James

James Bowler

Same here

Ron Lawrence

this morning it doesn't work anymore on runpod, I follow as usual this beautiful tuto, but this time on jupiter, after being ask which type of computer I use (I type 1 ) the log stop after this: ... Get:21 http://archive.ubuntu.com/ubuntu jammy-backports/main amd64 Packages [83.2 kB] Get:22 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages [35.2 kB] Fetched 40.3 MB in 2s (16.1 MB/s) Reading package lists... Done E: Failed to fetch https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/Packages.gz File has unexpected size (1852870 != 1850507). Mirror sync in progress? [IP: 23.205.107.17 443] Hashes of expected file: - Filesize:1850507 [weak] - SHA256:97960e9159be087be063fd3fcd63217a13dcd40b7ae329f38ddcee2541e2406b - SHA1:7baa6fed520300c1fdb5eb10ca02367f0806deb9 [weak] - MD5Sum:4f4f50310c11c9a0ba217aacc75d8f47 [weak] Release file created at: Tue, 22 Jul 2025 19:05:10 +0000 E: Some index files failed to download. They have been ignored, or old ones used instead. is it bad doctor ?

florentruppert2023


Related Creators