Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
90a518b
update .gitignore
drewjin Dec 29, 2025
714f915
feat(sequence): add new sub-block statuses and attributes to FDV2SubB…
drewjin Dec 29, 2025
39c0d7e
chore: update GitHub workflows to grant write permissions for issues …
drewjin Dec 29, 2025
53b4e78
chore: update .gitignore to include new analysis files and cache dire…
drewjin Dec 29, 2025
e6cbf83
Merge pull request #20 from drewjin/fix20261229/pr-bot
drewjin Dec 29, 2025
1cdf260
chore: add dependabot configuration for GitHub Actions updates
drewjin Dec 31, 2025
3d6c8ee
chore: add configuration files for code formatting, linting, and cont…
drewjin Dec 31, 2025
84b819f
docs: update CONTRIBUTING.md to reflect project name change from Tile…
drewjin Dec 31, 2025
039693c
Merge branch 'main' into feat/fast-dllm-v2
drewjin Dec 31, 2025
f9a9e1a
chore: update pyproject.toml to add pandas and tilelang dependencies,…
drewjin Jan 5, 2026
6055b39
Merge branch 'feat/fast-dllm-v2' into feat/enhance-strategy
drewjin Jan 5, 2026
ba2801a
feat: implement Diffulex benchmark framework with support for multipl…
drewjin Jan 5, 2026
47b5e9d
feat: add logging capabilities and configuration management to Difful…
drewjin Jan 5, 2026
5aa3bf4
chore: add make.bat into the build scripts of docs
drewjin Jan 5, 2026
50f803d
chore: add offline evaluation script and update tilelang dependency
drewjin Jan 5, 2026
2e03ca7
bugfix: fix config dataclass mutable default and field propagation in…
drewjin Jan 5, 2026
4c5d860
bugfix: _dp_child_entry missing decoding_strategy
drewjin Jan 5, 2026
15704df
feat: introduce Diffulex Profiler for performance analysis with modul…
drewjin Jan 5, 2026
7e65c0b
bugfix: try to fix profiler bug, upload and sync first
drewjin Jan 6, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# https://editorconfig.org/

root = true

[*]
charset = utf-8
end_of_line = lf
indent_style = space
indent_size = 4
trim_trailing_whitespace = true
insert_final_newline = true

[*.{py,pyi}]
indent_size = 4

[*.{cpp,hpp,cxx,cc,c,h,cu,cuh}]
indent_size = 2

[{*.cmake,CMakeLists.txt}]
indent_size = 2

[*.{yaml,yml}]
indent_size = 2

[.clang-{format,tidy}]
indent_size = 2

[Makefile]
indent_style = tab

[*.sh]
indent_size = 4

[*.bat]
indent_size = 4
end_of_line = crlf

[*.md]
indent_size = 2
x-soft-wrap-text = true

[*.rst]
indent_size = 4
x-soft-wrap-text = true
10 changes: 10 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
* text eol=lf
*.bat eol=crlf

*.svg binary
*.jpg binary
*.jpeg binary
*.png binary
*.gif binary

*.h linguist-language=C++
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
day: "monday"
time: "12:00"
timezone: "Asia/Shanghai"
commit-message:
prefix: "[CI]"

2 changes: 2 additions & 0 deletions .github/workflows/pr-perfbench-bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:

permissions:
contents: read
issues: write
pull-requests: write

concurrency:
group: "${{ github.workflow }}-${{ github.ref }}"
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/pr-reminder-bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
types:
- opened

permissions:
issues: write
pull-requests: write

jobs:
remind:
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,4 @@ kernel_diff_analysis.md
tilelang_optimization_analysis.md
boundary_check_comparison.md
GITHUB_ISSUE.md
Tilelang-failed_test_cases/
59 changes: 59 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
ci:
autofix_prs: false
autofix_commit_msg: "[Lint]: [pre-commit.ci] auto fixes [...]"
autoupdate_commit_msg: "[CI] [pre-commit.ci] autoupdate"
autoupdate_schedule: monthly
default_stages: [pre-commit, pre-push, manual]
exclude: '^(build|3rdparty)/.*$' # exclude build and 3rdparty directories
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: check-symlinks
- id: destroyed-symlinks
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-added-large-files
- id: check-merge-conflict
fail_fast: true
- id: check-executables-have-shebangs
- id: check-shebang-scripts-are-executable
- id: detect-private-key
- id: check-yaml
- id: check-toml
- id: check-ast
fail_fast: true
- id: debug-statements
- id: file-contents-sorter
args: [--ignore-case]
files: ^docs/spelling_wordlist\.txt$
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v21.1.7 # sync with requirements-lint.txt
hooks:
- id: clang-format
types_or: [c++, c]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.14.9 # sync with requirements-lint.txt
hooks:
- id: ruff-check
args: [--fix, --exit-non-zero-on-fix]
- id: ruff-format
args: [--exit-non-zero-on-format]
- repo: https://github.com/codespell-project/codespell
rev: v2.4.1 # sync with requirements-lint.txt
hooks:
- id: codespell
additional_dependencies: [".[toml]"]
exclude: |
(?x)(
^.+\.(cpp|hpp|cxx|cc|c|h|cu|cuh)$|
^.+\.svg$|
^.*\brequirements\b.*\.txt$
)
- repo: https://github.com/jackdewinter/pymarkdown
rev: v0.9.33
hooks:
- id: pymarkdown
args: ["--config", ".pymarkdown", "fix"]
37 changes: 37 additions & 0 deletions .pymarkdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"plugins": {
"md003": {
"style": "atx"
},
"md004": {
"style": "dash"
},
"md013": {
"enabled": false
},
"md026": {
"enabled": false
},
"md029": {
"enabled": false
},
"md031": {
"enabled": false
},
"md032": {
"enabled": false
},
"md033": {
"enabled": false
},
"md034": {
"enabled": false
},
"md040": {
"enabled": false
},
"md041": {
"enabled": false
}
}
}
132 changes: 132 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
# Contributor Covenant Code of Conduct

