Skip to content

feat: add new score func and pp microbatch pixel split handling#1513

Merged
HuiyingLi merged 2 commits intomainfrom
huiyingl/add_score_func
Mar 10, 2026
Merged

feat: add new score func and pp microbatch pixel split handling#1513
HuiyingLi merged 2 commits intomainfrom
huiyingl/add_score_func

Conversation

@HuiyingLi
Copy link
Copy Markdown
Contributor

What does this PR do ?

Add a one line overview of what this PR aims to accomplish.

Changelog

  • Add specific line by line info of high level changes in this PR.

Before your PR is "Ready for review"

Pre checks:

  • Make sure you read and followed Contributor guidelines
  • Did you write any new necessary tests?
  • Did you add or update any necessary documentation?

If you haven't finished some of the above items you can still open "Draft" PR.

Additional Information

  • Related to # (issue)

Signed-off-by: HuiyingLi <willwin.lee@gmail.com>
@copy-pr-bot
Copy link
Copy Markdown

copy-pr-bot Bot commented Mar 10, 2026

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

…litting

Add tests for:
- Gate forward pass with softmax_with_bias score function (basic, with groups, without correction bias)
- VLM pixel_values chunking with image_sizes fallback (Mistral4-style)
- VLM pixel_values chunking for 4D [N,C,H,W] tensors

Signed-off-by: HuiyingLi <willwin.lee@gmail.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: HuiyingLi <willwin.lee@gmail.com>
@HuiyingLi
Copy link
Copy Markdown
Contributor Author

/ok to test 615004d

@HuiyingLi HuiyingLi enabled auto-merge (squash) March 10, 2026 21:41
@HuiyingLi HuiyingLi merged commit 3ec2366 into main Mar 10, 2026
51 checks passed
@HuiyingLi HuiyingLi deleted the huiyingl/add_score_func branch March 10, 2026 21:54
linnanwang pushed a commit that referenced this pull request Apr 24, 2026
* add new score func and microbatch split handling

Signed-off-by: HuiyingLi <willwin.lee@gmail.com>

* test: add unit tests for softmax_with_bias gate and VLM microbatch splitting

Add tests for:
- Gate forward pass with softmax_with_bias score function (basic, with groups, without correction bias)
- VLM pixel_values chunking with image_sizes fallback (Mistral4-style)
- VLM pixel_values chunking for 4D [N,C,H,W] tensors

Signed-off-by: HuiyingLi <willwin.lee@gmail.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: HuiyingLi <willwin.lee@gmail.com>

---------

Signed-off-by: HuiyingLi <willwin.lee@gmail.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants