File tree Expand file tree Collapse file tree 3 files changed +65
-39
lines changed
Expand file tree Collapse file tree 3 files changed +65
-39
lines changed Original file line number Diff line number Diff line change 1+ name : Build with Rye
2+ on : push
3+
4+ jobs :
5+ build :
6+ runs-on : ubuntu-latest
7+ steps :
8+ - uses : actions/checkout@v4
9+ - name : Install Python
10+ uses : actions/setup-python@v4
11+ - name : Install the latest version of rye
12+ uses : eifinger/setup-rye@v2
13+ - name : Build with Rye
14+ run : rye build
Original file line number Diff line number Diff line change 1+ [project ]
2+ name = " vector-quantize-pytorch"
3+ version = " 1.14.8"
4+ description = " Vector Quantization - Pytorch"
5+ authors = [
6+ { name = " Phil Wang" , email = " lucidrains@gmail.com" }
7+ ]
8+ readme = " README.md"
9+ requires-python = " >= 3.9"
10+ license = { file = " LICENSE" }
11+ keywords = [
12+ ' artificial intelligence' ,
13+ ' deep learning' ,
14+ ' pytorch' ,
15+ ' quantization'
16+ ]
17+ classifiers =[
18+ ' Development Status :: 4 - Beta' ,
19+ ' Intended Audience :: Developers' ,
20+ ' Topic :: Scientific/Engineering :: Artificial Intelligence' ,
21+ ' License :: OSI Approved :: MIT License' ,
22+ ' Programming Language :: Python :: 3.6' ,
23+ ]
24+
25+ dependencies = [
26+ " torch>=2.3.0" ,
27+ " einops>=0.8.0" ,
28+ " einx>=0.2.2" ,
29+ ]
30+
31+ [project .urls ]
32+ Homepage = " https://pypi.org/project/vector-quantize-pytorch/"
33+ Repository = " https://github.com/lucidrains/vector-quantizer-pytorch"
34+
35+ [project .optional-dependencies ]
36+ examples = [" tqdm" , " torchvision" ]
37+
138[build-system ]
2- requires = [" setuptools" ]
3- build-backend = " setuptools.build_meta"
39+ requires = [" hatchling" ]
40+ build-backend = " hatchling.build"
41+
42+ [tool .rye ]
43+ managed = true
44+ dev-dependencies = [
45+ " ruff>=0.4.2" ,
46+ ]
47+
48+ [tool .hatch .metadata ]
49+ allow-direct-references = true
50+
51+ [tool .hatch .build .targets .wheel ]
52+ packages = [" vector_quantize_pytorch" ]
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments