-
-
Notifications
You must be signed in to change notification settings - Fork 500
Description
What happened?
I've used Select new Models Folder to move my models to a network share.
The "symlink" models sharing option (in the ComfyUI package three-dots menu) actually creates directory junctions rather than symbolic links which can refer to local volumes but not network drives. The junctions are created successfully but they're inoperative:
OSError: [WinError 4392] The data present in the reparse point buffer is invalid: 'D:\\SM\\Data\\Packages\\ComfyUI\\models\\controlnet\\ControlNet'
I believe symlinks would work for referencing network drives and could potentially replace directory junctions altogether for use within SM. Unfortunately the creation of symlinks requires administrator rights unless the system's local security policy has been modified to permit ordinary users.
I'm happy to help test any ideas for working around this issue.
Steps to reproduce
- Relocate Models folder to a network share.
- Change Models location with SM configuration -- relaunch.
- Configure ComfyUI package for "symlink" style model sharing.
- Launch ComfyUI -- observe
OSError: [WinError 4392] The data present in the reparse point buffer is invalid
Relevant logs
SM logs only show `Failed to connect to Inference backend|Refit.ApiException: Response status code does not indicate success: 500 (Internal Server Error)` due to ComfyUI not starting successfully.Version
2.13.0-dev.3+f5113af
What Operating System are you using?
Windows