Skip to content

Commit 9c4432f

Browse files
bobboliliji-nv
andauthored
[TRTLLM-7318][feat] MnnvlThroughput AlltoAll implementation. (#7499)
Signed-off-by: Bo Li <[email protected]> Co-authored-by: Jin Li <[email protected]>
1 parent d1398c0 commit 9c4432f

File tree

22 files changed

+5501
-133
lines changed

22 files changed

+5501
-133
lines changed

ATTRIBUTIONS-CPP-aarch64.md

Lines changed: 235 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14888,3 +14888,238 @@ Chen, Tianqi
1488814888
limitations under the License.
1488914889

1489014890
```
14891+
14892+
## flashinfer
14893+
14894+
### License Text
14895+
```
14896+
Apache License
14897+
Version 2.0, January 2004
14898+
http://www.apache.org/licenses/
14899+
14900+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
14901+
14902+
1. Definitions.
14903+
14904+
"License" shall mean the terms and conditions for use, reproduction,
14905+
and distribution as defined by Sections 1 through 9 of this document.
14906+
14907+
"Licensor" shall mean the copyright owner or entity authorized by
14908+
the copyright owner that is granting the License.
14909+
14910+
"Legal Entity" shall mean the union of the acting entity and all
14911+
other entities that control, are controlled by, or are under common
14912+
control with that entity. For the purposes of this definition,
14913+
"control" means (i) the power, direct or indirect, to cause the
14914+
direction or management of such entity, whether by contract or
14915+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
14916+
outstanding shares, or (iii) beneficial ownership of such entity.
14917+
14918+
"You" (or "Your") shall mean an individual or Legal Entity
14919+
exercising permissions granted by this License.
14920+
14921+
"Source" form shall mean the preferred form for making modifications,
14922+
including but not limited to software source code, documentation
14923+
source, and configuration files.
14924+
14925+
"Object" form shall mean any form resulting from mechanical
14926+
transformation or translation of a Source form, including but
14927+
not limited to compiled object code, generated documentation,
14928+
and conversions to other media types.
14929+
14930+
"Work" shall mean the work of authorship, whether in Source or
14931+
Object form, made available under the License, as indicated by a
14932+
copyright notice that is included in or attached to the work
14933+
(an example is provided in the Appendix below).
14934+
14935+
"Derivative Works" shall mean any work, whether in Source or Object
14936+
form, that is based on (or derived from) the Work and for which the
14937+
editorial revisions, annotations, elaborations, or other modifications
14938+
represent, as a whole, an original work of authorship. For the purposes
14939+
of this License, Derivative Works shall not include works that remain
14940+
separable from, or merely link (or bind by name) to the interfaces of,
14941+
the Work and Derivative Works thereof.
14942+
14943+
"Contribution" shall mean any work of authorship, including
14944+
the original version of the Work and any modifications or additions
14945+
to that Work or Derivative Works thereof, that is intentionally
14946+
submitted to Licensor for inclusion in the Work by the copyright owner
14947+
or by an individual or Legal Entity authorized to submit on behalf of
14948+
the copyright owner. For the purposes of this definition, "submitted"
14949+
means any form of electronic, verbal, or written communication sent
14950+
to the Licensor or its representatives, including but not limited to
14951+
communication on electronic mailing lists, source code control systems,
14952+
and issue tracking systems that are managed by, or on behalf of, the
14953+
Licensor for the purpose of discussing and improving the Work, but
14954+
excluding communication that is conspicuously marked or otherwise
14955+
designated in writing by the copyright owner as "Not a Contribution."
14956+
14957+
"Contributor" shall mean Licensor and any individual or Legal Entity
14958+
on behalf of whom a Contribution has been received by Licensor and
14959+
subsequently incorporated within the Work.
14960+
14961+
2. Grant of Copyright License. Subject to the terms and conditions of
14962+
this License, each Contributor hereby grants to You a perpetual,
14963+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
14964+
copyright license to reproduce, prepare Derivative Works of,
14965+
publicly display, publicly perform, sublicense, and distribute the
14966+
Work and such Derivative Works in Source or Object form.
14967+
14968+
3. Grant of Patent License. Subject to the terms and conditions of
14969+
this License, each Contributor hereby grants to You a perpetual,
14970+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
14971+
(except as stated in this section) patent license to make, have made,
14972+
use, offer to sell, sell, import, and otherwise transfer the Work,
14973+
where such license applies only to those patent claims licensable
14974+
by such Contributor that are necessarily infringed by their
14975+
Contribution(s) alone or by combination of their Contribution(s)
14976+
with the Work to which such Contribution(s) was submitted. If You
14977+
institute patent litigation against any entity (including a
14978+
cross-claim or counterclaim in a lawsuit) alleging that the Work
14979+
or a Contribution incorporated within the Work constitutes direct
14980+
or contributory patent infringement, then any patent licenses
14981+
granted to You under this License for that Work shall terminate
14982+
as of the date such litigation is filed.
14983+
14984+
4. Redistribution. You may reproduce and distribute copies of the
14985+
Work or Derivative Works thereof in any medium, with or without
14986+
modifications, and in Source or Object form, provided that You
14987+
meet the following conditions:
14988+
14989+
(a) You must give any other recipients of the Work or
14990+
Derivative Works a copy of this License; and
14991+
14992+
(b) You must cause any modified files to carry prominent notices
14993+
stating that You changed the files; and
14994+
14995+
(c) You must retain, in the Source form of any Derivative Works
14996+
that You distribute, all copyright, patent, trademark, and
14997+
attribution notices from the Source form of the Work,
14998+
excluding those notices that do not pertain to any part of
14999+
the Derivative Works; and
15000+
15001+
(d) If the Work includes a "NOTICE" text file as part of its
15002+
distribution, then any Derivative Works that You distribute must
15003+
include a readable copy of the attribution notices contained
15004+
within such NOTICE file, excluding those notices that do not
15005+
pertain to any part of the Derivative Works, in at least one
15006+
of the following places: within a NOTICE text file distributed
15007+
as part of the Derivative Works; within the Source form or
15008+
documentation, if provided along with the Derivative Works; or,
15009+
within a display generated by the Derivative Works, if and
15010+
wherever such third-party notices normally appear. The contents
15011+
of the NOTICE file are for informational purposes only and
15012+
do not modify the License. You may add Your own attribution
15013+
notices within Derivative Works that You distribute, alongside
15014+
or as an addendum to the NOTICE text from the Work, provided
15015+
that such additional attribution notices cannot be construed
15016+
as modifying the License.
15017+
15018+
You may add Your own copyright statement to Your modifications and
15019+
may provide additional or different license terms and conditions
15020+
for use, reproduction, or distribution of Your modifications, or
15021+
for any such Derivative Works as a whole, provided Your use,
15022+
reproduction, and distribution of the Work otherwise complies with
15023+
the conditions stated in this License.
15024+
15025+
5. Submission of Contributions. Unless You explicitly state otherwise,
15026+
any Contribution intentionally submitted for inclusion in the Work
15027+
by You to the Licensor shall be under the terms and conditions of
15028+
this License, without any additional terms or conditions.
15029+
Notwithstanding the above, nothing herein shall supersede or modify
15030+
the terms of any separate license agreement you may have executed
15031+
with Licensor regarding such Contributions.
15032+
15033+
6. Trademarks. This License does not grant permission to use the trade
15034+
names, trademarks, service marks, or product names of the Licensor,
15035+
except as required for reasonable and customary use in describing the
15036+
origin of the Work and reproducing the content of the NOTICE file.
15037+
15038+
7. Disclaimer of Warranty. Unless required by applicable law or
15039+
agreed to in writing, Licensor provides the Work (and each
15040+
Contributor provides its Contributions) on an "AS IS" BASIS,
15041+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
15042+
implied, including, without limitation, any warranties or conditions
15043+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
15044+
PARTICULAR PURPOSE. You are solely responsible for determining the
15045+
appropriateness of using or redistributing the Work and assume any
15046+
risks associated with Your exercise of permissions under this License.
15047+
15048+
8. Limitation of Liability. In no event and under no legal theory,
15049+
whether in tort (including negligence), contract, or otherwise,
15050+
unless required by applicable law (such as deliberate and grossly
15051+
negligent acts) or agreed to in writing, shall any Contributor be
15052+
liable to You for damages, including any direct, indirect, special,
15053+
incidental, or consequential damages of any character arising as a
15054+
result of this License or out of the use or inability to use the
15055+
Work (including but not limited to damages for loss of goodwill,
15056+
work stoppage, computer failure or malfunction, or any and all
15057+
other commercial damages or losses), even if such Contributor
15058+
has been advised of the possibility of such damages.
15059+
15060+
9. Accepting Warranty or Additional Liability. While redistributing
15061+
the Work or Derivative Works thereof, You may choose to offer,
15062+
and charge a fee for, acceptance of support, warranty, indemnity,
15063+
or other liability obligations and/or rights consistent with this
15064+
License. However, in accepting such obligations, You may act only
15065+
on Your own behalf and on Your sole responsibility, not on behalf
15066+
of any other Contributor, and only if You agree to indemnify,
15067+
defend, and hold each Contributor harmless for any liability
15068+
incurred by, or claims asserted against, such Contributor by reason
15069+
of your accepting any such warranty or additional liability.
15070+
15071+
END OF TERMS AND CONDITIONS
15072+
15073+
APPENDIX: How to apply the Apache License to your work.
15074+
15075+
To apply the Apache License to your work, attach the following
15076+
boilerplate notice, with the fields enclosed by brackets "[]"
15077+
replaced with your own identifying information. (Don't include
15078+
the brackets!) The text should be enclosed in the appropriate
15079+
comment syntax for the file format. We also recommend that a
15080+
file or class name and description of purpose be included on the
15081+
same "printed page" as the copyright notice for easier
15082+
identification within third-party archives.
15083+
15084+
Copyright [yyyy] [name of copyright owner]
15085+
15086+
Licensed under the Apache License, Version 2.0 (the "License");
15087+
you may not use this file except in compliance with the License.
15088+
You may obtain a copy of the License at
15089+
15090+
http://www.apache.org/licenses/LICENSE-2.0
15091+
15092+
Unless required by applicable law or agreed to in writing, software
15093+
distributed under the License is distributed on an "AS IS" BASIS,
15094+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15095+
See the License for the specific language governing permissions and
15096+
limitations under the License.
15097+
15098+
-------------------------------------------------------------------------------------------------
15099+
Some of the code in this project are adapted from other open-source projects with different
15100+
licenses. This product also bundles some third-party components under other open source licenses.
15101+
This section summarizes those components and their licenses.
15102+
See licenses/ for text of these licenses.
15103+
15104+
BSD 3-Clause License
15105+
--------------------
15106+
15107+
include/flashinfer/attention/hopper/epilogue.cuh
15108+
include/flashinfer/attention/hopper/mainloop.cuh
15109+
include/flashinfer/attention/hopper/kernel_traits.cuh
15110+
include/flashinfer/attention/hopper/named_barrier.cuh
15111+
include/flashinfer/attention/hopper/tile_scheduler.cuh
15112+
include/flashinfer/attention/hopper/utils.cuh
15113+
15114+
BSD 3-Clause "New" License
15115+
--------------------------
15116+
15117+
3rdparty/cutlass
15118+
include/flashinfer/attention/hopper/block_sparse_gather.cuh
15119+
15120+
MIT License
15121+
-----------
15122+
15123+
3rdparty/spdlog
15124+
3rdparty/spdlog/include/spdlog/fmt/bundled (fmt library)
15125+
```

0 commit comments

Comments
 (0)