lesiondiffusion-mlx 0.2.6__tar.gz → 0.2.6.post2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (22) hide show
  1. {lesiondiffusion_mlx-0.2.6 → lesiondiffusion_mlx-0.2.6.post2}/PKG-INFO +7 -8
  2. {lesiondiffusion_mlx-0.2.6 → lesiondiffusion_mlx-0.2.6.post2}/README.md +5 -6
  3. {lesiondiffusion_mlx-0.2.6 → lesiondiffusion_mlx-0.2.6.post2}/pyproject.toml +2 -2
  4. {lesiondiffusion_mlx-0.2.6 → lesiondiffusion_mlx-0.2.6.post2}/src/lesiondiffusion_mlx/__init__.py +1 -1
  5. {lesiondiffusion_mlx-0.2.6 → lesiondiffusion_mlx-0.2.6.post2}/.gitignore +0 -0
  6. {lesiondiffusion_mlx-0.2.6 → lesiondiffusion_mlx-0.2.6.post2}/LICENSE +0 -0
  7. {lesiondiffusion_mlx-0.2.6 → lesiondiffusion_mlx-0.2.6.post2}/THIRD_PARTY_NOTICES.md +0 -0
  8. {lesiondiffusion_mlx-0.2.6 → lesiondiffusion_mlx-0.2.6.post2}/src/lesiondiffusion_mlx/_arrays.py +0 -0
  9. {lesiondiffusion_mlx-0.2.6 → lesiondiffusion_mlx-0.2.6.post2}/src/lesiondiffusion_mlx/_attention.py +0 -0
  10. {lesiondiffusion_mlx-0.2.6 → lesiondiffusion_mlx-0.2.6.post2}/src/lesiondiffusion_mlx/_nax_conv.py +0 -0
  11. {lesiondiffusion_mlx-0.2.6 → lesiondiffusion_mlx-0.2.6.post2}/src/lesiondiffusion_mlx/_nifti.py +0 -0
  12. {lesiondiffusion_mlx-0.2.6 → lesiondiffusion_mlx-0.2.6.post2}/src/lesiondiffusion_mlx/_reference.py +0 -0
  13. {lesiondiffusion_mlx-0.2.6 → lesiondiffusion_mlx-0.2.6.post2}/src/lesiondiffusion_mlx/_schedules.py +0 -0
  14. {lesiondiffusion_mlx-0.2.6 → lesiondiffusion_mlx-0.2.6.post2}/src/lesiondiffusion_mlx/_source_half.py +0 -0
  15. {lesiondiffusion_mlx-0.2.6 → lesiondiffusion_mlx-0.2.6.post2}/src/lesiondiffusion_mlx/_spatial.py +0 -0
  16. {lesiondiffusion_mlx-0.2.6 → lesiondiffusion_mlx-0.2.6.post2}/src/lesiondiffusion_mlx/_typing.py +0 -0
  17. {lesiondiffusion_mlx-0.2.6 → lesiondiffusion_mlx-0.2.6.post2}/src/lesiondiffusion_mlx/medmlx.py +0 -0
  18. {lesiondiffusion_mlx-0.2.6 → lesiondiffusion_mlx-0.2.6.post2}/src/lesiondiffusion_mlx/mlx_model.py +0 -0
  19. {lesiondiffusion_mlx-0.2.6 → lesiondiffusion_mlx-0.2.6.post2}/src/lesiondiffusion_mlx/mlx_pipeline.py +0 -0
  20. {lesiondiffusion_mlx-0.2.6 → lesiondiffusion_mlx-0.2.6.post2}/src/lesiondiffusion_mlx/mlx_sampling.py +0 -0
  21. {lesiondiffusion_mlx-0.2.6 → lesiondiffusion_mlx-0.2.6.post2}/src/lesiondiffusion_mlx/py.typed +0 -0
  22. {lesiondiffusion_mlx-0.2.6 → lesiondiffusion_mlx-0.2.6.post2}/src/lesiondiffusion_mlx/reference.json +0 -0
@@ -1,9 +1,9 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: lesiondiffusion-mlx
3
- Version: 0.2.6
3
+ Version: 0.2.6.post2
4
4
  Summary: Add synthetic lesions to CT with native MLX, with controls for organ, size, placement and phenotype
5
5
  Project-URL: Homepage, https://medmlx.org
6
- Project-URL: Documentation, https://github.com/MedMLX/lesiondiffusion-mlx/blob/v0.2.6/README.md
6
+ Project-URL: Documentation, https://github.com/MedMLX/lesiondiffusion-mlx/blob/v0.2.6.post2/README.md
7
7
  Project-URL: Repository, https://github.com/MedMLX/lesiondiffusion-mlx
8
8
  Project-URL: Issues, https://github.com/MedMLX/lesiondiffusion-mlx/issues
9
9
  Project-URL: Weights, https://huggingface.co/MedMLX/lesiondiffusion-mlx
@@ -54,14 +54,14 @@ Add synthetic lesions to CT with native MLX, with controls for organ, size, plac
54
54
 
55
55
  [![PyPI](https://img.shields.io/pypi/v/lesiondiffusion-mlx)](https://pypi.org/project/lesiondiffusion-mlx/)
56
56
  [![Python](https://img.shields.io/pypi/pyversions/lesiondiffusion-mlx)](https://pypi.org/project/lesiondiffusion-mlx/)
57
- [![License](https://img.shields.io/badge/License-Apache_2.0-blue)](https://github.com/MedMLX/lesiondiffusion-mlx/blob/v0.2.6/LICENSE)
57
+ [![License](https://img.shields.io/badge/License-Apache_2.0-blue)](https://github.com/MedMLX/lesiondiffusion-mlx/blob/v0.2.6.post2/LICENSE)
58
58
  [![Apple Silicon](https://img.shields.io/badge/Apple_Silicon-MLX-black?logo=apple)](https://github.com/ml-explore/mlx)
59
59
  [![Hugging Face](https://img.shields.io/badge/%F0%9F%A4%97_Hugging_Face-weights-yellow)](https://huggingface.co/MedMLX/lesiondiffusion-mlx)
60
60
  [![MedMLX](https://img.shields.io/badge/MedMLX-runtime-A51C30)](https://github.com/MedMLX/medmlx)
61
61
 
62
62
  [Model weights](https://huggingface.co/MedMLX/lesiondiffusion-mlx) · [MedMLX](https://github.com/MedMLX/medmlx)
63
63
 
64
- <img src="https://raw.githubusercontent.com/MedMLX/lesiondiffusion-mlx/v0.2.6/docs/showcase.png" alt="CT with a synthetic lesion placed inside an organ mask" width="100%">
64
+ <img src="https://raw.githubusercontent.com/MedMLX/lesiondiffusion-mlx/v0.2.6.post2/docs/showcase.png" alt="CT with a synthetic lesion placed inside an organ mask" width="100%">
65
65
 
66
66
  </div>
67
67
 
@@ -71,8 +71,7 @@ Add synthetic lesions to CT with native MLX, with controls for organ, size, plac
71
71
  | **Output** | Synthetic CT and lesion mask |
72
72
  | **Hardware** | Apple Silicon with Metal; **18.74 GB** peak MLX memory for `lesiondiffusion` in source mode on a 160×160×128, 1 mm RAS crop. |
73
73
 
74
- The [v0.2.5 measurement](https://github.com/MedMLX/lesiondiffusion-mlx/blob/v0.2.6/docs/technical.md#upstream-decisions-and-qualification)
75
- used the AMOS case 0008 crop and 200 diffusion steps with
74
+ The v0.2.5 memory measurement used the AMOS case 0008 crop and 200 diffusion steps with
76
75
  `inference_mode="source"`: FP32 LMNet and text encoder, FP16 LINet and VQ.
77
76
  It does not measure the default conditioned mode or larger volumes. Peak MLX
78
77
  memory excludes host preprocessing and other applications.
@@ -97,7 +96,7 @@ For Codex, use `codex mcp add medmlx -- "$MEDMLX" serve --root "$HOME/medmlx-wor
97
96
  ```bash
98
97
  uv venv --python 3.13
99
98
  source .venv/bin/activate
100
- uv pip install "lesiondiffusion-mlx>=0.2.6"
99
+ uv pip install "lesiondiffusion-mlx>=0.2.6.post2"
101
100
  ```
102
101
 
103
102
  ## Run
@@ -178,6 +177,6 @@ only within MLX. Inference needs Apple Silicon with Metal and has no CPU fallbac
178
177
 
179
178
  ## License
180
179
 
181
- [Apache-2.0](https://github.com/MedMLX/lesiondiffusion-mlx/blob/v0.2.6/LICENSE). See [third-party notices](https://github.com/MedMLX/lesiondiffusion-mlx/blob/v0.2.6/THIRD_PARTY_NOTICES.md). Model weights retain their publisher terms.
180
+ [Apache-2.0](https://github.com/MedMLX/lesiondiffusion-mlx/blob/v0.2.6.post2/LICENSE). See [third-party notices](https://github.com/MedMLX/lesiondiffusion-mlx/blob/v0.2.6.post2/THIRD_PARTY_NOTICES.md). Model weights retain their publisher terms.
182
181
 
183
182
  For research and education. Outputs require human review.
@@ -6,14 +6,14 @@ Add synthetic lesions to CT with native MLX, with controls for organ, size, plac
6
6
 
7
7
  [![PyPI](https://img.shields.io/pypi/v/lesiondiffusion-mlx)](https://pypi.org/project/lesiondiffusion-mlx/)
8
8
  [![Python](https://img.shields.io/pypi/pyversions/lesiondiffusion-mlx)](https://pypi.org/project/lesiondiffusion-mlx/)
9
- [![License](https://img.shields.io/badge/License-Apache_2.0-blue)](https://github.com/MedMLX/lesiondiffusion-mlx/blob/v0.2.6/LICENSE)
9
+ [![License](https://img.shields.io/badge/License-Apache_2.0-blue)](https://github.com/MedMLX/lesiondiffusion-mlx/blob/v0.2.6.post2/LICENSE)
10
10
  [![Apple Silicon](https://img.shields.io/badge/Apple_Silicon-MLX-black?logo=apple)](https://github.com/ml-explore/mlx)
11
11
  [![Hugging Face](https://img.shields.io/badge/%F0%9F%A4%97_Hugging_Face-weights-yellow)](https://huggingface.co/MedMLX/lesiondiffusion-mlx)
12
12
  [![MedMLX](https://img.shields.io/badge/MedMLX-runtime-A51C30)](https://github.com/MedMLX/medmlx)
13
13
 
14
14
  [Model weights](https://huggingface.co/MedMLX/lesiondiffusion-mlx) · [MedMLX](https://github.com/MedMLX/medmlx)
15
15
 
16
- <img src="https://raw.githubusercontent.com/MedMLX/lesiondiffusion-mlx/v0.2.6/docs/showcase.png" alt="CT with a synthetic lesion placed inside an organ mask" width="100%">
16
+ <img src="https://raw.githubusercontent.com/MedMLX/lesiondiffusion-mlx/v0.2.6.post2/docs/showcase.png" alt="CT with a synthetic lesion placed inside an organ mask" width="100%">
17
17
 
18
18
  </div>
19
19
 
@@ -23,8 +23,7 @@ Add synthetic lesions to CT with native MLX, with controls for organ, size, plac
23
23
  | **Output** | Synthetic CT and lesion mask |
24
24
  | **Hardware** | Apple Silicon with Metal; **18.74 GB** peak MLX memory for `lesiondiffusion` in source mode on a 160×160×128, 1 mm RAS crop. |
25
25
 
26
- The [v0.2.5 measurement](https://github.com/MedMLX/lesiondiffusion-mlx/blob/v0.2.6/docs/technical.md#upstream-decisions-and-qualification)
27
- used the AMOS case 0008 crop and 200 diffusion steps with
26
+ The v0.2.5 memory measurement used the AMOS case 0008 crop and 200 diffusion steps with
28
27
  `inference_mode="source"`: FP32 LMNet and text encoder, FP16 LINet and VQ.
29
28
  It does not measure the default conditioned mode or larger volumes. Peak MLX
30
29
  memory excludes host preprocessing and other applications.
@@ -49,7 +48,7 @@ For Codex, use `codex mcp add medmlx -- "$MEDMLX" serve --root "$HOME/medmlx-wor
49
48
  ```bash
50
49
  uv venv --python 3.13
51
50
  source .venv/bin/activate
52
- uv pip install "lesiondiffusion-mlx>=0.2.6"
51
+ uv pip install "lesiondiffusion-mlx>=0.2.6.post2"
53
52
  ```
54
53
 
55
54
  ## Run
@@ -130,6 +129,6 @@ only within MLX. Inference needs Apple Silicon with Metal and has no CPU fallbac
130
129
 
131
130
  ## License
132
131
 
133
- [Apache-2.0](https://github.com/MedMLX/lesiondiffusion-mlx/blob/v0.2.6/LICENSE). See [third-party notices](https://github.com/MedMLX/lesiondiffusion-mlx/blob/v0.2.6/THIRD_PARTY_NOTICES.md). Model weights retain their publisher terms.
132
+ [Apache-2.0](https://github.com/MedMLX/lesiondiffusion-mlx/blob/v0.2.6.post2/LICENSE). See [third-party notices](https://github.com/MedMLX/lesiondiffusion-mlx/blob/v0.2.6.post2/THIRD_PARTY_NOTICES.md). Model weights retain their publisher terms.
134
133
 
135
134
  For research and education. Outputs require human review.
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "lesiondiffusion-mlx"
7
- version = "0.2.6"
7
+ version = "0.2.6.post2"
8
8
  description = "Add synthetic lesions to CT with native MLX, with controls for organ, size, placement and phenotype"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.13,<3.14"
@@ -48,7 +48,7 @@ dependencies = [
48
48
 
49
49
  [project.urls]
50
50
  Homepage = "https://medmlx.org"
51
- Documentation = "https://github.com/MedMLX/lesiondiffusion-mlx/blob/v0.2.6/README.md"
51
+ Documentation = "https://github.com/MedMLX/lesiondiffusion-mlx/blob/v0.2.6.post2/README.md"
52
52
  Repository = "https://github.com/MedMLX/lesiondiffusion-mlx"
53
53
  Issues = "https://github.com/MedMLX/lesiondiffusion-mlx/issues"
54
54
  Weights = "https://huggingface.co/MedMLX/lesiondiffusion-mlx"
@@ -32,7 +32,7 @@ if TYPE_CHECKING:
32
32
  )
33
33
  from lesiondiffusion_mlx.mlx_sampling import DdimSampler as DdimSampler
34
34
 
35
- __version__ = "0.2.6"
35
+ __version__ = "0.2.6.post2"
36
36
 
37
37
  __all__ = [
38
38
  "LINET_CONFIG",