Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setup.py to install so we can add tests and move scripts #17

Merged
merged 2 commits into from
Feb 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/mypy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
pip install -I ibm-fms@git+https://github.com/foundation-model-stack/foundation-model-stack@main

# No type stubs available for "fire" and "transformers"
mypy --exclude fms_to_hf.py --exclude main_training.py .
mypy --exclude fms_to_hf.py --exclude main_training.py --exclude setup.py .

- name: Save Virtualenv
id: cache-venv-save
Expand Down
18 changes: 18 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
from setuptools import find_packages, setup


setup(
name="fms_fsdp",
version="0.0.1",
author="Linsong Chu, Davis Wertheimer, Brian Vaughan, Andrea Frittoli, Joshua Rosenkranz, Antoni Viros i Martin, Raghu Kiran Ganti",
author_email="[email protected]",
description="Pretraining scripts using FSDP and IBM Foundation Model Stack",
url="https://github.com/foundation-model-stack/fms-fsdp",
packages=find_packages(),
install_requires=["ibm-fms >= 0.0.3", "torch >= 2.1"],
license="Apache License 2.0",
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
],
)
Loading