Repository navigation
medmlx 0.7.0
Breaking changes
Requires mlx-reason-ct 0.6. Reports generated without a prompt change, because the request now uses the NV-Reason-CT model card's wording ("Write a structured abdominal CT report." instead of "write a structured abdomen CT report"). Reason-CT runs in bfloat16_fast by default and the float32 and bfloat16_fp32 profiles are removed; the CT agent now uses that default instead of float32.
Requires sam3-mlx 0.3. sam3 results can change slightly: float images in [0, 1] are converted to 8-bit as upstream SAM 3 does, and attention arithmetic changed at FP32 rounding level. A sam3 run in a process started with MLX_ENABLE_TF32=1 now stops with an error unless it asks for precision=tf32.
New
sam3 takes precision: fp32 (default), tf32 or bf16. On an M5 Max, one image with one text prompt took 0.48-0.53 of the FP32 time with tf32 (M5 or later) and 0.74-0.76 with bf16, with the same detections as upstream on sam3-mlx's medical test images. Its declared peak is now 5.4 GB instead of 12 GB.
medmlx run sam3 --arg image_path=scan.png text_prompt=liver output_dir=out precision=tf32Fixes
reason-ct-tools prompts match NV-Reason-CT's processor token for token. mlx-reason-ct 0.4.x sorted tool schema keys and escaped <, >, & and ', which could change the model's answer.
Readiness names medmlx setup when a model's weights are not cached. It used to name only the prepare_model MCP tool.
Faster
Reason-CT reports take less time and memory. On an M5 Max with a LUNA16 chest CT, a full report takes 12.4 s instead of 17.9 s, and readiness declares a 12.5 GB peak instead of 14.5 GB.