Skip to content

OneTrainer not starting if updated, on runpod #1

@sdk401

Description

@sdk401

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions