lium gpu-splitting
Prepare a provider host's Docker storage so its GPUs can be rented to several renters. Run it on the host. It uses a separate, non-root disk when the host has one, and an XFS image file on a single-disk host. See GPU splitting and Docker storage.
lium gpu-splitting check
Show what setup would do. Changes nothing.
Usage
lium gpu-splitting check [OPTIONS]
Flags
| Flag | What it does |
|---|---|
--device PATH | Disk to check (default: picked for you) |
--file PATH | Check the plan for an XFS image file at this path instead of a disk |
--size GIB | Size of the image file in GiB (default: free space minus the system reserve); must pass the free-space and GPU-memory checks in Single-disk hosts |
--mine-dir PATH | Directory passed to lium mine --dir (default: compute-subnet in the current directory); node images already pulled there are not counted in the free-space check again |
Example
lium gpu-splitting check
lium gpu-splitting setup
Move Docker storage to the disk, or to an XFS image file when the host has no spare disk. It may format the disk as XFS, so run check first.
Usage
sudo lium gpu-splitting setup [OPTIONS]
Flags
| Flag | What it does |
|---|---|
--device PATH | Disk to use (default: picked for you) |
--file PATH | Create the XFS image file at this path instead of formatting a disk |
--size GIB | Size of the image file in GiB (default: free space minus the system reserve); must pass the free-space and GPU-memory checks in Single-disk hosts |
--mine-dir PATH | Directory passed to lium mine --dir (default: compute-subnet in the current directory); node images already pulled there are not counted in the free-space check again |
--yes | Run without asking (with --device, or for an image file) |
Example
sudo lium gpu-splitting setup --device /dev/nvme1n1
sudo lium gpu-splitting setup --file /data/lium-docker.xfs --size 500
lium gpu-splitting verify
Check that the host meets the requirements. Exits non-zero if not.
Usage
lium gpu-splitting verify
Example
lium gpu-splitting verify