Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
File size: 1,179 Bytes
d279988 e7abd9e d279988 e7abd9e d279988 |
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 44 45 46 47 48 49 50 51 52 53 54 55 |
[project]
name = "llm-leaderboard-backend"
version = "0.1.0"
description = "Backend for the Open LLM Leaderboard"
requires-python = "==3.12.1"
dependencies = [
"fastapi >=0.115.6",
"uvicorn >=0.34.0",
"numpy >=2.2.0",
"pandas >=2.2.3",
"datasets >=3.2.0",
"pyarrow >=18.1.0",
"python-multipart >=0.0.20",
"huggingface-hub >=0.27.0",
"transformers >=4.47.0",
"safetensors >=0.4.5",
"aiofiles >=24.1.0",
"fastapi-cache2 >=0.2.1",
]
[project.optional-dependencies]
dev = [
"pytest >=8.3.4",
"black >=24.10.0",
"isort >=5.13.2",
"flake8 >=7.1.1",
]
[tool.ruff]
line-length = 120
target-version = "py312"
include = ["*.py", "*.pyi", "**/pyproject.toml", "*.ipynb"]
ignore=["I","EM","FBT","TRY003","S101","D101","D102","D103","D104","D105","G004","D107","FA102"]
fixable=["ALL"]
select=["ALL"]
[tool.ruff.lint]
select = ["E", "F"]
fixable = ["ALL"]
ignore = ["E501"] # line too long (black is taking care of this)
[tool.isort]
profile = "black"
[tool.black]
line-length = 119
[build-system]
requires = ["hatchling>=1.0.0"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["backend"]
|