Run this model with HF Jobs
Run MedMLX/vista3d-ct-mlx on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/MedMLX/vista3d-ct-mlx. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/MedMLX/vista3d-ct-mlx on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use MedMLX/vista3d-ct-mlx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use MedMLX/vista3d-ct-mlx with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download MedMLX/vista3d-ct-mlx --local-dir vista3d-ct-mlx
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
VISTA-3D · CT Segmentation
Run automatic whole-volume CT segmentation with NVIDIA NV-Segment-CT and native MLX.
VISTA3D is the work of Yufan He and co-authors at NVIDIA. The model, its training method and the weights are theirs: see the original repository, NVIDIA-Medtech/NV-Segment-CTMR, and the paper, arXiv:2406.05285. This repository only repackages their released weights (nvidia/NV-Segment-CT) for MLX on Apple Silicon. Please cite their paper and star their repository if VISTA3D is useful to you.
Original repository · Original paper · Original weights · GitHub · Files · Docs · MedMLX paper
| Input | Output |
|---|---|
| 3D CT · NIfTI | Anatomical segmentation |
Apple Silicon · Metal · Python 3.13
Quick start
uv venv --python 3.13
source .venv/bin/activate
uv pip install "mlx-segment-ct>=0.4.0"
Replace the example input paths with your own files.
from mlx_segment_ct import run
result = run(model="mlx-segment-ct", image_path="ct.nii.gz", output_dir="outputs")
print(result["outputs"]["mask"])
Weights download from this repository on first use, at a pinned revision. To fetch them yourself, download that revision and pass the folder as weights_path="models":
uv tool install huggingface-hub
hf download MedMLX/vista3d-ct-mlx --revision e6f45856b4a59212ca10b44a9ade2e2d672f412b --local-dir models
Without prompts the run segments all classes; pass classes="liver, spleen" to select some.
Use & license
For research and education. Not validated for clinical use.
Weights: NVIDIA Open Model License. Notices.
Paper references
Citation
Please cite the original paper:
He, Y. et al. (2025). VISTA3D: a unified segmentation foundation model for 3D medical imaging. CVPR, 20863-20873. https://doi.org/10.1109/CVPR52734.2025.01943
If you use MedMLX, please cite the MedMLX paper:
@article{sandoval2026medmlx,
title = {MedMLX: On-Device Medical Imaging AI for Apple Silicon},
author = {Sandoval, J. and Sandoval, A. and Saleem, A.},
journal = {medRxiv},
year = {2026},
doi = {10.64898/2026.10.28.26366762}
}
Quantized
Model tree for MedMLX/vista3d-ct-mlx
Base model
nvidia/NV-Segment-CT