Possibly incorrect symlink creation for Data\Packages\ComfyUI\models\loras in 2.14.0-pre.1 + 2
What happened?
Error when attempting to inference with a lora when Comfy is in symlink model sharing mode:
The old/working strategy in dev.3 - note that loras in Data\Packages\ComfyUI\models is a symlink:
The new (non-working) strategy in pre.1 and pre.2 - note loras is now an actual folder with two symlinks inside:
Temporary workaround (i.e. restore the old strategy):
[first delete lora folder from SM\Data\Models]
...then...
PS S:\SM\Data\Packages\ComfyUI\models> new-item -Target M:\SM\Data\Models\Lora -Path loras -Type SymbolicLink -Verbose
VERBOSE: Performing the operation "Create Symbolic Link" on target "Destination: S:\SM\Data\Packages\ComfyUI\models\loras".
Directory: S:\SM\Data\Packages\ComfyUI\models
Mode LastWriteTime Length Name
---- ------------- ------ ----
l---- 2025-04-18 05:50 loras -> M:\SM\Data\Models\Lora
Inferencing with a lora now works. Restart of Comfy pkg will overwrite this workaround.
Steps to reproduce
No response
Relevant logs
Version
2.14.0-pre.1 and pre.2
What Operating System are you using?
Windows
Confirming similar breakage with the Linux appimage. It's setting up symlinks for invalid Lora and LyCORIS folders nested under loras. Rearranging my models folder tree to match what it's trying to accomplish doesn't work, either.
[INFO] SharedFolders Deleting existing junction at target /home/rm/StabilityMatrix/Data/Packages/ComfyUI/models/loras/Lora
[INFO] SharedFolders Updating junction link from /home/rm/StabilityMatrix/Data/Models/Lora to /home/rm/StabilityMatrix/Data/Packages/ComfyUI/models/loras/Lora
[INFO] SharedFolders Deleting existing junction at target /home/rm/StabilityMatrix/Data/Packages/ComfyUI/models/loras/LyCORIS
[INFO] SharedFolders Updating junction link from /home/rm/StabilityMatrix/Data/Models/LyCORIS to /home/rm/StabilityMatrix/Data/Packages/ComfyUI/models/loras/LyCORIS
Not sure if it is related, but I get some double nested folders as well, under Windows 11.
This issue is stale because it has been open 60 days with no activity. Remove the stale label or comment, else this will be closed in 7 days.
Can't remove the "stale" label?
I'm not sure if I've implemented a workaround or if the bug is fixed!
This issue is stale because it has been open 60 days with no activity. Remove the stale label or comment, else this will be closed in 7 days.
This issue is stale because it has been open 60 days with no activity. Remove the stale label or comment, else this will be closed in 7 days.
This issue was closed because it has been stale for 7 days with no activity.