ml-model-loader/src_python/pyproject.toml

69 lines
1.5 KiB
TOML
Raw Permalink Normal View History

[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "tqftw-model-loader"
version = "2.0.0"
description = "DEPRECATED: Use tqftw-model-boss instead. Unified ML model loading and caching"
readme = "README.md"
requires-python = ">=3.10"
license = {text = "MIT"}
authors = [
{name = "Lilith Platform"}
]
classifiers = [
"Development Status :: 7 - Inactive",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = []
[project.optional-dependencies]
dev = [
"pytest>=7.0",
"pytest-asyncio>=0.21",
"pytest-cov>=4.0",
]
hf = [
"transformers>=4.30",
"torch>=2.0",
"accelerate>=0.20",
]
diffusers = [
"diffusers>=0.25",
"torch>=2.0",
"accelerate>=0.20",
]
gguf = [
"llama-cpp-python>=0.2",
]
onnx = [
"onnxruntime>=1.16",
]
whisper = [
"faster-whisper>=0.10",
]
all = [
"tqftw-model-loader[hf,diffusers,gguf,onnx,whisper]",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
python_files = ["test_*.py"]
python_functions = ["test_*"]
[tool.coverage.run]
source = ["tqftw_model_loader"]
omit = ["*/tests/*"]
[tool.setuptools.packages.find]
where = ["."]
include = ["tqftw_model_loader*"]