Skip to content

Commit b1d9e9d

Browse files
authored
[LICENSE] Add LICENSE for flashinfer (#19)
* remove code ql ci * update comprehensive tilelang-benchmark link * Bump Version into 0.0.1 * fix setup sdist issues * annotate license for flash infer * lint fix
1 parent 473977b commit b1d9e9d

File tree

3 files changed

+243
-0
lines changed

3 files changed

+243
-0
lines changed

THIRDPARTYNOTICES.txt

Lines changed: 204 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -410,3 +410,207 @@ Notice for IST-DASLab/marlin/
410410
See the License for the specific language governing permissions and
411411
limitations under the License.
412412
------------------------------------------------------------------------------------
413+
414+
Notice for flashinfer-ai/flashinfer
415+
-------------------------------
416+
Apache License
417+
Version 2.0, January 2004
418+
http://www.apache.org/licenses/
419+
420+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
421+
422+
1. Definitions.
423+
424+
"License" shall mean the terms and conditions for use, reproduction,
425+
and distribution as defined by Sections 1 through 9 of this document.
426+
427+
"Licensor" shall mean the copyright owner or entity authorized by
428+
the copyright owner that is granting the License.
429+
430+
"Legal Entity" shall mean the union of the acting entity and all
431+
other entities that control, are controlled by, or are under common
432+
control with that entity. For the purposes of this definition,
433+
"control" means (i) the power, direct or indirect, to cause the
434+
direction or management of such entity, whether by contract or
435+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
436+
outstanding shares, or (iii) beneficial ownership of such entity.
437+
438+
"You" (or "Your") shall mean an individual or Legal Entity
439+
exercising permissions granted by this License.
440+
441+
"Source" form shall mean the preferred form for making modifications,
442+
including but not limited to software source code, documentation
443+
source, and configuration files.
444+
445+
"Object" form shall mean any form resulting from mechanical
446+
transformation or translation of a Source form, including but
447+
not limited to compiled object code, generated documentation,
448+
and conversions to other media types.
449+
450+
"Work" shall mean the work of authorship, whether in Source or
451+
Object form, made available under the License, as indicated by a
452+
copyright notice that is included in or attached to the work
453+
(an example is provided in the Appendix below).
454+
455+
"Derivative Works" shall mean any work, whether in Source or Object
456+
form, that is based on (or derived from) the Work and for which the
457+
editorial revisions, annotations, elaborations, or other modifications
458+
represent, as a whole, an original work of authorship. For the purposes
459+
of this License, Derivative Works shall not include works that remain
460+
separable from, or merely link (or bind by name) to the interfaces of,
461+
the Work and Derivative Works thereof.
462+
463+
"Contribution" shall mean any work of authorship, including
464+
the original version of the Work and any modifications or additions
465+
to that Work or Derivative Works thereof, that is intentionally
466+
submitted to Licensor for inclusion in the Work by the copyright owner
467+
or by an individual or Legal Entity authorized to submit on behalf of
468+
the copyright owner. For the purposes of this definition, "submitted"
469+
means any form of electronic, verbal, or written communication sent
470+
to the Licensor or its representatives, including but not limited to
471+
communication on electronic mailing lists, source code control systems,
472+
and issue tracking systems that are managed by, or on behalf of, the
473+
Licensor for the purpose of discussing and improving the Work, but
474+
excluding communication that is conspicuously marked or otherwise
475+
designated in writing by the copyright owner as "Not a Contribution."
476+
477+
"Contributor" shall mean Licensor and any individual or Legal Entity
478+
on behalf of whom a Contribution has been received by Licensor and
479+
subsequently incorporated within the Work.
480+
481+
2. Grant of Copyright License. Subject to the terms and conditions of
482+
this License, each Contributor hereby grants to You a perpetual,
483+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
484+
copyright license to reproduce, prepare Derivative Works of,
485+
publicly display, publicly perform, sublicense, and distribute the
486+
Work and such Derivative Works in Source or Object form.
487+
488+
3. Grant of Patent License. Subject to the terms and conditions of
489+
this License, each Contributor hereby grants to You a perpetual,
490+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
491+
(except as stated in this section) patent license to make, have made,
492+
use, offer to sell, sell, import, and otherwise transfer the Work,
493+
where such license applies only to those patent claims licensable
494+
by such Contributor that are necessarily infringed by their
495+
Contribution(s) alone or by combination of their Contribution(s)
496+
with the Work to which such Contribution(s) was submitted. If You
497+
institute patent litigation against any entity (including a
498+
cross-claim or counterclaim in a lawsuit) alleging that the Work
499+
or a Contribution incorporated within the Work constitutes direct
500+
or contributory patent infringement, then any patent licenses
501+
granted to You under this License for that Work shall terminate
502+
as of the date such litigation is filed.
503+
504+
4. Redistribution. You may reproduce and distribute copies of the
505+
Work or Derivative Works thereof in any medium, with or without
506+
modifications, and in Source or Object form, provided that You
507+
meet the following conditions:
508+
509+
(a) You must give any other recipients of the Work or
510+
Derivative Works a copy of this License; and
511+
512+
(b) You must cause any modified files to carry prominent notices
513+
stating that You changed the files; and
514+
515+
(c) You must retain, in the Source form of any Derivative Works
516+
that You distribute, all copyright, patent, trademark, and
517+
attribution notices from the Source form of the Work,
518+
excluding those notices that do not pertain to any part of
519+
the Derivative Works; and
520+
521+
(d) If the Work includes a "NOTICE" text file as part of its
522+
distribution, then any Derivative Works that You distribute must
523+
include a readable copy of the attribution notices contained
524+
within such NOTICE file, excluding those notices that do not
525+
pertain to any part of the Derivative Works, in at least one
526+
of the following places: within a NOTICE text file distributed
527+
as part of the Derivative Works; within the Source form or
528+
documentation, if provided along with the Derivative Works; or,
529+
within a display generated by the Derivative Works, if and
530+
wherever such third-party notices normally appear. The contents
531+
of the NOTICE file are for informational purposes only and
532+
do not modify the License. You may add Your own attribution
533+
notices within Derivative Works that You distribute, alongside
534+
or as an addendum to the NOTICE text from the Work, provided
535+
that such additional attribution notices cannot be construed
536+
as modifying the License.
537+
538+
You may add Your own copyright statement to Your modifications and
539+
may provide additional or different license terms and conditions
540+
for use, reproduction, or distribution of Your modifications, or
541+
for any such Derivative Works as a whole, provided Your use,
542+
reproduction, and distribution of the Work otherwise complies with
543+
the conditions stated in this License.
544+
545+
5. Submission of Contributions. Unless You explicitly state otherwise,
546+
any Contribution intentionally submitted for inclusion in the Work
547+
by You to the Licensor shall be under the terms and conditions of
548+
this License, without any additional terms or conditions.
549+
Notwithstanding the above, nothing herein shall supersede or modify
550+
the terms of any separate license agreement you may have executed
551+
with Licensor regarding such Contributions.
552+
553+
6. Trademarks. This License does not grant permission to use the trade
554+
names, trademarks, service marks, or product names of the Licensor,
555+
except as required for reasonable and customary use in describing the
556+
origin of the Work and reproducing the content of the NOTICE file.
557+
558+
7. Disclaimer of Warranty. Unless required by applicable law or
559+
agreed to in writing, Licensor provides the Work (and each
560+
Contributor provides its Contributions) on an "AS IS" BASIS,
561+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
562+
implied, including, without limitation, any warranties or conditions
563+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
564+
PARTICULAR PURPOSE. You are solely responsible for determining the
565+
appropriateness of using or redistributing the Work and assume any
566+
risks associated with Your exercise of permissions under this License.
567+
568+
8. Limitation of Liability. In no event and under no legal theory,
569+
whether in tort (including negligence), contract, or otherwise,
570+
unless required by applicable law (such as deliberate and grossly
571+
negligent acts) or agreed to in writing, shall any Contributor be
572+
liable to You for damages, including any direct, indirect, special,
573+
incidental, or consequential damages of any character arising as a
574+
result of this License or out of the use or inability to use the
575+
Work (including but not limited to damages for loss of goodwill,
576+
work stoppage, computer failure or malfunction, or any and all
577+
other commercial damages or losses), even if such Contributor
578+
has been advised of the possibility of such damages.
579+
580+
9. Accepting Warranty or Additional Liability. While redistributing
581+
the Work or Derivative Works thereof, You may choose to offer,
582+
and charge a fee for, acceptance of support, warranty, indemnity,
583+
or other liability obligations and/or rights consistent with this
584+
License. However, in accepting such obligations, You may act only
585+
on Your own behalf and on Your sole responsibility, not on behalf
586+
of any other Contributor, and only if You agree to indemnify,
587+
defend, and hold each Contributor harmless for any liability
588+
incurred by, or claims asserted against, such Contributor by reason
589+
of your accepting any such warranty or additional liability.
590+
591+
END OF TERMS AND CONDITIONS
592+
593+
APPENDIX: How to apply the Apache License to your work.
594+
595+
To apply the Apache License to your work, attach the following
596+
boilerplate notice, with the fields enclosed by brackets "[]"
597+
replaced with your own identifying information. (Don't include
598+
the brackets!) The text should be enclosed in the appropriate
599+
comment syntax for the file format. We also recommend that a
600+
file or class name and description of purpose be included on the
601+
same "printed page" as the copyright notice for easier
602+
identification within third-party archives.
603+
604+
Copyright [yyyy] [name of copyright owner]
605+
606+
Licensed under the Apache License, Version 2.0 (the "License");
607+
you may not use this file except in compliance with the License.
608+
You may obtain a copy of the License at
609+
610+
http://www.apache.org/licenses/LICENSE-2.0
611+
612+
Unless required by applicable law or agreed to in writing, software
613+
distributed under the License is distributed on an "AS IS" BASIS,
614+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
615+
See the License for the specific language governing permissions and
616+
limitations under the License.

tilelang/jit/core.py

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
11
# Copyright (c) Microsoft Corporation.
22
# Licensed under the MIT License.
3+
# Licensed to the Apache Software Foundation (ASF) under one
4+
# or more contributor license agreements. See the NOTICE file
5+
# distributed with this work for additional information
6+
# regarding copyright ownership. The ASF licenses this file
7+
# to you under the Apache License, Version 2.0 (the
8+
# "License"); you may not use this file except in compliance
9+
# with the License. You may obtain a copy of the License at
10+
#
11+
# http://www.apache.org/licenses/LICENSE-2.0
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
# This file is modified from the original version,
20+
# which is part of the flashinfer project
21+
# (https://github.com/flashinfer-ai/flashinfer).
22+
323
import logging
424
import os
525
from pathlib import Path

tilelang/jit/env.py

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,24 @@
11
# Copyright (c) Microsoft Corporation.
22
# Licensed under the MIT License.
3+
# Licensed to the Apache Software Foundation (ASF) under one
4+
# or more contributor license agreements. See the NOTICE file
5+
# distributed with this work for additional information
6+
# regarding copyright ownership. The ASF licenses this file
7+
# to you under the Apache License, Version 2.0 (the
8+
# "License"); you may not use this file except in compliance
9+
# with the License. You may obtain a copy of the License at
10+
#
11+
# http://www.apache.org/licenses/LICENSE-2.0
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
# This file is modified from the original version,
20+
# which is part of the flashinfer project
21+
# (https://github.com/flashinfer-ai/flashinfer).
322
"""Library information. This is a standalone file that can be used to get various info.
423
Modified from flashinfer
524
"""

0 commit comments

Comments
 (0)