I’ve been stuck with the 1Tb version of the Asus GX10 due to current market price. Has anybody tried to use NFS Mount for storing the models and any downside or issues encounter ? I have a few older NVME M2 2280 and could probably put them into a NUC as a NAS.
Doable, but slow probably :) the 10Gbps ethernet assuming you can get full bandwidth it might take 3x as much to load a model into memory or way more for a bigger model (easily).
If you’re ok with that, then definitely doable.
I would first try to use the USB-C ports with an external enclosure, you can/should get much better speed from them than an NFS storage.
I think USB-C external enclosure is better too. I run ComfyUI from the external enclosure and LLM on the internal storage.
There are a number of scenarios made possible by the multiple connectivity options available on Spark. But, unless you are oriented towards a high-end solution based on a proper ConnectX-7 equipped NAS on switched network (at a significant price tag), I would use the external storage only as cold storage, with the weights of the most accessed models staged locally ready to load.
In turn, the cold storage scenario could revolve around either USB or 10GbE connectivity. In former scenario, I considered something like OWC Express 4M2 USB enclosure with multiple NVMEs mounted as RAIDZ volume. As per the latter, there are number of solutions such as the NUCs, but I would go probably for a SOHO NAS.
It’s definitely doable, and there’s a few helpful threads on the Huggingface forum with some suggestions (like this thread)
As others mentioned, using an external USB-C enclosure with one (or more) drives will probably be the fastest option, unless you want to have the models shared to multiple Sparks or other devices. The downside is that you also may run into the occasional speed negotiation issues with the USB-C ports, as mentioned by multiple people in this thread .
I was using a dual-bay NVMe ORICO USB-C enclosure (this one) for a while, but moving data between the two drives is just tedious.
Using a NAS to host a models directory has been something I’ve been considering myself, and I’ve looked at a couple of options:
- UGREEN NASync DXP480T Plus - 1x 10GbE port, 4x M.2 slots (specs here)
- QNAP TBS-4464 - 2x 2.5GbE ports, small, 4x M.2 slots, very portable (specs here)
- NUC-like box - Most are limited to 2 NVMe slots, and most have 2.5Gbit ports (the Beelink GTi15 Ultra Intel is one exception).
The NUC-converted-to-a-NAS option is probably the most flexible, because you could also use it for other things (cluster monitor, agent host, etc), but the limited number of NVMe slots is a bummer. If you don’t plan on using Wifi/BT on the NUC, you may be able to remove the Wifi/BT card and repurpose the slot to have a 2230 NVMe drive for the OS, and then you can dedicate the two 2280 slots for the NAS storage (but ymmv, since it depends on the internal layout of the NUC system and you actually have a 2230 slot and the adapter isn’t soldered in, obviously).
I decided to wait a little longer for the Minisforum S5 to hit the market and reviews show up for it.
The specs look promising (5x M.2 2280 slots, 10GbE and 2.5GbE ports, passive cooling), and the size is about right for my mini rack where I have my 2 Sparks and a 10GbE Mikrotik switch.
I have the same 1Tb version of Asus GX10 and also 2 extra NVMe drives. Initially I was thinking about an external NVMe in a USB TypeC enclosure, but then I realized that GX10 has a fast WiFi7 adapter - so it is possible to get good LAN speeds even wireless. So if you have a WiFi7-capable router you can mount NVMe storage from the NAS (of course you need a better than 1Gbit LAN as well).
In my case the speed bottleneck surprisingly is the narrow PCIe interface for NVMe drives inside the Synology NAS, but I use NAS more like as storage for models, I don’t run them directly from NAS.
I’ve actually got a USB-C 40Gbps enclosure but I’m reconsidering as it would means that I need 1 for every DGX Spark (curently 2, planning for 4). Maybe I would use a NAS as a secondary storage, not sure yet. The plan for now is to reuse what I have (mainly 1TB and 2TB 2280 lying around). The current price of RAMs and NVME are crazy, and even CPUs prices are crazy. Will use what I have for now. The Minisforum N5 PRO NAS looks nice on specs but that’s easily 3-4K for the box with 128GB LPDDR5, so with current job market, constant talk of retrenchments in IT job market, not something I’ll keen to invest in. For now, this is a expensive hobby and for learning and picking up new skills.
If you have 2 GB10s and one is 4Tb variant others are 1Tb variants then it absolutely makes sense to export /home from the 4Tb unit to the 1Tb unit via ConnectX-7
Unless you plan to run multiple VMs or containers on the NAS, you don’t really need 128GB RAM. You could easily live with 16GB or 32GB and still have room to spare.
I have an older Supermicro 24-bay rackmount server running Proxmox, and even with 3 ZFS pools totaling 120TB of storage and several VMs, I rarely see it use more than 90GB out of 512GB total (so about 20%).
The ‘rule of thumb’ generally mentioned when using ZFS is ‘about 1GB RAM per 1TB of raw storage’, but that can vary depending on the workloads.
Kind of been working on a solution for myself along the lines of what you are asking for… It is a model mesh… I forked a great project for local model management and made it work as a mesh across multiple machine. Mesh nodes can act as storeage, controller and/or executor. My long term goal is to facilitate the management of models across many nodes ans also facilitate running those models. If this can be useful for anyone… be my guest: bmaltais/model-shelf: Model Shelf is a local-first model resolver that helps AI agents and scripts find model weights on your own storage before downloading from Hugging Face. Point it at an internal SSD, NAS, external SSD, or Thunderbolt DAS, and it returns the best local path for GGUF, MLX, safetensors, Ollama, vLLM, and other local AI workflows.
Well, for the price you are paying, might as well max it out and use that as a fall back API route point for the AI models. :-D , also my understanding is that the ram (LPDDR5) are fixed and cannot be upgraded after market.
Yes, that’s something I was thinking of, maybe a DAS attached to 1 and then export /home to the rest via ConnectX-7
sparkrun can place the hf cache on a nsf .. thats how i run it
i tried but couldn’t make it work. Can you share how you did it?
o_0@failspark-1:~$ sparkrun cluster create --help
Usage: sparkrun cluster create [OPTIONS] NAME
Create a new named cluster.
Options:
-H, --hosts TEXT Comma-separated host list
–hosts-file TEXT File with hosts (one per line)
-d, --description TEXT Cluster description
-u, --user TEXT SSH username for this cluster
–cache-dir TEXT HuggingFace cache directory for this cluster
–transfer-mode [auto|local|push|delegated]
Resource transfer mode (auto, local, push,
delegated)
–transfer-interface [auto|cx7|mgmt]
Network interface for transfers
(auto=default, cx7=InfiniBand,
mgmt=management)
–default Set as the default cluster
–help Show this message and exit
relevant is --cache-dir and set the inferface to cx7 cache-dir points to nas
o_0@failspark-1:~$ sparkrun cluster list
Name Hosts Description
---------------------------------------------------------------------------------------------
duo-a 192.168.1.41, 192.168.1.42 Nodes 1-2
duo-b 192.168.1.43, 192.168.1.44 Nodes 3-4
duo-c 192.168.1.45, 192.168.1.46 Nodes 5-6
duo-d 192.168.1.47, 192.168.1.48 Nodes 7-8
* full8 192.168.1.41, 192.168.1.42 Full 8-node cluster
192.168.1.43, 192.168.1.44
192.168.1.45, 192.168.1.46
192.168.1.47, 192.168.1.48
full8-ib-local 192.168.1.41, 192.168.1.42 Full 8-node cluster with local HF caches and CX7 transfers
192.168.1.43, 192.168.1.44
192.168.1.45, 192.168.1.46
192.168.1.47, 192.168.1.48
quad-a 192.168.1.41, 192.168.1.42 Nodes 1-4
192.168.1.43, 192.168.1.44
quad-b 192.168.1.45, 192.168.1.46 Nodes 5-8
192.168.1.47, 192.168.1.48
* = default cluster
NVME-oF working really well for me. Running it over the CRS804 really solid win. Built a basic linux server with a 12 core AMD Ryzen Proc with 4 NVME slots onboard. pinned 4 procs for NVME-oF processes 4 procs for networking and 4 procs for general OS stuff. Using ZFS on the 4 4TB drives I get 12TB of shared storage that works great for sharing models and for training checkpoints.
Of course your other option is to upgrade the 1TB drive in the GX10 all 4 of my GX10s have been upgrades to Corsair Gen 5 NVME 4TB MP700s - though I still prefer the NVME-oF because I’m not waiting around to shuttle images and files back and forth :)
generally as local cache the 1tb is fine .. depends how many nodes you have .. if you have 8 units .. it gets VERY VERY TIGHT to load stuff into local cache with that
I’m guessing my original message wasn’t clear, but PRICE$ and COST$ is obviously a big consideration. I mean I happy for you you can afford a NVME5 whatever at todays price or if some of you have a 16TB SAN setup with a NVMoF , and I’m sure that setup comes with certain bragging rights, regardless of who’s paying for it, be it personal or company … Unfortunately I’m paying for it from my personal petty cash account, and the 4 units of ASUS GX10 cost a pretty penny, so any big ticket item is out of the question for the next 2 months at least.
I use QNAP with Qtier totaling to 30TB, 4TB in NVMe, 4TB SSD and 22 TB HDD. It has also port trunking interface, so 2x10G. Do not really understand why it should be super fast, because I usually start it maybe once per day, in this case 10 minutes to load 200Gb model is not a big deal. And Qtier makes frequently accessed things fast, so I have both a lot of storage to not think about and quick (relatively of course) for things I use daily. But these QNAP NASes are not cheap, especially extension card for NVMe.