From 1a62872f7168d25a6f68ce437936d621c0251e87 Mon Sep 17 00:00:00 2001 From: ymxlx <272607612+ymxlx@users.noreply.github.com> Date: Thu, 16 Jul 2026 11:10:05 -0600 Subject: [PATCH] docs: correct pip extras in installation guide to match setup.cfg The extras list in docs/source/installation.md had drifted from [options.extras_require] in setup.cfg: - removed the nonexistent `onnxruntime` extra (onnxruntime is a dependency installed by the `onnx` extra, not an extra itself; `pip install 'monai[onnxruntime]'` silently installs nothing) - added four real extras missing from the docs: `torchio`, `packaging`, `polygraphy`, `pyamg` - realigned the "which correspond to" package list with the bracket list (one entry per extra, in the same order) Co-Authored-By: Claude Opus 4.8 Signed-off-by: ymxlx <272607612+ymxlx@users.noreply.github.com> --- docs/source/installation.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/source/installation.md b/docs/source/installation.md index 2d9e2a7f0e..b9335bec3a 100644 --- a/docs/source/installation.md +++ b/docs/source/installation.md @@ -286,11 +286,11 @@ Since MONAI v0.2.0, the extras syntax such as `pip install 'monai[nibabel]'` is - The options are ``` -[nibabel, skimage, scipy, pillow, tensorboard, gdown, ignite, torchvision, itk, tqdm, lmdb, psutil, cucim, openslide, pandas, einops, transformers, mlflow, clearml, matplotlib, tensorboardX, tifffile, imagecodecs, pyyaml, fire, jsonschema, ninja, pynrrd, pydicom, h5py, nni, optuna, onnx, onnxruntime, zarr, lpips, pynvml, huggingface_hub, hyena] +[nibabel, skimage, scipy, pillow, tensorboard, gdown, ignite, torchio, torchvision, itk, tqdm, lmdb, psutil, cucim, openslide, pandas, einops, transformers, mlflow, clearml, matplotlib, tensorboardX, tifffile, imagecodecs, pyyaml, fire, packaging, jsonschema, ninja, pynrrd, pydicom, h5py, nni, optuna, onnx, zarr, lpips, pynvml, polygraphy, huggingface_hub, pyamg, hyena] ``` -which correspond to `nibabel`, `scikit-image`,`scipy`, `pillow`, `tensorboard`, -`gdown`, `pytorch-ignite`, `torchvision`, `itk`, `tqdm`, `lmdb`, `psutil`, `cucim`, `openslide-python`, `pandas`, `einops`, `transformers`, `mlflow`, `clearml`, `matplotlib`, `tensorboardX`, `tifffile`, `imagecodecs`, `pyyaml`, `fire`, `jsonschema`, `ninja`, `pynrrd`, `pydicom`, `h5py`, `nni`, `optuna`, `onnx`, `onnxruntime`, `zarr`, `lpips`, `nvidia-ml-py`, `huggingface_hub`, `pyamg`, and `nvsubquadratic` respectively. +which correspond to `nibabel`, `scikit-image`, `scipy`, `pillow`, `tensorboard`, +`gdown`, `pytorch-ignite`, `torchio`, `torchvision`, `itk`, `tqdm`, `lmdb`, `psutil`, `cucim`, `openslide-python`, `pandas`, `einops`, `transformers`, `mlflow`, `clearml`, `matplotlib`, `tensorboardX`, `tifffile`, `imagecodecs`, `pyyaml`, `fire`, `packaging`, `jsonschema`, `ninja`, `pynrrd`, `pydicom`, `h5py`, `nni`, `optuna`, `onnx` (which also installs `onnxruntime`), `zarr`, `lpips`, `nvidia-ml-py`, `polygraphy`, `huggingface_hub`, `pyamg`, and `nvsubquadratic` respectively. The `hyena` extra pulls in [`nvsubquadratic`](https://github.com/NVIDIA-BioNeMo/nvSubquadratic), required by `HyenaNDUNETR` / `HyenaMixer` / `HyenaTransformerBlock` (subquadratic