flash-mamba 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- flash_mamba/__init__.py +20 -0
- flash_mamba/__main__.py +3 -0
- flash_mamba/_backend.py +32 -0
- flash_mamba/cli.py +36 -0
- flash_mamba/diagnostics.py +65 -0
- flash_mamba/factory.py +25 -0
- flash_mamba-0.1.0.dist-info/METADATA +170 -0
- flash_mamba-0.1.0.dist-info/RECORD +12 -0
- flash_mamba-0.1.0.dist-info/WHEEL +5 -0
- flash_mamba-0.1.0.dist-info/entry_points.txt +2 -0
- flash_mamba-0.1.0.dist-info/licenses/LICENSE +21 -0
- flash_mamba-0.1.0.dist-info/top_level.txt +1 -0
flash_mamba/__init__.py
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"""Convenience APIs for official Mamba blocks; importing this package is lightweight."""
|
|
2
|
+
|
|
3
|
+
from typing import Any
|
|
4
|
+
|
|
5
|
+
from ._backend import BackendUnavailableError, load_class
|
|
6
|
+
from .diagnostics import diagnose
|
|
7
|
+
from .factory import create_mamba
|
|
8
|
+
|
|
9
|
+
__version__ = "0.1.0"
|
|
10
|
+
__all__ = ["BackendUnavailableError", "Mamba", "Mamba2", "create_mamba", "diagnose"]
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
def __getattr__(name: str) -> Any:
|
|
14
|
+
if name in {"Mamba", "Mamba2"}:
|
|
15
|
+
return load_class(name)
|
|
16
|
+
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
def __dir__() -> list[str]:
|
|
20
|
+
return sorted(set(globals()) | set(__all__))
|
flash_mamba/__main__.py
ADDED
flash_mamba/_backend.py
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"""Load upstream only when a model is requested."""
|
|
2
|
+
|
|
3
|
+
import importlib
|
|
4
|
+
from typing import Any
|
|
5
|
+
|
|
6
|
+
INSTALL_HINT = (
|
|
7
|
+
"On Linux, install a CUDA-enabled PyTorch first, then run "
|
|
8
|
+
'`python -m pip install "mamba-ssm[causal-conv1d]==2.3.2.post1" '
|
|
9
|
+
"--no-build-isolation`. For current upstream source builds, Mamba-1 also needs "
|
|
10
|
+
"MAMBA_KEEP_CUDA_BUILD=TRUE to enable selective_scan_cuda. "
|
|
11
|
+
"Use `flash-mamba doctor` to inspect the environment. "
|
|
12
|
+
"Native Windows/CPU execution is not provided by this wrapper."
|
|
13
|
+
)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
class BackendUnavailableError(RuntimeError):
|
|
17
|
+
"""The official backend or one of its native dependencies could not be loaded."""
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
def load_class(name: str) -> Any:
|
|
21
|
+
try:
|
|
22
|
+
backend = importlib.import_module("mamba_ssm")
|
|
23
|
+
except (ImportError, OSError, RuntimeError) as exc:
|
|
24
|
+
raise BackendUnavailableError(
|
|
25
|
+
f"Cannot import official mamba_ssm ({type(exc).__name__}: {exc}). {INSTALL_HINT}"
|
|
26
|
+
) from exc
|
|
27
|
+
try:
|
|
28
|
+
return getattr(backend, name)
|
|
29
|
+
except AttributeError as exc:
|
|
30
|
+
raise BackendUnavailableError(
|
|
31
|
+
f"Installed mamba_ssm does not expose {name}. {INSTALL_HINT}"
|
|
32
|
+
) from exc
|
flash_mamba/cli.py
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"""Command-line environment checks."""
|
|
2
|
+
|
|
3
|
+
import argparse
|
|
4
|
+
import json
|
|
5
|
+
|
|
6
|
+
from . import __version__
|
|
7
|
+
from .diagnostics import diagnose
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
def main(argv: list[str] | None = None) -> int:
|
|
11
|
+
parser = argparse.ArgumentParser(prog="flash-mamba")
|
|
12
|
+
parser.add_argument("--version", action="version", version=__version__)
|
|
13
|
+
commands = parser.add_subparsers(dest="command", required=True)
|
|
14
|
+
doctor = commands.add_parser(
|
|
15
|
+
"doctor", help="Inspect upstream dependencies and GPU availability"
|
|
16
|
+
)
|
|
17
|
+
doctor.add_argument("--json", action="store_true", help="Print machine-readable JSON")
|
|
18
|
+
args = parser.parse_args(argv)
|
|
19
|
+
report = diagnose()
|
|
20
|
+
if args.json:
|
|
21
|
+
print(json.dumps(report, ensure_ascii=True, indent=2))
|
|
22
|
+
else:
|
|
23
|
+
print(f"Python {report['python']} on {report['platform']}")
|
|
24
|
+
for package, version in report["packages"].items():
|
|
25
|
+
print(f" {package}: {version or 'not installed'}")
|
|
26
|
+
print(f"CUDA/ROCm device available: {report['cuda_available']}")
|
|
27
|
+
print(f"Official backend importable: {report['backend_importable']}")
|
|
28
|
+
print(f"Ready for GPU smoke test: {report['ready_for_smoke_test']}")
|
|
29
|
+
for message in report["errors"]:
|
|
30
|
+
print(f"ERROR: {message}")
|
|
31
|
+
for message in report["warnings"]:
|
|
32
|
+
print(f"WARNING: {message}")
|
|
33
|
+
print(report["note"])
|
|
34
|
+
if not report["ready_for_smoke_test"]:
|
|
35
|
+
print(report["install_hint"])
|
|
36
|
+
return 0 if report["ready_for_smoke_test"] else 1
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"""Read-only diagnostics; these checks do not run kernels or install packages."""
|
|
2
|
+
|
|
3
|
+
import importlib
|
|
4
|
+
import platform
|
|
5
|
+
from importlib import metadata
|
|
6
|
+
from typing import Any
|
|
7
|
+
|
|
8
|
+
from ._backend import INSTALL_HINT
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
def diagnose() -> dict[str, Any]:
|
|
12
|
+
"""Report imports and CUDA availability, without claiming kernel compatibility."""
|
|
13
|
+
report: dict[str, Any] = {
|
|
14
|
+
"python": platform.python_version(),
|
|
15
|
+
"platform": platform.system(),
|
|
16
|
+
"packages": {},
|
|
17
|
+
"torch_importable": False,
|
|
18
|
+
"backend_importable": False,
|
|
19
|
+
"cuda_available": False,
|
|
20
|
+
"cuda_version": None,
|
|
21
|
+
"hip_version": None,
|
|
22
|
+
"models": [],
|
|
23
|
+
"errors": [],
|
|
24
|
+
"warnings": [],
|
|
25
|
+
"ready_for_smoke_test": False,
|
|
26
|
+
}
|
|
27
|
+
for package in ("flash-mamba", "torch", "mamba-ssm", "causal-conv1d", "triton"):
|
|
28
|
+
try:
|
|
29
|
+
report["packages"][package] = metadata.version(package)
|
|
30
|
+
except metadata.PackageNotFoundError:
|
|
31
|
+
report["packages"][package] = None
|
|
32
|
+
if report["platform"] != "Linux":
|
|
33
|
+
report["warnings"].append("Use Linux/WSL2 for the upstream GPU backend.")
|
|
34
|
+
try:
|
|
35
|
+
torch = importlib.import_module("torch")
|
|
36
|
+
report["torch_importable"] = True
|
|
37
|
+
report["cuda_version"] = torch.version.cuda
|
|
38
|
+
report["hip_version"] = getattr(torch.version, "hip", None)
|
|
39
|
+
report["cuda_available"] = bool(torch.cuda.is_available())
|
|
40
|
+
except Exception as exc:
|
|
41
|
+
report["errors"].append(f"torch: {type(exc).__name__}: {exc}")
|
|
42
|
+
# Avoid importing a dependent library again if PyTorch already failed.
|
|
43
|
+
if report["torch_importable"]:
|
|
44
|
+
try:
|
|
45
|
+
backend = importlib.import_module("mamba_ssm")
|
|
46
|
+
report["models"] = [name for name in ("Mamba", "Mamba2") if hasattr(backend, name)]
|
|
47
|
+
missing = sorted({"Mamba", "Mamba2"} - set(report["models"]))
|
|
48
|
+
if missing:
|
|
49
|
+
report["errors"].append(f"mamba_ssm: missing exports: {', '.join(missing)}")
|
|
50
|
+
else:
|
|
51
|
+
report["backend_importable"] = True
|
|
52
|
+
except Exception as exc:
|
|
53
|
+
report["errors"].append(f"mamba_ssm: {type(exc).__name__}: {exc}")
|
|
54
|
+
if not report["cuda_available"]:
|
|
55
|
+
report["warnings"].append("PyTorch cannot access a CUDA/ROCm device.")
|
|
56
|
+
report["ready_for_smoke_test"] = (
|
|
57
|
+
report["platform"] == "Linux"
|
|
58
|
+
and report["torch_importable"]
|
|
59
|
+
and report["backend_importable"]
|
|
60
|
+
and report["cuda_available"]
|
|
61
|
+
and not report["errors"]
|
|
62
|
+
)
|
|
63
|
+
report["note"] = "Imports and device availability do not verify forward/backward kernels."
|
|
64
|
+
report["install_hint"] = INSTALL_HINT
|
|
65
|
+
return report
|
flash_mamba/factory.py
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"""A small factory that preserves upstream model behavior and checkpoint keys."""
|
|
2
|
+
|
|
3
|
+
from typing import Any, Literal
|
|
4
|
+
|
|
5
|
+
from ._backend import load_class
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
def create_mamba(
|
|
9
|
+
d_model: int,
|
|
10
|
+
*,
|
|
11
|
+
variant: Literal["mamba", "mamba2"] = "mamba2",
|
|
12
|
+
**kwargs: Any,
|
|
13
|
+
) -> Any:
|
|
14
|
+
"""Return an official Mamba/Mamba2 instance with kwargs passed through unchanged.
|
|
15
|
+
|
|
16
|
+
The default is Mamba2. Model execution follows upstream platform requirements.
|
|
17
|
+
Upstream controls defaults, device/dtype, dimension constraints, and validation
|
|
18
|
+
of all arguments other than d_model and variant.
|
|
19
|
+
"""
|
|
20
|
+
if isinstance(d_model, bool) or not isinstance(d_model, int) or d_model <= 0:
|
|
21
|
+
raise ValueError("d_model must be a positive integer")
|
|
22
|
+
if variant not in ("mamba", "mamba2"):
|
|
23
|
+
raise ValueError("variant must be 'mamba' or 'mamba2'")
|
|
24
|
+
model_class = load_class("Mamba" if variant == "mamba" else "Mamba2")
|
|
25
|
+
return model_class(d_model=d_model, **kwargs)
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: flash-mamba
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: A lightweight convenience wrapper for the official mamba-ssm package
|
|
5
|
+
Author: Jellyfish042
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
Keywords: mamba,mamba-ssm,pytorch,state-space-model
|
|
8
|
+
Classifier: Development Status :: 3 - Alpha
|
|
9
|
+
Classifier: Programming Language :: Python :: 3
|
|
10
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
11
|
+
Classifier: Operating System :: OS Independent
|
|
12
|
+
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
13
|
+
Requires-Python: >=3.10
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
License-File: LICENSE
|
|
16
|
+
Provides-Extra: ssm
|
|
17
|
+
Requires-Dist: mamba-ssm<3,>=2.3.2.post1; extra == "ssm"
|
|
18
|
+
Provides-Extra: dev
|
|
19
|
+
Requires-Dist: pytest>=8; extra == "dev"
|
|
20
|
+
Requires-Dist: build>=1.2; extra == "dev"
|
|
21
|
+
Requires-Dist: twine>=6; extra == "dev"
|
|
22
|
+
Requires-Dist: ruff>=0.11; extra == "dev"
|
|
23
|
+
Dynamic: license-file
|
|
24
|
+
|
|
25
|
+
# flash-mamba
|
|
26
|
+
|
|
27
|
+
`flash-mamba` 是官方 [mamba-ssm](https://github.com/state-spaces/mamba) 的轻量包装库。
|
|
28
|
+
统一创建 Mamba / Mamba2,提供懒加载和环境诊断,返回官方模型实例。
|
|
29
|
+
训练、推理缓存、参数默认值、`state_dict` 和内核行为均由官方实现决定。
|
|
30
|
+
|
|
31
|
+
这是独立项目,与官方团队没有隶属关系。项目名称不代表新增加速内核或性能提升。
|
|
32
|
+
v0.1.0 的封装目标是 PyPI `mamba-ssm==2.3.2.post1`;Mamba3 不在本次范围内。
|
|
33
|
+
当前本机只验证了包装层和发行包,真实 GPU 验证需在 Linux 环境完成。
|
|
34
|
+
|
|
35
|
+
## 安装
|
|
36
|
+
|
|
37
|
+
包装层需要 Python 3.10+,自身没有运行时依赖,可在 Windows 导入和运行诊断。
|
|
38
|
+
发行包发布前,从本地安装:
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
python -m pip install .
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
发布到 PyPI 后才可使用:
|
|
45
|
+
|
|
46
|
+
```bash
|
|
47
|
+
python -m pip install flash-mamba
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
实际模型运行需要先在 **Linux(Windows 用户可使用 WSL2)** 安装适配设备的
|
|
51
|
+
PyTorch,再安装官方 GPU 后端。包装层不提供 CPU 替代实现或原生 Windows 内核。
|
|
52
|
+
CUDA/ROCm、编译工具和模型的具体要求以
|
|
53
|
+
[官方安装文档](https://github.com/state-spaces/mamba#installation) 为准。
|
|
54
|
+
|
|
55
|
+
```bash
|
|
56
|
+
# 先按 https://pytorch.org/get-started/locally/ 安装对应的 GPU 版 PyTorch
|
|
57
|
+
python -m pip install packaging ninja wheel setuptools
|
|
58
|
+
python -m pip install "mamba-ssm[causal-conv1d]==2.3.2.post1" --no-build-isolation
|
|
59
|
+
python -m pip install .
|
|
60
|
+
flash-mamba doctor
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
`ssm` extra 声明 `mamba-ssm>=2.3.2.post1,<3`。安装前仍需先配置 GPU 版 PyTorch
|
|
64
|
+
和官方构建依赖:
|
|
65
|
+
|
|
66
|
+
```bash
|
|
67
|
+
python -m pip install ".[ssm]" --no-build-isolation
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
显式两步安装更方便排查官方编译或二进制兼容问题。包装层不会自动安装、下载或
|
|
71
|
+
替换 PyTorch。官方 `main` 与 PyPI 发行版的安装默认值可能不同;当前 `main`
|
|
72
|
+
默认不构建 `selective_scan_cuda`,Mamba-1 使用该扩展时需要显式开启:
|
|
73
|
+
|
|
74
|
+
```bash
|
|
75
|
+
# 仅当选择官方最新源码时使用;并非 v0.1.0 已验证的发行版组合
|
|
76
|
+
MAMBA_KEEP_CUDA_BUILD=TRUE python -m pip install \
|
|
77
|
+
"mamba-ssm[causal-conv1d] @ git+https://github.com/state-spaces/mamba.git" \
|
|
78
|
+
--no-build-isolation
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
## 使用
|
|
82
|
+
|
|
83
|
+
```python
|
|
84
|
+
import torch
|
|
85
|
+
from flash_mamba import create_mamba
|
|
86
|
+
|
|
87
|
+
x = torch.randn(2, 64, 128, device="cuda")
|
|
88
|
+
model = create_mamba(
|
|
89
|
+
d_model=128,
|
|
90
|
+
variant="mamba2", # 默认;Mamba-1 使用 "mamba"
|
|
91
|
+
d_state=64,
|
|
92
|
+
d_conv=4,
|
|
93
|
+
expand=2,
|
|
94
|
+
headdim=64,
|
|
95
|
+
device="cuda",
|
|
96
|
+
)
|
|
97
|
+
y = model(x)
|
|
98
|
+
assert y.shape == x.shape
|
|
99
|
+
y.square().mean().backward()
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
`create_mamba` 只校验正整数 `d_model` 和 `variant`;其余关键字直接传给官方构造函数。
|
|
103
|
+
不额外添加残差、归一化、转置或模型包装。Mamba2 的 `d_ssm`(默认为
|
|
104
|
+
`expand * d_model`,分布式时还受 `world_size` 影响)必须满足官方 `headdim`
|
|
105
|
+
约束;例如 `d_model=16, expand=2, headdim=64` 不合法。
|
|
106
|
+
|
|
107
|
+
也可以直接导入官方类,第一次访问时才加载 `mamba_ssm`:
|
|
108
|
+
|
|
109
|
+
```python
|
|
110
|
+
from flash_mamba import Mamba, Mamba2
|
|
111
|
+
|
|
112
|
+
model = Mamba(d_model=128, device="cuda")
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
返回的实例可直接调用 `.to()`、`.parameters()`、`.state_dict()`、
|
|
116
|
+
`.allocate_inference_cache()` 和官方支持的 forward 关键字。
|
|
117
|
+
`import flash_mamba` 本身不导入 PyTorch 或 `mamba_ssm`。
|
|
118
|
+
后端导入失败会抛出 `BackendUnavailableError`,保留原异常链;构造函数参数错误
|
|
119
|
+
和模型执行错误直接沿用官方异常。
|
|
120
|
+
|
|
121
|
+
## 环境诊断
|
|
122
|
+
|
|
123
|
+
```bash
|
|
124
|
+
flash-mamba doctor
|
|
125
|
+
flash-mamba doctor --json
|
|
126
|
+
python -m flash_mamba doctor --json
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
检查已安装版本、PyTorch/官方后端能否导入、CUDA/ROCm 是否可访问。
|
|
130
|
+
退出码 0 表示可以尝试 GPU smoke test;退出码 1 表示检查未通过。
|
|
131
|
+
成功导入不等于内核可运行,真实前向/反向需执行下面的测试。
|
|
132
|
+
`flash_mamba.diagnose()` 返回相同的字典结果,不修改环境。
|
|
133
|
+
|
|
134
|
+
## 开发与验证
|
|
135
|
+
|
|
136
|
+
```bash
|
|
137
|
+
python -m pip install -e ".[dev]"
|
|
138
|
+
python -m ruff check .
|
|
139
|
+
python -m ruff format --check .
|
|
140
|
+
python -m pytest
|
|
141
|
+
python -m build
|
|
142
|
+
python -m twine check --strict dist/*
|
|
143
|
+
python scripts/verify_dist.py
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
仓库约定:没有其他环境要求时,以上 Python 命令在 conda `torch2` 中运行。
|
|
147
|
+
默认测试不依赖官方后端,检查懒加载、参数传递、异常处理、诊断和 CLI。
|
|
148
|
+
发行包验证在临时虚拟环境中安装 wheel 以及从 sdist 构建的 wheel。
|
|
149
|
+
|
|
150
|
+
在已配置官方库的 Linux GPU 环境中,必须执行真实测试再确认模型可运行:
|
|
151
|
+
|
|
152
|
+
```bash
|
|
153
|
+
FLASH_MAMBA_RUN_GPU_TESTS=1 python -m pytest tests/test_gpu.py -v
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
显式开启后,环境缺失或模型运行失败会导致测试失败,不会静默跳过。
|
|
157
|
+
测试比较工厂实例与官方实例的前向结果、参数/输入梯度,并检查 checkpoint
|
|
158
|
+
可直接互载。未开启时,GPU 测试明确标记为 skipped。
|
|
159
|
+
|
|
160
|
+
## 发布
|
|
161
|
+
|
|
162
|
+
发布准备、TestPyPI/PyPI 命令和 GitHub Trusted Publishing 配置见
|
|
163
|
+
[发布说明](docs/RELEASING.md)。CI 检查包装层并构建发行包,不能替代真实 GPU 测试。
|
|
164
|
+
|
|
165
|
+
## 许可与来源
|
|
166
|
+
|
|
167
|
+
本项目的新包装代码使用 MIT 许可证;不复制、不重新分发官方源码或 CUDA 内核。
|
|
168
|
+
`mamba-ssm` 由 Albert Gu、Tri Dao 等作者开发,使用 Apache-2.0 许可证。
|
|
169
|
+
使用该模型进行研究时,请按[官方说明](https://github.com/state-spaces/mamba#citation)
|
|
170
|
+
引用相关论文。
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
flash_mamba/__init__.py,sha256=rPxEC-31wRl9qKyIxvDPRXMYy_r7er2XDzzTREpPcJA,607
|
|
2
|
+
flash_mamba/__main__.py,sha256=k1ocEWawweo1qCJWNFAAvyxz3tcY13dzvCenHszij30,48
|
|
3
|
+
flash_mamba/_backend.py,sha256=7U30V_e4LvLSaI0GLvFpgvq26MIzsnuoY97ojhzYTro,1179
|
|
4
|
+
flash_mamba/cli.py,sha256=M6h3nUK3pET1099KkBWpjQm1_2S8mODNqMHGc6COt9A,1494
|
|
5
|
+
flash_mamba/diagnostics.py,sha256=VMjI6wWSzdKiNPQjk5pF2Cz-_m22rq_nWFFplY1hKIs,2666
|
|
6
|
+
flash_mamba/factory.py,sha256=9lqsONABo8whLP8aICeIp8zQpSj6x_1hd7zFIeuhhzo,966
|
|
7
|
+
flash_mamba-0.1.0.dist-info/licenses/LICENSE,sha256=XTpZyKa-FwcK2JNnho79ygfkWIRVLrDji8uJbmyQXrk,1081
|
|
8
|
+
flash_mamba-0.1.0.dist-info/METADATA,sha256=Pe6eWOOAmX3fQzHn7uw6_H71i8SnRmaV-PahDw1Oe1U,6443
|
|
9
|
+
flash_mamba-0.1.0.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
|
|
10
|
+
flash_mamba-0.1.0.dist-info/entry_points.txt,sha256=DoWzMne10GmUCsrvXV2qQ2NDLh9jBGgv5imPq_vDBeo,53
|
|
11
|
+
flash_mamba-0.1.0.dist-info/top_level.txt,sha256=oIYSQV-R2UScF0N2qI48jmsb7pS8hqR0JtnpdDCFxjo,12
|
|
12
|
+
flash_mamba-0.1.0.dist-info/RECORD,,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Flash Mamba contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
flash_mamba
|