EnzymeAD / EnzymeAD/Enzyme-JAX

Not recognizing extend:

Open
#758 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
MLIR
Stars
131
Forks
53
Avg merge
1d 10h
Merged PRs (30d)
193

Description

```
%10899 = "enzymexla.comm_region"() ({
%12500 = stablehlo.slice %5743 [0:1, 0:8, 0:80] {sdy.sharding = #sdy.sharding_per_value<[<@mesh, [{"z", ?}, {"y", ?}, {"x", ?}]>]>} : (tensor<4x8x80xf64>) -> tensor<1x8x80xf64>
%12501 = stablehlo.slice %5743 [0:2, 0:8, 0:80] {sdy.sharding = #sdy.sharding_per_value<[<@mesh, [{"z", ?}, {"y", ?}, {"x", ?}]>]>} : (tensor<4x8x80xf64>) -> tensor<2x8x80xf64>
%12502 = stablehlo.concatenate %12500, %12501, dim = 0 {sdy.sharding = #sdy.sharding_per_value<[<@mesh, [{"z", ?}, {"y", ?}, {"x", ?}]>]>} : (tensor<1x8x80xf64>, tensor<2x8x80xf64>) -> tensor<3x8x80xf64>
stablehlo.return %12502 : tensor<3x8x80xf64>
}) : () -> tensor<3x8x80xf64>


%10900 = "enzymexla.comm_region"() ({
%12500 = stablehlo.slice %5743 [3:4, 0:8, 0:80] {sdy.sharding = #sdy.sharding_per_value<[<@mesh, [{"z", ?}, {"y", ?}, {"x", ?}]>]>} : (tensor<4x8x80xf64>) -> tensor<1x8x80xf64>
%12501 = stablehlo.slice %5743 [2:4, 0:8, 0:80] {sdy.sharding = #sdy.sharding_per_value<[<@mesh, [{"z", ?}, {"y", ?}, {"x", ?}]>]>} : (tensor<4x8x80xf64>) -> tensor<2x8x80xf64>
%12502 = stablehlo.concatenate %12501, %12500, dim = 0 {sdy.sharding = #sdy.sharding_per_value<[<@mesh, [{"z", ?}, {"y", ?}, {"x", ?}]>]>} : (tensor<2x8x80xf64>, tensor<1x8x80xf64>) -> tensor<3x8x80xf64>
stablehlo.return %12502 : tensor<3x8x80xf64>
}) : () -> tensor<3x8x80xf64>

```

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue provides only two StableHLO/MLIR `enzymexla.comm_region` snippets and names no source file, test, or entry point. Start by locating handling for `comm_region` and the `extend` operation, then add a focused reproduction and verify that the shown form is recognized.

Written by the indexing model from the issue text.

Assessment

Domain
compilers
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.