Skip to content

Install

Terminal window
uv add lucem # Core GPU ops, OME-Zarr I/O, @lucem.op
uv add "lucem[web]" # + Browser WASM workstation (`lucem web`)
uv add "lucem[app]" # + Native desktop workstation (`lucem app`)
uv add "lucem[hist,stardist]" # + Histology + StarDist model plugin
uv add "lucem[ml]" # + StarDist + SAM + InstanSeg plugins

lucem runs on CUDA (NVIDIA), Vulkan / Metal / DX12 through wgpu (any recent GPU), or CPU. It picks the first usable GPU automatically:

Terminal window
lucem doctor

To override the runtime, set LUCEM_RUNTIME=cuda|wgpu|cpu or pick it in Settings → Compute.

Models run as separate programs (lucem-ml-*), so their runtimes and licences stay out of core lucem:

Terminal window
uv add "lucem[stardist]" # StarDist H&E and fluorescence
uv add "lucem[instanseg]" # InstanSeg brightfield and fluorescence
uv add "lucem[sam]" # Segment Anything 2
uv run lucem plugins

Then install weights from Settings → Models (works in both the desktop app and lucem serve --web). See Models.