-
Notifications
You must be signed in to change notification settings - Fork 50
Expand file tree
/
Copy pathsetup.py
More file actions
56 lines (51 loc) · 1.69 KB
/
setup.py
File metadata and controls
56 lines (51 loc) · 1.69 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
# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
#
# SPDX-License-Identifier: MIT
import pathlib
import setuptools
README = (pathlib.Path(__file__).parent / "README.md").read_text()
setuptools.setup(
name="tilegym",
version="1.0.0",
author="NVIDIA Corporation",
description="TileGym",
long_description=README,
long_description_content_type="text/markdown",
url="https://github.com/NVIDIA/TileGym",
packages=setuptools.find_packages(where="src"),
package_dir={"": "src"},
license="MIT",
classifiers=[
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Operating System :: OS Independent",
],
python_requires=">=3.10",
install_requires=[
# Note: torch and triton should be pre-installed in your environment
"transformers==4.56.2",
"tokenizers==0.22.0",
# 'accelerate', # Use `pip install accelerate --no-deps` to avoid reinstall torch
"huggingface_hub",
"matplotlib",
"pandas",
"pytest",
"numpy",
"cuda-tile",
"cuda-tile-experimental @ git+https://github.com/NVIDIA/cutile-python.git#subdirectory=experimental",
"filelock>=3.20.3", # CVE fix: GHSA-w853-jp5j-5j7f, GHSA-qmgc-5h2g-mvrw
"pillow>=12.1.1", # CVE fix: GHSA-cfh3-3jmp-rvhc
# 'nvidia-ml-py', # optional
],
extras_require={
"dev": [
"ruff==0.14.9",
],
"torch": [
"torch>=2.9.1",
],
},
)