-
Notifications
You must be signed in to change notification settings - Fork 13
/
pyproject.toml
50 lines (46 loc) · 1.37 KB
/
pyproject.toml
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
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "sae_auto_interp"
version = "0.1.0"
description = "Automated Interpretability"
readme = "README.md"
requires-python = ">=3.10"
keywords = ["interpretability", "explainable-ai"]
dependencies = [
"datasets",
"nnsight",
"orjson",
"sae@git+https://github.com/EleutherAI/sae",
"safetensors",
"simple_parsing",
"torchtyping",
"fire",
"blobfile",
"transformer_lens",
"bitsandbytes",
"flask",
"vllm",
"aiofiles",
"sentence_transformers"
]
[tool.pyright]
include = ["sae_auto_interp*"]
reportPrivateImportUsage = false
[tool.setuptools.packages.find]
include = ["sae_auto_interp*"]
[tool.ruff]
# TODO: Clean up or remove experiments folder.
exclude = ["experiments", "**/prompts/*", "**/prompts.py","**/simulator.py"]
# Avoid automatically removing unused imports in __init__.py files.
# Such imports will be flagged with a dedicated message suggesting
# that the import is either added to the module's __all__ symbol
ignore-init-module-imports = true
# Ignore F821 (undefined name) errors, as they are common in type annotations.
ignore = ["F722", "F821"]
# Same as Black.
line-length = 88
# Enable pycodestyle (`E`), Pyflakes (`F`), and isort (`I`) codes
# See https://beta.ruff.rs/docs/rules/ for more possible rules
select = ["E", "F", "I"]