-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
76 lines (70 loc) · 1.63 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
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
[project]
name = "tk-llms"
version = "0.1.0"
description = "Some LLM experiments"
authors = [
{"name" = "Toni Kukurin", "email" = "[email protected]"},
]
requires-python = ">=3.10"
dependencies = [
"altair",
"llama-cpp-python",
"transformers[sentencepiece]",
"accelerate",
"datasets",
"diskcache",
"rich",
"jax",
# todo cuda?
"ipykernel",
"networkx",
"scikit-learn",
"numpy",
"matplotlib",
"scipy",
"pandas",
"einops",
"evaluate",
"pytest",
"loguru",
"tokenizers",
"hydra-core",
"penzai",
"xminigrid",
# "tensorboardx",
# better experiment tracking (I think...)
"aim>=3.24.0",
# AIM requires plotly for `Figure`s
"plotly>=5.23.0",
# "kaleido", # plotly to img
# install for mimetypes!
"nbformat>=4.2.0",
"openai",
# idk just seems cool for presentation
"traceback-with-variables",
# "table-to-ascii",
"ipywidgets",
# to check quickly train-test overlap levels
"rapidfuzz",
"tiktoken>=0.8.0",
"dm-pix>=0.4.3",
]
[project.optional-dependencies]
bnb = [
# no support for mac?
# https://huggingface.co/docs/bitsandbytes/v0.44.1/installation
# uv add can't add only for platform?
# https://discuss.python.org/t/uv-adds-feature-to-resolve-for-other-platforms/51513
"bitsnbytes>=1.0.0",
]
[tool.pixi.project]
channels = ["conda-forge"]
platforms = ["linux-64", "osx-arm64"]
[tool.pixi.pypi-dependencies]
tk-llms = { path = ".", editable = true }
[build-system]
requires = ["setuptools>=42", "wheel"]
build-backend = "setuptools.build_meta"
[tool.pyright]
venvPath = "."
venv = ".venv"