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

OneTrainer won't launch on Linux #761

Closed
genevera opened this issue Jul 13, 2024 · 6 comments
Closed

OneTrainer won't launch on Linux #761

genevera opened this issue Jul 13, 2024 · 6 comments
Labels
stale Stale issue or inactive for long period of time

Comments

@genevera
Copy link

I get the following error output from OneTrainer along with an exit code of 134.

[xcb] Unknown sequence number while appending request
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
python3: ../../src/xcb_io.c:157: append_pending_request: Assertion `!xcb_xlib_unknown_seq_number' failed.
@genevera genevera changed the title OneTrainer won't launch OneTrainer won't launch on Linux Jul 13, 2024
@geonom
Copy link

geonom commented Jul 14, 2024

For me at least, I get the error with OneTrainer at startup - but also Kohya_ss has the same issue as soon as I hit the button to load a model from a folder (or most other buttons except for "refresh"):

-------- [xcb] Unknown sequence number while appending request [xcb] Most likely this is a multi-threaded client and XInitThreads has not been called [xcb] Aborting, sorry about that. python3: ../../src/xcb_io.c:157: append_pending_request: Assertion !xcb_xlib_unknown_seq_number' failed.`

So the first button is okay and works. All other buttons lead to the crash:
image

Quickly installed Kohya_ss from git directly (without Stability Matrix) - that seems to work fine.

@noidedxyz
Copy link

I'm on arch and having the same issue. I have not tried to manually install it yet, though.

@noidedxyz
Copy link

Okay I have fixed this for myself. What I did was manually install OneTrainer with python3.10 (from the AUR) and then copying and pasting that installation into Stability's "packages" folder. I think the problem here is Stability assumes your native python installation is 3.10, I might be wrong but either way it works now.

@genevera
Copy link
Author

I wound up installing it manually using a fresh and isolated virtual env and it was def kind of a pain. I think there are conflicting packages in the SM venv that cause this one to not work. Also the pytorch it wants to install is linked to cuda 11.8 so if you have 12.X that could be a problem too maybe? Speculating.

Copy link

This issue is stale because it has been open 30 days with no activity. Remove the stale label or comment, else this will be closed in 5 days.

@github-actions github-actions bot added the stale Stale issue or inactive for long period of time label Aug 15, 2024
Copy link

This issue was closed because it has been stale for 5 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 20, 2024
mohnjiles pushed a commit to LykosAI/StabilityMatrix-Dev that referenced this issue Sep 18, 2024
Add InstalledPackage, Options, and Cancellation support to BasePackage methods & refactors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Stale issue or inactive for long period of time
Projects
None yet
Development

No branches or pull requests

3 participants