Skip to content

metal : report GET_ROWS on pq2_0m as unsupported - #477

Open
bri-prism wants to merge 1 commit into
prismfrom
metal/pq2_0m-get-rows-unsupported
Open

bri-prism wants to merge 1 commit into
prismfrom
metal/pq2_0m-get-rows-unsupported

Conversation

@bri-prism

Copy link
Copy Markdown
Collaborator

What

Metal's supports_op now returns false for GET_ROWS on pq2_0m, the same way it already does for NVFP4 and TQ1_0.

Why

Metal said it supported the op, but there is no kernel_get_rows_pq2_0m, so test-backend-ops -o GET_ROWS -b MTL0 crashed with a segfault (exit 139). With this change the op falls back to another backend.

Tests

M5 Pro, test-backend-ops -b MTL0, gated on exit code:

  • GET_ROWS: 252/252 passed (exit 139 on prism without this change)
  • MUL_MAT 3153/3153, CPY 207/207, SET_ROWS 175/175

There is no kernel_get_rows_pq2_0m, so the op crashed instead of falling
back to another backend.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant