-
Notifications
You must be signed in to change notification settings - Fork 53
Expand file tree
/
Copy pathpyproject.toml
More file actions
66 lines (62 loc) · 2.52 KB
/
Copy pathpyproject.toml
File metadata and controls
66 lines (62 loc) · 2.52 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
[build-system]
requires = ["setuptools>=77"]
build-backend = "setuptools.build_meta"
[project]
name = "flashlib"
version = "0.3.0"
description = "High-performance ML primitives, applications, and informative cost API — Triton + CuteDSL kernels for NVIDIA GPUs."
requires-python = ">=3.9"
readme = "README.md"
license = "Apache-2.0"
license-files = ["LICENSE"]
authors = [
{name = "Shuo Yang", email = "andy_yang@berkeley.edu"},
]
maintainers = [
{name = "Shuo Yang", email = "andy_yang@berkeley.edu"},
]
keywords = ["triton", "cutedsl", "gpu", "machine-learning", "kmeans", "knn", "pca", "dbscan", "hdbscan", "umap", "cuml"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Operating System :: POSIX :: Linux",
"Operating System :: Microsoft :: Windows",
"Environment :: GPU :: NVIDIA CUDA",
]
dependencies = [
"torch>=2.0",
"triton>=3.6; platform_system == 'Linux'",
"triton-windows>=3.6; platform_system == 'Windows'",
"numpy",
"numba", # hdbscan tree-condensation helpers (CPU-side)
# CuteDSL backends for kmeans/knn/dbscan/hdbscan/umap/spectral_clustering/polar/orthonormalize.
# Upper bound tracks the newest cutlass-dsl release validated against the
# private MLIR helper imports in the knn hopper kernel (they moved from
# cutlass.base_dsl._mlir_helpers to cutlass._mlir_helpers in 4.6).
"nvidia-cutlass-dsl>=4.4,<4.7; platform_system == 'Linux'",
"tqdm", # progress bar in kmeans Lloyd iterations
]
[project.optional-dependencies]
dev = ["pytest>=7", "scikit-learn>=1.5,<1.8", "tqdm"]
bench = [
"scikit-learn>=1.5,<1.8",
"tqdm",
"matplotlib",
# vs-cuML comparison benchmarks (optional, RAPIDS wheels from pypi.nvidia.com):
# pip install --extra-index-url https://pypi.nvidia.com cuml-cu13 cudf-cu13 cupy-cuda13x
# See benchmarks/vs_cuml/README.md for the supported version matrix.
]
[project.urls]
Homepage = "https://flashml-org.github.io/"
Documentation = "https://flashml-org.github.io/"
Repository = "https://github.com/FlashML-org/flashlib"
Issues = "https://github.com/FlashML-org/flashlib/issues"
[tool.setuptools.packages.find]
include = ["flashlib*"]