Comments (11)
Awesome, I will add the info to the readme to point users to it.
from kohya_ss.
I just ran everything in ubuntu and it requires very little changes to get it to work properly. There's just 2 lines of code needed in lora_gui.py
- run_cmd = f'accelerate launch --num_cpu_threads_per_process={num_cpu_threads_per_process} "train_network.py"'
+ run_cmd = f'accelerate launch --num_cpu_threads_per_process={num_cpu_threads_per_process} train_network.py'
- subprocess.run(run_cmd)
+ subprocess.run(run_cmd,shell=True)
and a new file gui.sh
#!/bin/bash
source venv/bin/activate
python kohya_gui.py $@
In the setup, skip copying bitsandbytes files and replacing windows commands with the linux counterpart can get it working.
If you haven't already sudo apt install python3-tk
from kohya_ss.
Ok, I may contribute code in the future as well.
from kohya_ss.
Hello to everyone, we added more instructions and we updated to the last updates as they all passed our quality control.
Feel free to ask for any help in the issues panel of the linux repository.
@bmaltais @runner22k @developer90210brr @narugo1992
from kohya_ss.
Sorry, I focus mostly on Windows. If someone can create one it would be awesome and I will add it to the repo... but I think some of the python code will need to be adjusted to work for both linux and Windows...
from kohya_ss.
Currently porting the repository to Linux (still WIP): https://github.com/P2Enjoy/kohya_ss
from kohya_ss.
I've created the repo tandem of the linux version here: it's a docker https://github.com/P2Enjoy/kohya_ss-docker
from kohya_ss.
Wow! I want Linux version. As it is based on Python, I tried to run it in Linux. But it is unable to find files. I am not a developer. But if I get to see a reference code or given a specific python script to convert to Linux. Then I can try to help, I can google and find solutions as much as I can based on errors and help with correcting and testing on Linux.
from kohya_ss.
would be nice if someone can make a notebook for it on paperspace as i only have a 1070 and i dont have enough vram (8gb) even as much optimized as i can get still run out on lora training so would be super nice to be able to use a quadro rtx5000 on paperspace or something
from kohya_ss.
Linux docker have been updated with latest changes
from kohya_ss.
I incorporated everything I mentioned into a script here #288
Rather than using that commit as-is, I recommend taking that, removing the sed commands, and merging it together with #272
from kohya_ss.
Related Issues (20)
- RuntimeError: main thread is not in main loop HOT 2
- sd-scripts merged PR for passing args to WandB into Dev Branch--Please add option into kohya_ss Dev HOT 8
- avr_loss=nan
- Debian 12 is the new for this HOT 3
- logging wandb is now worst
- Pytorch version inconsistency on google colab notebook
- Bad file descriptor in git clone
- BLIP2 captioning doesn't see .webp files (with patch) HOT 1
- Relationship between toml and json config files HOT 3
- I get an error message that a url: /api/models/stabilityai/stable-diffusion-xl-base-1.0 is missing when i start lora training local on windows without internet. HOT 1
- TypeError: environment can only contain strings
- 49 sec/it on 4090 HOT 3
- ValueError: Key backend: 'module://matplotlib_inline.backend_inline' is not a valid value for backend
- assert abs_path is not None, f"no image / 画像がありません: {image_key}" HOT 1
- Didn't change anything, Lora training spits out non-zero exit status 1 json error? HOT 1
- ValueError: Too many values to unwrap (expected 2)...how to fix
- {Help} Network Rank Slider and No Half VAE checkbox is not showing up in my Kohya_ss after Installation. HOT 1
- AttributeError: 'NoneType' object has no attribute 'dtype' HOT 2
- Additional Parameters "Scheduler args" NOT Saved in Toml file AND NOT passed HOT 8
- No json files on training HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kohya_ss.