Repository navigation
v2.4.1
MIST 2.4.1 fixes bugs in 2.4.0. It changes no defaults; multi-GPU speed may change because the GPU math settings now apply in every process.
Fixed
- Multi-GPU
resenctraining no longer crashes on the second step with "Expected to have finished reduction in the prior iteration". Unused segmentation layers are now frozen; they stay in the state dict, so checkpoints still load. - Multi-GPU training applies MIST's GPU math settings (cuDNN benchmark mode, fast matmul, and TF32 convolutions) in every process. They were only set in the parent process, so multi-GPU speed and first-step memory may change.
- Training on large images is much faster with DALI.
mist_preprocesssaved labels in Fortran order, which made DALI wait about 1.9 s per step on LiTS-sized CT on an A100. Labels are now saved in C order. Data preprocessed the old way still trains, with a warning; runmist_preprocessagain to speed it up. mist_analyzegetsmedian_resampled_image_sizeright for images whose axes aren't stored in RAI order, so the memory warning and patch size are right too.- The generic loader no longer fills
/dev/shmduring validation and testing. In 2.4.0 it held about 10 GiB per GPU on LiTS, enough to crash a 2-GPU run in a container with a 10 GiB/dev/shm. This affects ROCm, CPU, and NVIDIA runs with"data_loader": "generic". - The transfer summary counts shared parameters once. nnFoundationCNN showed about 180.6M loaded parameters instead of about 90.3M. Only the printout was affected.
Upgrade: pip install --upgrade mist-medical, or pip install --upgrade "mist-medical[dali]" on NVIDIA GPUs.
See the changelog for details.