Skip to content

Torch compile deepseekv2fw - #1

Open
mattteochen wants to merge 49 commits into
mainfrom
torch-compile-deepseekv2fw
Open

Torch compile deepseekv2fw#1
mattteochen wants to merge 49 commits into
mainfrom
torch-compile-deepseekv2fw

Conversation

@mattteochen

Copy link
Copy Markdown
Owner

Motivation

Modifications

Accuracy Tests

Speed Tests and Profiling

Checklist

Review and Merge Process

  1. Ping Merge Oncalls to start the process. See the PR Merge Process.
  2. Get approvals from CODEOWNERS and other reviewers.
  3. Trigger CI tests with comments or contact authorized users to do so.
    • Common commands include /tag-and-rerun-ci, /tag-run-ci-label, /rerun-failed-ci
  4. After green CI and required approvals, ask Merge Oncalls or people with Write permission to merge the PR.

…ntal compile options for DeepSeek layers. Introduce new methods for handling key buffer storage and improve native compilation state preparation in the attention layers.
…ental prefill options. Enhance native compilation state preparation in the Indexer class and improve tensor management in DeepSeek attention methods.
Added model level compilation
…l compile options in DeepSeek. Added CLI argument for saving prefill logits, introduced validation for batch size/input length combinations, and integrated random seed handling for reproducibility. Updated environment variables for experimental compile features.
… and caching. Introduce context manager for managing experimental prefill compile mode in Deepseek, ensuring proper restoration of compile state. Enhance unit tests for compile mode transitions and callable reuse.
…ing and registration. Replace deprecated functions with new implementations and streamline the handling of `tune_max_num_tokens`. Update imports and remove unused code for better clarity and performance.
@github-actions github-actions Bot added documentation Improvements or additions to documentation jit-kernel blackwell deepseek labels Apr 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

blackwell deepseek documentation Improvements or additions to documentation jit-kernel

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant