Repository navigation
lesiondiffusion-mlx 0.2.7
Fixes
LesionDiffusion now runs on Macs with much less free memory. Its declared peak_memory_gb falls from 18.74 to 3.46, so MedMLX admits it on smaller Macs. On a 160×160×128 AMOS crop with 200 steps, peak MLX memory falls from 14.49 GB to 3.46 GB in source mode and from 5.14 GB to 3.29 GB in conditioned mode, with bitwise-identical outputs.
Outputs are staged in a private temporary folder before being moved into place, instead of beside the destination under predictable names. A dangling symlink at an output path now counts as an existing output, rejected unless overwrite is set.
Only MLX runtime errors are reported as ModelExecutionError. Other exceptions now reach the caller unchanged.