Instructions to use MedMLX/lesiondiffusion-mlx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use MedMLX/lesiondiffusion-mlx with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download MedMLX/lesiondiffusion-mlx --local-dir lesiondiffusion-mlx
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
Document clean environment and private repository setup
Browse files
README.md
CHANGED
|
@@ -1,5 +1,6 @@
|
|
| 1 |
---
|
| 2 |
library_name: mlx
|
|
|
|
| 3 |
license: other
|
| 4 |
tags:
|
| 5 |
- medical-imaging
|
|
@@ -39,9 +40,13 @@ Conversion changes tensor layout or storage as specified by the native package;
|
|
| 39 |
|
| 40 |
## Download the safetensors bundle
|
| 41 |
|
| 42 |
-
|
| 43 |
|
| 44 |
```bash
|
|
|
|
|
|
|
|
|
|
|
|
|
| 45 |
hf download MedMLX/lesiondiffusion-mlx --local-dir lesiondiffusion
|
| 46 |
```
|
| 47 |
|
|
|
|
| 1 |
---
|
| 2 |
library_name: mlx
|
| 3 |
+
inference: false
|
| 4 |
license: other
|
| 5 |
tags:
|
| 6 |
- medical-imaging
|
|
|
|
| 40 |
|
| 41 |
## Download the safetensors bundle
|
| 42 |
|
| 43 |
+
Install [uv](https://docs.astral.sh/uv/getting-started/installation/) and Git first. Your Hugging Face account needs access to this private MedMLX entry, and your Git credentials need access to the companion private MedMLX source repository. In a new working directory, create and activate a Python environment, install the Hub CLI, and download the bundle:
|
| 44 |
|
| 45 |
```bash
|
| 46 |
+
uv venv --python 3.12
|
| 47 |
+
source .venv/bin/activate
|
| 48 |
+
uv pip install huggingface_hub
|
| 49 |
+
hf auth login
|
| 50 |
hf download MedMLX/lesiondiffusion-mlx --local-dir lesiondiffusion
|
| 51 |
```
|
| 52 |
|