-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
executable file
·91 lines (82 loc) · 2.07 KB
/
Copy pathpyproject.toml
File metadata and controls
executable file
·91 lines (82 loc) · 2.07 KB
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
[build-system]
requires = ["setuptools>=68.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "losion"
version = "2.5.6"
description = "Losion — Hybrid AI Framework with Tri-Jalur Router Architecture"
readme = "README.md"
license = {text = "MIT"}
requires-python = ">=3.10"
authors = [
{name = "Losion Contributors"},
]
keywords = ["ai", "llm", "mamba", "moe", "attention", "hybrid-model", "state-space-model"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"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 = [
"torch>=2.1.0",
"numpy>=1.24.0",
"pyyaml>=6.0",
"einops>=0.7.0",
]
[project.optional-dependencies]
training = [
"wandb>=0.15.0",
"tensorboard>=2.14.0",
"datasets>=2.14.0",
"tokenizers>=0.14.0",
"transformers>=4.35.0",
"torchao>=0.4.0",
"bitsandbytes>=0.41.0",
]
eval = [
"lm-eval>=0.4.0",
]
dev = [
"pytest>=7.4.0",
"pytest-cov>=4.1.0",
"mypy>=1.6.0",
"ruff>=0.1.0",
"pre-commit>=3.5.0",
]
fp8 = [
"torchao>=0.4.0",
]
lora = [
"bitsandbytes>=0.41.0",
]
all = [
"losion[training,eval,dev,fp8,lora]",
]
[project.urls]
Homepage = "https://github.com/Wolfvin/Losion"
Documentation = "https://github.com/Wolfvin/Losion#readme"
Repository = "https://github.com/Wolfvin/Losion"
Issues = "https://github.com/Wolfvin/Losion/issues"
[tool.setuptools.packages.find]
include = ["losion*"]
[tool.ruff]
target-version = "py310"
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "W", "I", "N", "UP", "B", "SIM"]
ignore = ["E501", "SIM108"]
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = "test_*.py"
addopts = "-v --tb=short"