nayara-v1 / source /pyproject.toml
sriharithebest's picture
Upload folder using huggingface_hub
0990c3f verified
Raw History Blame Contribute Delete
1.05 kB
[build-system]
requires = ["setuptools>=75", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "nayara"
version = "1.0.0"
description = "A from-scratch 350M parameter CPU-deployable code model"
requires-python = ">=3.10,<3.14"
dependencies = [
# Lightning's managed SciPy build is compiled against NumPy 1.x.
"numpy==1.26.4",
"safetensors>=0.5",
"tokenizers>=0.21",
"tqdm>=4.67",
]
[project.optional-dependencies]
train = ["torch>=2.8", "datasets>=4.0", "zstandard>=0.23"]
demo = ["torch>=2.8", "torchao>=0.17", "gradio>=5.0"]
serve = ["torch>=2.8", "torchao>=0.17", "fastapi>=0.116", "uvicorn[standard]>=0.35", "boto3>=1.40"]
dev = ["pytest>=8.0", "fastapi>=0.116", "httpx>=0.28", "ruff>=0.12"]
[project.scripts]
nayara-train = "nayara.train:main"
nayara-prepare = "nayara.prepare_data:main"
nayara-generate = "nayara.generate:main"
nayara-quantize = "nayara.quantize:main"
[tool.setuptools.packages.find]
include = ["nayara*"]
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.ruff]
exclude = ["notebooks"]