File size: 1,151 Bytes
3da88e3
 
 
 
 
 
c138412
3da88e3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
[build-system]
requires = ["setuptools>=69"]
build-backend = "setuptools.build_meta"

[project]
name = "minimax-h3-image-mlx"
version = "0.4.1"
description = "Native MLX inference and precision audits for MiniMax H3 Image on Apple silicon"
requires-python = ">=3.10"
dependencies = [
  "mlx>=0.32.4,<0.33; platform_system == 'Darwin' and platform_machine == 'arm64'",
  "numpy>=1.26", "Pillow>=10", "safetensors>=0.5", "transformers>=4.57,<5",
  "huggingface-hub>=0.36.2,<1",
]

[project.optional-dependencies]
audit = ["torch>=2.6", "scikit-image>=0.24", "pytest>=8", "matplotlib>=3.8"]
native = ["torch>=2.6"]
coreml = ["coremltools>=9,<10"]
release = ["PyYAML>=6", "build>=1"]

[project.urls]
Homepage = "https://huggingface.co/devin-lai/MiniMax-H3-Image-mlx"
Issues = "https://huggingface.co/devin-lai/MiniMax-H3-Image-mlx/discussions"

[project.scripts]
h3-mlx = "h3_mlx.cli:main"

[tool.setuptools.packages.find]
include = ["h3_mlx*"]

[tool.setuptools.package-data]
h3_mlx = ["model_index.json"]

[tool.pytest.ini_options]
testpaths = ["tests"]

[tool.ruff]
target-version = "py310"

[tool.ruff.lint]
select = ["E4", "E7", "E9", "F", "I", "B"]