Skip to content

Commit b7cdf7b

Browse files
committed
Add back info in setup.py to upload to PyPI
1 parent 6763edb commit b7cdf7b

File tree

2 files changed

+21
-3
lines changed

2 files changed

+21
-3
lines changed

mamba_ssm/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "2.2.3"
1+
__version__ = "2.2.3.post1"
22

33
from mamba_ssm.ops.selective_scan_interface import selective_scan_fn, mamba_inner_fn
44
from mamba_ssm.modules.mamba_simple import Mamba

setup.py

+20-2
Original file line numberDiff line numberDiff line change
@@ -348,13 +348,31 @@ def run(self):
348348
"mamba_ssm.egg-info",
349349
)
350350
),
351+
author="Tri Dao, Albert Gu",
352+
353+
description="Mamba state-space model",
351354
long_description=long_description,
352355
long_description_content_type="text/markdown",
353-
356+
url="https://github.com/state-spaces/mamba",
357+
classifiers=[
358+
"Programming Language :: Python :: 3",
359+
"License :: OSI Approved :: BSD License",
360+
"Operating System :: Unix",
361+
],
354362
ext_modules=ext_modules,
355363
cmdclass={"bdist_wheel": CachedWheelsCommand, "build_ext": BuildExtension}
356364
if ext_modules
357365
else {
358366
"bdist_wheel": CachedWheelsCommand,
359-
}
367+
},
368+
python_requires=">=3.9",
369+
install_requires=[
370+
"torch",
371+
"packaging",
372+
"ninja",
373+
"einops",
374+
"triton",
375+
"transformers",
376+
# "causal_conv1d>=1.4.0",
377+
],
360378
)

0 commit comments

Comments
 (0)