Open Dragoy opened 2 months ago
@jaretburkett
aight this fixed it for me: edit: the run_modal.py file to exclude the venv and pycache folders like this:
code_mount = modal.Mount.from_local_dir(
"D:\\Program Files\Stable Diffusion\\FLUX_TRAIN\\modal_com\\ai-toolkit",
remote_path="/root/ai-toolkit",
condition=lambda path: not any(segment in ['venv', '__pycache__'] for segment in path.split(os.sep))
)
source for solution: https://modallabscommunity.slack.com/archives/C06GPR10K9V/p1727882458380109?thread_ts=1725407469.736319&cid=C06GPR10K9V
This is for bugs only
Did you already ask in the discord?
Yes
You verified that this is a bug and not a feature request or question by asking in the discord?
Yes
Describe the bug
The modal version doesn't work:
modal run run_modal.py --config-file-list-str=/root/ai-toolkit/config/modal_train_lora_flux_24gb.yaml
I run it with this command and after a while I get an error:
158 - the patch also doesn't help....