forked from NVlabs/FastGen
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
22 lines (17 loc) · 757 Bytes
/
setup.py
File metadata and controls
22 lines (17 loc) · 757 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
from setuptools import setup, find_packages
from pathlib import Path
def read_requirements():
requirements_path = Path(__file__).parent / "requirements.txt"
with open(requirements_path) as f:
return [line.strip() for line in f if line.strip() and not line.startswith("#")]
setup(
name="fastgen",
version="0.1.0",
description="FastGen is a PyTorch-based framework for building fast generative models using various distillation and acceleration techniques.",
license="Apache-2.0",
packages=find_packages(),
python_requires=">=3.10",
install_requires=read_requirements(),
)