-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updates to make torchcfm pip installable
- Loading branch information
Showing
3 changed files
with
26 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -171,3 +171,5 @@ slurm*.out | |
*.jpg | ||
|
||
notebooks/figures/ | ||
|
||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,15 +4,36 @@ | |
|
||
from setuptools import find_packages, setup | ||
|
||
install_requires = [ | ||
"torch>=1.11.0", | ||
"torchvision>=0.11.0", | ||
"lightning-bolts", | ||
"matplotlib", | ||
"numpy", | ||
"scipy", | ||
"scikit-learn", | ||
"scprep", | ||
"scanpy", | ||
"torchdyn", | ||
"pot", | ||
"torchdiffeq", | ||
"absl-py", | ||
"clean-fid", | ||
] | ||
|
||
version_py = os.path.join(os.path.dirname(__file__), "torchcfm", "version.py") | ||
version = open(version_py).read().strip().split("=")[-1].replace('"', "").strip() | ||
readme = open("README.md").read() | ||
setup( | ||
name="torchcfm", | ||
version=version, | ||
description="Conditional Flow Matching for Fast Continuous Normalizing Flow Training.", | ||
author="Alexander Tong", | ||
author="Alexander Tong, Kilian Fatras", | ||
author_email="[email protected]", | ||
url="https://github.com/atong01/conditional-flow-matching", | ||
install_requires=["torch", "pot", "numpy", "torchdyn"], | ||
install_requires=install_requires, | ||
license="MIT", | ||
long_description=readme, | ||
long_description_content_type="text/markdown", | ||
packages=find_packages(), | ||
) |