Skip to content

typo (missing dot) - #363

Closed
Orbiter wants to merge 1 commit into
ggml-org:masterfrom
Orbiter:patch-1
Closed

Orbiter wants to merge 1 commit into
ggml-org:masterfrom
Orbiter:patch-1

Conversation

@Orbiter

@Orbiter Orbiter commented Mar 21, 2023

Copy link
Copy Markdown

No description provided.

@Green-Sky

Copy link
Copy Markdown
Collaborator

I don't think this is valid.

@ggerganov ggerganov closed this Mar 21, 2023
@Orbiter

Orbiter commented Mar 21, 2023

Copy link
Copy Markdown
Author

sorry, that pull request was a mistake

kiljoy001 pushed a commit to kiljoy001/llama.cpp that referenced this pull request Oct 26, 2026
…-org#363)

Tensor split aborted on qwen35 models with folded Hadamard rotations at
ggml-backend-meta.cpp:1086 (split_state.ne[j] % div == 0): the rotation
reshape tiles the activation feature axis, and the meta backend had no
split state for it.

- llama_mul_mat_hadamard reshapes to 4D [n, ne0/n, ne1, ne2*ne3] so the
  split axis survives the rotation, and asserts ne0 % n == 0.
- Split blocks for Hadamard-rotated weights use lcm(type block, rotation
  block) so shards never cut a rotation block.
- ssm_out uses a value_dim split when GDN V is grouped, and views of the
  GATED_DELTA_NET output carry the matching axis-1 split.
- Elementwise MUL/ADD/SUB/DIV of a feature-sharded activation with a
  full-width mirrored operand slices the operand per shard (ADD_ID is
  excluded).

Split rules by Benjamin Brown (@KodeMunkie), posted on
ggml-org#29600; ADD_ID guard added here.

Tested on 2x H200: Bonsai 2 27B PQ2_0 and Q2_0 now run under -sm tensor
with mean KLD 2.5e-4 vs single GPU (top-1 99.3%). Single-GPU CUDA output
and Qwen3-4B / Qwen3.5-4B results (single and tensor) are bit-identical
to the base commit.
imaami pushed a commit to imaami/llama.cpp that referenced this pull request Nov 2, 2026
…-org#363)

Tensor split aborted on qwen35 models with folded Hadamard rotations at
ggml-backend-meta.cpp:1086 (split_state.ne[j] % div == 0): the rotation
reshape tiles the activation feature axis, and the meta backend had no
split state for it.

- llama_mul_mat_hadamard reshapes to 4D [n, ne0/n, ne1, ne2*ne3] so the
  split axis survives the rotation, and asserts ne0 % n == 0.
- Split blocks for Hadamard-rotated weights use lcm(type block, rotation
  block) so shards never cut a rotation block.
- ssm_out uses a value_dim split when GDN V is grouped, and views of the
  GATED_DELTA_NET output carry the matching axis-1 split.
- Elementwise MUL/ADD/SUB/DIV of a feature-sharded activation with a
  full-width mirrored operand slices the operand per shard (ADD_ID is
  excluded).

Split rules by Benjamin Brown (@KodeMunkie), posted on
ggml-org#29600; ADD_ID guard added here.

Tested on 2x H200: Bonsai 2 27B PQ2_0 and Q2_0 now run under -sm tensor
with mean KLD 2.5e-4 vs single GPU (top-1 99.3%). Single-GPU CUDA output
and Qwen3-4B / Qwen3.5-4B results (single and tensor) are bit-identical
to the base commit.

(cherry picked from commit 71c1473)
imaami pushed a commit to imaami/llama.cpp that referenced this pull request Nov 24, 2026
…-org#363)

Tensor split aborted on qwen35 models with folded Hadamard rotations at
ggml-backend-meta.cpp:1086 (split_state.ne[j] % div == 0): the rotation
reshape tiles the activation feature axis, and the meta backend had no
split state for it.

- llama_mul_mat_hadamard reshapes to 4D [n, ne0/n, ne1, ne2*ne3] so the
  split axis survives the rotation, and asserts ne0 % n == 0.
- Split blocks for Hadamard-rotated weights use lcm(type block, rotation
  block) so shards never cut a rotation block.
- ssm_out uses a value_dim split when GDN V is grouped, and views of the
  GATED_DELTA_NET output carry the matching axis-1 split.
- Elementwise MUL/ADD/SUB/DIV of a feature-sharded activation with a
  full-width mirrored operand slices the operand per shard (ADD_ID is
  excluded).

Split rules by Benjamin Brown (@KodeMunkie), posted on
ggml-org#29600; ADD_ID guard added here.

Tested on 2x H200: Bonsai 2 27B PQ2_0 and Q2_0 now run under -sm tensor
with mean KLD 2.5e-4 vs single GPU (top-1 99.3%). Single-GPU CUDA output
and Qwen3-4B / Qwen3.5-4B results (single and tensor) are bit-identical
to the base commit.

(cherry picked from commit 71c1473)
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