37 lines
855 B
TOML
37 lines
855 B
TOML
[project]
|
|
name = "models"
|
|
version = "0.1.0"
|
|
description = "train()/predict() interfaces for the CaCu, CaMa and TEA screening models."
|
|
requires-python = ">=3.11"
|
|
dependencies = [
|
|
"persistance",
|
|
"extraction",
|
|
"mlflow>=2.9",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
# Only needed to read back a checkpoint's own metadata (opset, producer) in
|
|
# models.export.inspect_onnx_metadata — writing/logging a checkpoint never
|
|
# requires it, see that module's docstring.
|
|
export = [
|
|
"onnx>=1.15",
|
|
]
|
|
|
|
[tool.uv.sources]
|
|
persistance = { path = "../Persistance", editable = true }
|
|
extraction = { path = "../Extraction", editable = true }
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["models"]
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"pytest>=8.0.0",
|
|
"onnx>=1.15",
|
|
"reportlab>=4.0",
|
|
]
|