with pathology MIL classification tutorial, as an example
https://github.com/Project-MONAI/tutorials/blob/main/pathology/multiple_instance_learning/panda_mil_train_evaluate_pytorch_gpu.py
WSIReader is now imported from from monai.data.wsi_reader import WSIReader. If changing the import to the old way (now deprecated) from monai.data.image_reader import WSIReader, and setting backend=tifffile, then training is ~10% faster. seems like a performance regression.
Training time on 8gpu, 1 epoch
- from monai.data.wsi_reader import WSIReader, (backend=cucim) 313 seconds
- from monai.data.wsi_reader import WSIReader, (backend=tiffile) 303 seconds
- from monai.data.image_reader import WSIReader, (backend=tiffile) 283 seconds
with pathology MIL classification tutorial, as an example
https://github.com/Project-MONAI/tutorials/blob/main/pathology/multiple_instance_learning/panda_mil_train_evaluate_pytorch_gpu.py
WSIReader is now imported from
from monai.data.wsi_reader import WSIReader. If changing the import to the old way (now deprecated)from monai.data.image_reader import WSIReader, and setting backend=tifffile, then training is ~10% faster. seems like a performance regression.Training time on 8gpu, 1 epoch