Skip to content

Fix wrong update in pull req #25574 - #27207

Closed
smalinin wants to merge 0 commit into
ggml-org:masterfrom
smalinin:master
Closed

smalinin wants to merge 0 commit into
ggml-org:masterfrom
smalinin:master

Conversation

@smalinin

Copy link
Copy Markdown
Contributor

Overview

Fix wrong update in #25574

Fix fit to account for MTP/NextN layer positions in n_gpu_layers, even when their tensors are not loaded.
Otherwise, regular layers remain on the CPU and tensor override indices become misaligned.

Additional information

Users have issues with wrong update:

Requirements

  • I have read and agree with the contributing guidelines
  • AI usage disclosure: YES
    AI was used for: rechecking fix code.

@CISC

CISC commented Aug 17, 2026

Copy link
Copy Markdown
Member

I don't think this is the right fix as it would overfit when MTP is not used, there's likely to be some miscalculation elsewhere.

@MeisterP

Copy link
Copy Markdown

@CISC: The change you requested in #25574 (comment) is causing a regression but at the same time, you denying its revert.
What's the way forward here?

@CISC

CISC commented Aug 20, 2026

Copy link
Copy Markdown
Member

@CISC: The change you requested in #25574 (comment) is causing a regression but at the same time, you denying its revert. What's the way forward here?

It's not causing a regression as related to master, it's only a regression as related to the initial proposed PR.

The way forward is figuring out why some layer(s) appear to end up on CPU.

@MeisterP

MeisterP commented Aug 20, 2026 •

Copy link
Copy Markdown

It's not causing a regression as related to master

It is related to master since the duplicate merge request was merged in 9a688e5

@CISC

CISC commented Aug 20, 2026

Copy link
Copy Markdown
Member

It's not causing a regression as related to master

It is related to master since the duplicate merge request was merged in 9a688e5

Please explain how.

@MeisterP

MeisterP commented Aug 20, 2026 •

Copy link
Copy Markdown

Please explain how.

The discussion happened in #25574, then the duplicated/resubmited pull request #26605 was merged into master.

@CISC

CISC commented Aug 20, 2026

Copy link
Copy Markdown
Member

Please explain how.

The discussion happened in #25574, then the duplicated/resubmited pull request #26605 was merged into master.

There's no discussion there.

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.

3 participants