-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
Can model sharing be realized for two webui projects? I need to test the effect of different versions, now I have two versions of webui, but my model files need to be migrated a lot, is there any configuration file to support model path sharing? Like comfyui #16502
Comments
I don't know how old such a question is, and every time it's the same: |
Two webui using the same model will load the model into memory twice. |
--ckpt-dir in the launch options ^ would be the easiest ^ but here are some other options for you EDIT: my comments are assisted by chatgpt but its correct information as far as i know, (i have personally only used 1. Junction (
|
1. Symbolic Link (
|
Thank you for your answer, it's really great that it's so detailed! |
Thanks for the answer, but mainly because I have more model files and migrate my machines more often, so your method may not be a good method |
not tested since i dont have multiple devices to test, but this should be accuratehere is a method for windows, using the network sharing built in feature on windows Here's how to set up a Windows Shared Folder and access it across a local network for use by two versions of WebUI, with detailed instructions for mapping and configuration. Step 1: Create a Shared Folder on Windows
Step 2: Map the Network Drive on Other Devices
Step 3: Configure Both WebUI Projects
Step 4: Verify Access and Performance
Additional Tips:
By following these steps, you can efficiently share your model files between multiple WebUI instances without needing to move or duplicate large files, all while keeping the setup straightforward and Windows-native. |
Did the other option help? @huangjianyi0701 ? |
Checklist
What happened?
Can model sharing be realized for two webui projects? I need to test the effect of different versions, now I have two versions of webui, but my model files need to be migrated a lot, is there any configuration file to support model path sharing? Like comfyui
Steps to reproduce the problem
Can model sharing be realized for two webui projects? I need to test the effect of different versions, now I have two versions of webui, but my model files need to be migrated a lot, is there any configuration file to support model path sharing? Like comfyui
What should have happened?
Can model sharing be realized for two webui projects? I need to test the effect of different versions, now I have two versions of webui, but my model files need to be migrated a lot, is there any configuration file to support model path sharing? Like comfyui
What browsers do you use to access the UI ?
Google Chrome
Sysinfo
Can model sharing be realized for two webui projects? I need to test the effect of different versions, now I have two versions of webui, but my model files need to be migrated a lot, is there any configuration file to support model path sharing? Like comfyui
Console logs
Additional information
No response
The text was updated successfully, but these errors were encountered: