-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
50 additions
and
13 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
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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
from setuptools import find_packages, setup | ||
|
||
with open("README.md") as f: | ||
long_description = f.read() | ||
|
||
setup( | ||
name="soft_moe", | ||
packages=find_packages(), | ||
version="0.0.1", | ||
license="Apache-2.0", | ||
description="PyTorch implementation of 'From Sparse to Soft Mixtures of Experts'", | ||
long_description=long_description, | ||
long_description_content_type="text/markdown", | ||
author="Ben Conrad", | ||
author_email="benwconrad@proton.me", | ||
url="https://github.com/bwconrad/soft-moe", | ||
keywords=[ | ||
"transformers", | ||
"artificial intelligence", | ||
"computer vision", | ||
"deep learning", | ||
], | ||
install_requires=[ | ||
"timm >= 0.9.2", | ||
"torch >= 2.0.1", | ||
], | ||
classifiers=[ | ||
"Intended Audience :: Developers", | ||
"Intended Audience :: Science/Research", | ||
"Topic :: Scientific/Engineering :: Artificial Intelligence", | ||
"License :: OSI Approved :: Apache Software License", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
], | ||
python_requires=">=3.10", | ||
) |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
from soft_moe.soft_moe import SoftMoELayerWrapper | ||
from soft_moe.vision_transformer import (SoftMoEVisionTransformer, | ||
soft_moe_vit_base, soft_moe_vit_huge, | ||
soft_moe_vit_large, | ||
soft_moe_vit_small, soft_moe_vit_tiny) |
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.