-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
84 lines (77 loc) · 2.45 KB
/
Copy pathpyproject.toml
File metadata and controls
84 lines (77 loc) · 2.45 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
# Copyright 2026 Kristian Baer
# Licensed under the Apache License, Version 2.0
# SOFAR (Signal-Optimized Frequency-Aligned Routing)
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "sofar"
version = "0.5.0"
description = "Signal-Optimized Frequency-Aligned Routing: a bio-inspired acoustic geometry routing layer for transformer models."
readme = "README.md"
requires-python = ">=3.10"
license = "Apache-2.0"
license-files = ["LICENSE", "NOTICE"]
authors = [{ name = "Kristian Baer" }]
keywords = [
"transformers",
"long-context",
"lora",
"mechanistic-interpretability",
"svd",
"bio-inspired",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
# Pins bumped 2026-04-26 to address Dependabot-flagged CVEs
# (torch CVE-2025-32434 critical; transformers CVE cluster).
"torch>=2.7",
"transformers>=4.55",
"tokenizers>=0.21",
"numpy>=2.0",
"scipy>=1.14",
"safetensors>=0.4",
"accelerate>=1.2",
"datasets>=3.2",
"tqdm>=4.67",
"rich>=13",
]
[project.optional-dependencies]
test = [
"pytest>=8.4",
"pytest-cov>=6",
]
[project.scripts]
sofar = "sofar.cli:main"
[project.urls]
Homepage = "https://github.com/NORTHTEKDevs/SOFAR"
Issues = "https://github.com/NORTHTEKDevs/SOFAR/issues"
[tool.setuptools.packages.find]
include = ["sofar*"]
exclude = ["tests*", "examples*"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-ra --strict-markers"
filterwarnings = [
# Default-error so test code stays warning-clean. Targeted ignores for
# third-party deprecations we cannot control - torch and transformers
# ship DeprecationWarnings on most minor releases, and treating those
# as test failures turns every routine dependency bump into a CI fire
# drill that has nothing to do with SOFAR correctness.
"error",
"ignore::DeprecationWarning:torch",
"ignore::DeprecationWarning:transformers",
"ignore::DeprecationWarning:huggingface_hub",
"ignore::DeprecationWarning:tokenizers",
]