## Our Pledge

We as members, contributors, and leaders pledge to make participation in our
community a harassment-free experience for everyone, regardless of age, body
size, visible or invisible disability, ethnicity, sex characteristics, gender
identity and expression, level of experience, education, socioeconomic status,
nationality, personal appearance, race, caste, color, religion, or sexual
identity and orientation.

We pledge to act and interact in ways that contribute to an open, welcoming,
diverse, inclusive, and healthy community.

## Our Standards

Examples of behavior that contributes to a positive environment for our
community include:

- Demonstrating empathy and kindness toward other people
- Being respectful of differing opinions, viewpoints, and experiences
- Giving and gracefully accepting constructive feedback
- Accepting responsibility and apologizing to those affected by our mistakes,
and learning from the experience
- Focusing on what is best not just for us as individuals, but for the overall
community

Examples of unacceptable behavior include:

- The use of sexualized language or imagery, and sexual attention or advances of
any kind
- Trolling, insulting or derogatory comments, and personal or political attacks
- Public or private harassment
- Publishing others' private information, such as a physical or email address,
without their explicit permission
- Other conduct which could reasonably be considered inappropriate in a
professional setting

## Enforcement Responsibilities

Community leaders are responsible for clarifying and enforcing our standards of
acceptable behavior and will take appropriate and fair corrective action in
response to any behavior that they deem inappropriate, threatening, offensive,
or harmful.

Community leaders have the right and responsibility to remove, edit, or reject
comments, commits, code, wiki edits, issues, and other contributions that are
not aligned to this Code of Conduct, and will communicate reasons for moderation
decisions when appropriate.

## Scope

This Code of Conduct applies within all community spaces, and also applies when
an individual is officially representing the community in public spaces.
Examples of representing our community include using an official e-mail address,
posting via an official social media account, or acting as an appointed
representative at an online or offline event.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported to the community leaders responsible for enforcement at
[leiwang1999@outlook.com](mailto:leiwang1999@outlook.com)
All complaints will be reviewed and investigated promptly and fairly.

All community leaders are obligated to respect the privacy and security of the
reporter of any incident.
Comment on lines +59 to +67
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

Replace personal email with a project or organizational email for incident reporting.

Using a personal email address (leiwang1999@outlook.com) for Code of Conduct violation reports exposes the maintainer to privacy and security risks. Additionally, this email may become unavailable if the maintainer leaves the project.

Consider using:

  • A dedicated project email address (e.g., conduct@diffulex.dev or similar)
  • An organizational email alias or distribution list
  • A moderation form/ticketing system (if available)
  • A shared mailbox managed by multiple maintainers

This ensures continuity, shared responsibility, and protects individual privacy.

🤖 Prompt for AI Agents
In @CODE_OF_CONDUCT.md around lines 59 - 67, The Enforcement section currently
lists a personal email (leiwang1999@outlook.com); replace that personal address
with a non-personal project/organizational contact such as a dedicated project
email (e.g., conduct@diffulex.dev), an alias/distribution list, or a link to a
moderation/ticketing form, and update the line in the "## Enforcement" block to
use that shared address or form so incident reports are routed to a shared
mailbox or team rather than an individual's personal account.


## Enforcement Guidelines

Community leaders will follow these Community Impact Guidelines in determining
the consequences for any action they deem in violation of this Code of Conduct:

### 1. Correction

**Community Impact**: Use of inappropriate language or other behavior deemed
unprofessional or unwelcome in the community.

**Consequence**: A private, written warning from community leaders, providing
clarity around the nature of the violation and an explanation of why the
behavior was inappropriate. A public apology may be requested.

### 2. Warning

**Community Impact**: A violation through a single incident or series of
actions.

**Consequence**: A warning with consequences for continued behavior. No
interaction with the people involved, including unsolicited interaction with
those enforcing the Code of Conduct, for a specified period of time. This
includes avoiding interactions in community spaces as well as external channels
like social media. Violating these terms may lead to a temporary or permanent
ban.

### 3. Temporary Ban

**Community Impact**: A serious violation of community standards, including
sustained inappropriate behavior.

**Consequence**: A temporary ban from any sort of interaction or public
communication with the community for a specified period of time. No public or
private interaction with the people involved, including unsolicited interaction
with those enforcing the Code of Conduct, is allowed during this period.
Violating these terms may lead to a permanent ban.

### 4. Permanent Ban

**Community Impact**: Demonstrating a pattern of violation of community
standards, including sustained inappropriate behavior, harassment of an
individual, or aggression toward or disparagement of classes of individuals.

**Consequence**: A permanent ban from any sort of public interaction within the
community.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage],
version 2.1, available at
[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].

Community Impact Guidelines were inspired by
[Mozilla's code of conduct enforcement ladder][Mozilla CoC].

For answers to common questions about this code of conduct, see the FAQ at
[https://www.contributor-covenant.org/faq][FAQ]. Translations are available at
[https://www.contributor-covenant.org/translations][translations].

[homepage]: https://www.contributor-covenant.org
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
[Mozilla CoC]: https://github.com/mozilla/diversity
[FAQ]: https://www.contributor-covenant.org/faq
[translations]: https://www.contributor-covenant.org/translations
Loading