Skip to content

fix 2 failed test cases for blt model on XPU#45596

Open
kaixuanliu wants to merge 7 commits intohuggingface:mainfrom
kaixuanliu:blt-fix
Open

fix 2 failed test cases for blt model on XPU#45596
kaixuanliu wants to merge 7 commits intohuggingface:mainfrom
kaixuanliu:blt-fix

Conversation

@kaixuanliu
Copy link
Copy Markdown
Contributor

@ydshieh pls help review, thx!

Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com>
@ydshieh
Copy link
Copy Markdown
Collaborator

ydshieh commented Apr 28, 2026

run-slow: blt

@github-actions
Copy link
Copy Markdown
Contributor

Workflow Run ⚙️

This comment contains run-slow, running the specified jobs:

models: ["models/blt"]
quantizations: []

@github-actions
Copy link
Copy Markdown
Contributor

CI Results

Workflow Run ⚙️

Commit Info

Context Commit Description
RUN 2cd36be9 workflow commit (merge commit)
PR 95a47816 branch commit (from PR)
main 31469146 base commit (on main)

✅ No failing test specific to this PR 🎉 👏 !

@ydshieh
Copy link
Copy Markdown
Collaborator

ydshieh commented Apr 28, 2026

I update some expected values. @kaixuanliu You might want to run again with XPU, and update with Expectation class if necessary 🙏

raise ValueError("input_ids is required for entropy-based patching")
_, patch_lengths, _ = self.patcher(
input_ids,
input_ids.to(self.patcher.embed_tokens.weight.device),
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

it's not clear why self.patcher doesn't handle the input device well.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Likely the BltPatcher itself is BltPreTrainedModel

@ydshieh
Copy link
Copy Markdown
Collaborator

ydshieh commented Apr 28, 2026

run-slow: blt

@github-actions
Copy link
Copy Markdown
Contributor

Workflow Run ⚙️

This comment contains run-slow, running the specified jobs:

models: ["models/blt"]
quantizations: []

@github-actions
Copy link
Copy Markdown
Contributor

CI Results

Workflow Run ⚙️

Commit Info

Context Commit Description
RUN 9325696e workflow commit (merge commit)
PR 9a394f6b branch commit (from PR)
main 4aba7167 base commit (on main)

✅ No failing test specific to this PR 🎉 👏 !

@github-actions
Copy link
Copy Markdown
Contributor

[For maintainers] Suggested jobs to run (before merge)

run-slow: blt

@ydshieh
Copy link
Copy Markdown
Collaborator

ydshieh commented Apr 28, 2026

run-slow: blt

@github-actions
Copy link
Copy Markdown
Contributor

Workflow Run ⚙️

This comment contains run-slow, running the specified jobs:

models: ["models/blt"]
quantizations: []

@github-actions
Copy link
Copy Markdown
Contributor

CI Results

Workflow Run ⚙️

Commit Info

Context Commit Description
RUN dc34d2f6 workflow commit (merge commit)
PR dc624a04 branch commit (from PR)
main f3d2b68b base commit (on main)

✅ No failing test specific to this PR 🎉 👏 !

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