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 not starting if updated, on runpod #1

Open
sdk401 opened this issue Aug 7, 2024 · 5 comments
Open

OneTrainer not starting if updated, on runpod #1

sdk401 opened this issue Aug 7, 2024 · 5 comments

Comments

@sdk401
Copy link

sdk401 commented Aug 7, 2024

First of all, "auto-update" variable is set to "false" by default, so the installed OneTraineris out of date. When I changed it to "true", OneTrainer broke, does not start and gives this error in the log:

Traceback (most recent call last):
File "/workspace/OneTrainer/scripts/train_ui.py", line 5, in
from modules.ui.TrainUI import TrainUI
File "/workspace/OneTrainer/modules/ui/TrainUI.py", line 12, in
from modules.trainer.GenericTrainer import GenericTrainer
File "/workspace/OneTrainer/modules/trainer/GenericTrainer.py", line 20, in
from modules.dataLoader.BaseDataLoader import BaseDataLoader
File "/workspace/OneTrainer/modules/dataLoader/BaseDataLoader.py", line 6, in
from modules.dataLoader.mixin.DataLoaderMgdsMixin import DataLoaderMgdsMixin
File "/workspace/OneTrainer/modules/dataLoader/mixin/DataLoaderMgdsMixin.py", line 6, in
from mgds.PipelineModule import PipelineState
ImportError: cannot import name 'PipelineState' from 'mgds.PipelineModule' (/opt/OneTrainer/src/mgds/src/mgds/PipelineModule.py)

Tried with couple of different pods with same result.

@robballantyne
Copy link
Member

Yeah it's broken and I haven't updated it lately because the underlying desktop image needed drastic improvement. Fortunately, that's about done so should get some attention over the next few days

@sdk401
Copy link
Author

sdk401 commented Aug 7, 2024

Thanks! Would be nice to have updated version.

@gitwittidbit
Copy link

I am running this locally and I am not updating it but am getting the same error message. Everything works up to the point when I click on OneTrainer on the desktop. It briefly opens and then closes again and at about the same time I am seeing error message OP posted above in the logs.

Is this the same issue or is there a new problem?

@leinad13
Copy link

Any update on this? The image is great - but I need to use a newer version of OneTrainer

@robballantyne
Copy link
Member

Any update on this? The image is great - but I need to use a newer version of OneTrainer

If running in cloud it's probably better to run the Linux Desktop image and manually install one trainer. I will update this image eventually but it may be better if I provide install scripts for the base Desktop instead. That will be easier to maintain. Would that work for you?

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

No branches or pull requests

4 participants