r/comfyui • u/Key_Recover9448 • 6h ago
Help Needed Loading AI models from a separate SSD NVME?
I am using Linux and Windows each installed on a dedicated SSD NVME.
I am mostly running ComfyUI on my linux installation with AI models stored along Linux's system SSD.
I'd like to run comfyUI on my windows installation while loading AI models from the Linux's SSD, so that I wouldn't have to make an extra copy of the models into the windows' installation location.
Should I expect some performance hit running comfyui on windows by loading AI model from a ssd different partition?
3
Upvotes
4
u/skyeharlowx 5h ago
Running from a different SSD isn't a problem in itself. The drive is only used to read the model into RAM/VRAM, so if both are NVMe the main difference is load time when a model loads or swaps, not sampling speed.
The thing I'd check first is the filesystem. If the models sit on your Linux partition it's probably ext4, and Windows won't read that natively. WSL2 can mount it, but reading big safetensors through it can be slower, and I wouldn't want Windows writing to my Linux system partition.
What I'd do: make a separate partition both systems can read (NTFS works from Linux too) and keep only the models there. Then in each ComfyUI install, rename extra_model_paths.yaml.example to extra_model_paths.yaml and point it at that folder. No duplicates and no symlinks.
If you dual boot, turn off Fast Startup in Windows, otherwise Linux may mount the NTFS partition read-only.
1
u/TwiKing 5h ago
Run ComfyUI from Linux, it's definitely faster that way! I have actual data that proved it. Try it! My images finished at least 30% faster every time vs Windows. I have my models on a XFS SSD partition for fastest possible loading.
1
u/MichaelMorningstarOP 5h ago
I have the same setup as what you're describing and I haven't seen any speed difference when loading models.
1
u/xpnrt 5h ago
I only do this for model + lora merging, quantizing etc... I don't see how it would be good enough for normal comfyui usage. Especially how the models are almost always bigger than vram and system ram sometimes and there is always some kind of drive loading involved ...
1
u/amavie_space 5h ago
You don't need the copy at all: rename extra_model_paths.yaml.example in the ComfyUI folder and point the Windows install at wherever the models live. The catch is that Windows can't natively read an ext4 Linux drive, so a shared NTFS partition is the easier home for them. If you go that route, turn off Fast Startup in Windows, or Linux will see the partition as still in use and only mount it read-only.
1
u/thatguyjames_uk 5h ago
i have my comfyui running of a external SSD and my models on another SSD . I used symlink and also updated my extra paths .yml to show this and been working for a year without a problem