Skip to content
⌘K

XLA

A machine learning compiler for GPUs, CPUs, and ML accelerators.

health 71contrib 504.7k5 contribution opportunities →

Overview & architecture

C++ standard
–
Build systems
bazel
License
Apache-2.0
Languages
C++

Repository activity

snapshot Nov 23, 2026
GitHub stars
latest
4.7k▲ 107
Merged PRs (30d)
latest
1.3k▲ 1.3k
Contributors (90d)
latest
2▲ 1
Issue first response p50
latest
40h▼ 43m
442 open issues1234 open PRs1338 commits (30d)0 good first issues0 help wanted

Recent notable activity

Stories

DiscussionFor you

Supercharging XLA-based inference: Announcing the launch of XLA Serving Engine

by Oleg Shaldybin and Monica Song, Google TPU Software Today we are excited to announce the launch of XLA Serving Engine (XSE), a general-purpose model export and inference runtime for the OpenXLA ecosystem, open-sourced under the Apache 2.0 license. We created XLA Serving…

Why it matters: Mentions tracked project XLA. XLA is in AI & Accelerated Computing (one of your focus areas).

DiscussionFor you

Group-GEMM in XLA: Making Mixture-of-Experts Fast and Memory-Efficient

Mixture-of-Experts (MoE) models have become a standard in most recent LLMs (DeepSeek, Grok-1, Llama-4, Gemini). But under the hood, an MoE layer turns into something that GPUs and math libraries have historically been bad at: a large collection of small, independent matrix…

Why it matters: Mentions tracked project XLA. XLA is in AI & Accelerated Computing (one of your focus areas).

Major changeFor you4 items

XLA: 4 notable changes in the week of Oct 12

[SDY][optimization] Consolidate multiple module walks in ExportStablehloShardingsPass into a single pass.; [SDY][perf] Batch argument and result attribute updates in convertShardyAttrsWithHloShardingV3.; [SDY][perf] Defer SymbolTable construction in SdyRoundTripDedupMeshesPass.; [SDY][perf][2/2]…

Why it matters: XLA is in AI & Accelerated Computing (one of your focus areas).

Major changeFor you

XLA: [RFC] SPMD: opt-in CollectiveOverlapHoister pass to overlap independent collectives with compute

Problem The SPMD partitioner materializes all-gather and reduce-scatter instructions as pure data-dependency nodes (SpmdPartitioner::AllGatherShards, emitted at reshard sites), so their only graph relationships are to their producer and…

Why it matters: An open RFC/proposal that is still up for discussion. XLA is in AI & Accelerated Computing (one of your focus areas).

Maintainers & organizations

every claim links to its source

Maintainers

No maintainers recorded yet.

Top contributors

Releases & changelog

No releases recorded yet. The GitHub collector imports releases (or tags when a repo has none).

Contribution opportunities

5 published
LabelledMatches your profileTensor Runtimes & ML Frameworks

While loops with a scatter are now hoisted as small loops and run single-threaded

Disclaimer: I noticed a performance regression in my code when upgrading JAX from 0.12.0.1 to 0.12.1 and had Claude narrow it down and write a MRE. The initial issue draft was AI-generated. Summary The regression seems to be caused by the combination of two recent changes to SmallWhileLoopHoistingPass causing a while loop whose iterations each scatter millions of elements to be hoisted into a single-threaded small-loop kernel: 663b787602 ("Compile hoisted small while loops into one noalias kernel") removed kScatter from the instructions that prevent hoisting; #50599 raised the default…

64score
performance
  • Demand 25% × 0.37 = 90 reactions, 4 comments; labelled as performance/regression/priority
  • Technical fit 30% × 0.61 = 18XLA is in AI & Accelerated Computing (a focus area); issue needs performance, which you listed
  • Maintainer engagement 25% × 1.00 = 25a maintainer commented; labelled (triaged); project responsiveness 100%
  • Feasibility 20% × 0.55 = 11clear scope; has reproduction steps; has code; project onboarding 50%
Evidence
Suggested first step

Reproduce the benchmark or slow path, profile it (perf, VTune or Tracy), and share the numbers on the issue before proposing a change.

Rule-generated · updated 19h ago
LabelleduntouchedMatches your profileTensor Runtimes & ML Frameworks

YNN reduce fusion after a batched trsm adds a layout copy and runs slower than the loop fusion

On CPU, a batched lapack_dtrsm_ffi returns layout {1,2,0}. If a sum of squares over the length-2 minor axis follows, XLA copies the result back to {2,1,0} for the YNN reduce fusion. The program runs 1.1x to 1.9x slower than with --xla_cpu_experimental_ynn_fusion_type=-reduce, where XLA reduces in a loop fusion instead. python import os, time import jax import jax.numpy as jnp jax.config.update("jax_enable_x64", True) L = jnp.tril(jax.random.normal(jax.random.PRNGKey(0), (8, 2, 2))) + 3 * jnp.eye(2) b = jax.random.normal(jax.random.PRNGKey(1), (8, 256, 2)) @jax.jit def f(L, b): y =…

62score
performance
  • Demand 25% × 0.30 = 80 reactions, 1 comments; labelled as performance/regression/priority
  • Technical fit 30% × 0.61 = 18XLA is in AI & Accelerated Computing (a focus area); issue needs performance, which you listed
  • Maintainer engagement 25% × 1.00 = 25a maintainer commented; labelled (triaged); project responsiveness 100%
  • Feasibility 20% × 0.55 = 11clear scope; has reproduction steps; has code; project onboarding 50%
Evidence
Suggested first step

Reproduce the benchmark or slow path, profile it (perf, VTune or Tracy), and share the numbers on the issue before proposing a change.

Rule-generated · updated 3d ago
LabelleduntouchedMatches your profileTensor Runtimes & ML Frameworks

Duplicate scatter computations are not CSE'd when accumulated into separate while loop carries

Antigravity + Gemini Argon helped me identify this issue I ran into for a private project. Here's the minimal reproducer: Description When two identical scatter operations (such as jnp.bincount) are computed in the same function without a loop, XLA's CSE pass deduplicates them into a single scatter instruction in the optimized HLO. However, when the exact same duplicate scatter calls occur inside a while loop body (jax.lax.fori_loop or jax.lax.scan, for example when accumulating auxiliary metrics across microbatches) and are added to separate zero-initialized loop-carry buffers (c1 + h1, c2 +…

62score
cudadocsperformance
  • Demand 25% × 0.30 = 80 reactions, 1 comments; labelled as performance/regression/priority
  • Technical fit 30% × 0.61 = 18XLA is in AI & Accelerated Computing (a focus area); issue needs performance, which you listed
  • Maintainer engagement 25% × 1.00 = 25a maintainer commented; labelled (triaged); project responsiveness 100%
  • Feasibility 20% × 0.55 = 11clear scope; has reproduction steps; has code; project onboarding 50%
Evidence
Suggested first step

Reproduce the benchmark or slow path, profile it (perf, VTune or Tracy), and share the numbers on the issue before proposing a change.

Rule-generated · updated 3d ago
LabelleduntouchedMatches your profileTensor Runtimes & ML Frameworks

dot keeps avoidable transposes for w @ x under nested vmap and for unvmapped x @ w.T

For a vector x, w @ x and x @ w.T are the same computation, but they lower to different dot_general and transpose combinations in JAX. Depending on how many vmaps are on top, one or the other keeps transposes after optimization, and that shows up in CPU run time. This came up in Patrick Kidger's suggestion there was that the choice should not matter at the JAX level, and that XLA could wash it out with two pattern matches, which are duals of each other. That PR is parked to see how this goes. Measured a = w @ x, b = x @ w.T. Transposes are counted in the optimized HLO from…

59score
performance
  • Demand 25% × 0.30 = 80 reactions, 1 comments; labelled as performance/regression/priority
  • Technical fit 30% × 0.61 = 18XLA is in AI & Accelerated Computing (a focus area); issue needs performance, which you listed
  • Maintainer engagement 25% × 1.00 = 25a maintainer commented; labelled (triaged); project responsiveness 100%
  • Feasibility 20% × 0.40 = 8has reproduction steps; has code; project onboarding 50%
Evidence
Suggested first step

Reproduce the benchmark or slow path, profile it (perf, VTune or Tracy), and share the numbers on the issue before proposing a change.

Rule-generated · updated 3d ago
LabelleduntouchedMatches your profileTensor Runtimes & ML Frameworks

buffer_comparator_test times out after 900 seconds

Summary //xla/backends/gpu/runtime:buffer_comparator_test_b200 consistently consumes the full 900-second timeout in a full single-GPU-target CI run on NVIDIA B200. Observed behavior The target starts 9 tests. It repeatedly logs element differences from buffer_comparator.cc:166 (for example Difference at 75: 3, expected 5). The process continues until Bazel terminates it at approximately 902.5 seconds. This target alone occupied approximately 1241 seconds of the Bazel critical path including scheduling overhead. Environment: NVIDIA B200, SM100 amd64 hermetic CUDA 13.0.0 cuDNN 9.12.0 one GPU…

57score
build-systemscudadocsperformancetesting
  • Demand 25% × 0.33 = 80 reactions, 2 comments; labelled as performance/regression/priority
  • Technical fit 30% × 0.61 = 18XLA is in AI & Accelerated Computing (a focus area); issue needs performance, which you listed
  • Maintainer engagement 25% × 1.00 = 25a maintainer commented; labelled (triaged); project responsiveness 100%
  • Feasibility 20% × 0.25 = 5clear scope; project onboarding 50%
Evidence
  • #46629 [GPU][B200] buffer_comparator_test times out after 900 secondsissue
    Summary //xla/backends/gpu/runtime:buffer_comparator_test_b200 consistently consumes the full 900-second timeout in a full single-GPU-target CI run on NVIDIA B200. Observed behavior The target starts 9 tests. It repeatedly logs element differences from buffer_comparator.cc:166…
  • Maintainer commentissue
    Unfortunately I cannot reproduce this behavior internally. When run on B200 with cuda 13.0, the test takes 9.5 seconds on B200. If including scheduling + GPU setup time and everything, it is ~2 minutes. In our OSS CI we don't run on B200 yet, but on older GPUs it seems the test…
Suggested first step

Reproduce the benchmark or slow path, profile it (perf, VTune or Tracy), and share the numbers on the issue before proposing a change.

Rule-generated · updated 3d ago
25 more candidates below the publish threshold
LabelleduntouchedstaleMatches your profileTensor Runtimes & ML Frameworks

While-loop compile time ~5x slower since small-while-loop threshold default went to 1e9

Since 106395652488 raised the default xla_cpu_small_while_loop_byte_threshold from 1024 to 1e9 (the fix for #50040 and jax-ml/jax#40150), compiling a while loop with a large body is about 5x slower on CPU. The whole body becomes one hoisted kernel. Run time barely changes, so a loop compiled once loses overall. python import time import jax, jax.numpy as jnp def body_fn(n): def body(state): i, x = state for k in range(n): x = x + jnp.sum(jnp.sin(x * (k + 1.0)) * jnp.cos(x + k)) * 1e-3 return i + 1, x return body for n in (100, 200, 400): f = jax.jit(lambda x, n=n: jax.lax.while_loop(lambda s:…

66score
performancetemplates
  • Demand 25% × 0.45 = 111 reactions, 2 comments; labelled as performance/regression/priority
  • Technical fit 30% × 0.61 = 18XLA is in AI & Accelerated Computing (a focus area); issue needs performance, which you listed
  • Maintainer engagement 25% × 1.00 = 25a maintainer commented; labelled (triaged); project responsiveness 100%
  • Feasibility 20% × 0.55 = 11clear scope; has reproduction steps; has code; project onboarding 50%
Evidence
Suggested first step

Reproduce the benchmark or slow path, profile it (perf, VTune or Tracy), and share the numbers on the issue before proposing a change.

Rule-generated · updated 19h ago
LabelleduntouchedcandidateMatches your profileTensor Runtimes & ML Frameworks

XLA (jit_compile): `tf.math.confusion_matrix` on data-dependent labels crashes with `InvalidArgumentError: Shapes before and after Literal::Reshape have different numbers of elements`; eager works

Issue type Bug Have you reproduced the bug with TensorFlow Nightly? Yes — also reproduces on tf-nightly-cpu 2.22.0-dev20260905 (identical error; the exact element counts differ since the shape is data-dependent, but the "different numbers of elements" invariant failure is the same). Source binary (pip) TensorFlow version 2.21.0 Custom code Yes OS platform and distribution Linux (x86_64) Python version 3.12.14 Current behavior? tf.math.confusion_matrix computes num_classes from the max label value at runtime, so when its inputs have a data-dependent range the class dimension is dynamic. Under…

54score
linux
  • Demand 25% × 0.00 = 00 reactions, 1 comments (not counted alone)
  • Technical fit 30% × 0.61 = 18XLA is in AI & Accelerated Computing (a focus area); issue needs linux, which you listed
  • Maintainer engagement 25% × 1.00 = 25a maintainer commented; labelled (triaged); project responsiveness 100%
  • Feasibility 20% × 0.55 = 11clear scope; has reproduction steps; has code; project onboarding 50%
Evidence
Suggested first step

Reproduce the bug on the latest main branch of XLA, reduce it to a minimal example, and post your findings on the issue before opening a PR.

Rule-generated · updated 3d ago
LabelleduntouchedcandidateMatches your profileTensor Runtimes & ML Frameworks

Lifting bug: hang/timeout on CPU after HLO-to-StableHLO conversion

This bug is triggered by the HLO-to-StableHLO conversion: the HLO module runs successfully via run_hlo_module --input_format=hlo, and the conversion via hlo-translate --hlo-to-mlir also succeeds, but running the translated StableHLO via run_hlo_module --input_format=stablehlo fails with: no termination within the 30s replay timeout. Environment CPU: Intel(R) Core(TM) i9-14900HX GPU: NVIDIA GeForce RTX 4060 Laptop GPU CUDA Driver: 580.126.09 XLA commit: 6f1f2d916dcef0428bfa7ea66765be539126c4f2 StableHLO commit: e6f81ebd06b3509f2c7fa6175430aadbd4d724ca HLO module HloModule Test,…

54score
cpp20cudatesting
  • Demand 25% × 0.00 = 00 reactions, 2 comments (not counted alone)
  • Technical fit 30% × 0.61 = 18XLA is in AI & Accelerated Computing (a focus area); issue needs cpp20, which you listed
  • Maintainer engagement 25% × 1.00 = 25a maintainer commented; labelled (triaged); project responsiveness 100%
  • Feasibility 20% × 0.55 = 11clear scope; has reproduction steps; has code; project onboarding 50%
Evidence
Suggested first step

Reproduce the bug on the latest main branch of XLA, reduce it to a minimal example, and post your findings on the issue before opening a PR.

Rule-generated · updated 3d ago
LabelleduntouchedcandidateMatches your profileTensor Runtimes & ML Frameworks

SliceToDynamic with a non-integer size operand asserts in LLVM: Invalid cast!

Repo: openxla/xla · Commit: a8f4eee (main, 2026-09-21) · Build: -c opt --copt=-UNDEBUG (assertions on), --config=cuda_nvcc What happens A module whose SliceToDynamic custom call receives a floating-point tensor where an s32 scalar size is expected passes the HLO verifier, and the GPU backend then aborts inside LLVM while emitting code: hlo-opt: llvm/lib/IR/Instructions.cpp:3111: static CastInst *llvm::CastInst::Create(Instruction::CastOps, Value *, Type *, const Twine &, InsertPosition): Assertion castIsValid(op, S, Ty) && "Invalid cast!"' failed. Reproducer slice_to_dynamic.hlo: HloModule m…

54score
cpp20cudanumerics
  • Demand 25% × 0.00 = 00 reactions, 1 comments (not counted alone)
  • Technical fit 30% × 0.61 = 18XLA is in AI & Accelerated Computing (a focus area); issue needs cpp20, which you listed
  • Maintainer engagement 25% × 1.00 = 25a maintainer commented; labelled (triaged); project responsiveness 100%
  • Feasibility 20% × 0.55 = 11clear scope; has reproduction steps; has code; project onboarding 50%
Evidence
Suggested first step

Reproduce the build problem in a clean environment (container or CI matrix), then propose the smallest change to the build scripts.

Rule-generated · updated 3d ago
LabelleduntouchedcandidateMatches your profileTensor Runtimes & ML Frameworks

XLA (jit_compile): `tf.repeat` on a bounded-dynamic dimension (from `tf.where`) crashes with `RET_CHECK failure (xla_builder.cc:1171)` instead of a clean error; eager works

Issue type Bug Have you reproduced the bug with TensorFlow Nightly? Yes — also reproduces on tf-nightly-cpu 2.22.0-dev20260905 (identical crash; the RET_CHECK is at xla_builder.cc:1228 there as the source has shifted, but same invariant, message, and op). Source binary (pip) TensorFlow version 2.21.0 Custom code Yes OS platform and distribution Linux (x86_64) Python version 3.12.14 Current behavior? When a tf.where result (which has a data-dependent, *bounded-dynamic* leading dimension) is fed into tf.experimental.numpy.repeat (lowered to Tile), XLA compilation crashes with an internal…

54score
linux
  • Demand 25% × 0.00 = 00 reactions, 1 comments (not counted alone)
  • Technical fit 30% × 0.61 = 18XLA is in AI & Accelerated Computing (a focus area); issue needs linux, which you listed
  • Maintainer engagement 25% × 1.00 = 25a maintainer commented; labelled (triaged); project responsiveness 100%
  • Feasibility 20% × 0.55 = 11clear scope; has reproduction steps; has code; project onboarding 50%
Evidence
Suggested first step

Reproduce the bug on the latest main branch of XLA, reduce it to a minimal example, and post your findings on the issue before opening a PR.

Rule-generated · updated 3d ago
LabelleduntouchedcandidateMatches your profileTensor Runtimes & ML Frameworks

Lifting bug on CPU: hlo_input_output_alias_config.cc:220 ShapeUtil::IndexIsValid(…)

This bug is triggered by the HLO-to-StableHLO conversion: the HLO module runs successfully via run_hlo_module --input_format=hlo, and the conversion via hlo-translate --hlo-to-mlir also succeeds, but running the translated StableHLO via run_hlo_module --input_format=stablehlo fails with: status_macros.cc:58] INTERNAL: RET_CHECK failure…. Failure signature: hlo_input_output_alias_config.cc:220 ShapeUtil::IndexIsValid(…). Environment CPU: Intel(R) Core(TM) i9-14900HX GPU: NVIDIA GeForce RTX 4060 Laptop GPU CUDA Driver: 580.126.09 XLA commit: 6f1f2d916dcef0428bfa7ea66765be539126c4f2 StableHLO…

54score
cpp20cuda
  • Demand 25% × 0.00 = 00 reactions, 1 comments (not counted alone)
  • Technical fit 30% × 0.61 = 18XLA is in AI & Accelerated Computing (a focus area); issue needs cpp20, which you listed
  • Maintainer engagement 25% × 1.00 = 25a maintainer commented; labelled (triaged); project responsiveness 100%
  • Feasibility 20% × 0.55 = 11clear scope; has reproduction steps; has code; project onboarding 50%
Evidence
Suggested first step

Reproduce the bug on the latest main branch of XLA, reduce it to a minimal example, and post your findings on the issue before opening a PR.

Rule-generated · updated 3d ago
LabelleduntouchedcandidateMatches your profileTensor Runtimes & ML Frameworks

AllGatherBroadcastReorder misses reordering when only the gather dimension is broadcasted

Description AllGatherBroadcastReorder reorders broadcast → all-gather when an additional broadcasted dimension exists outside the gather dimension. However, it skips the case where only the gather dimension is broadcasted, despite the potential communication reduction. Reproducer optimized case: HloModule m, replica_count=2 ENTRY main { x = f32[128,5] parameter(0) bc = f32[5,4,8,128] broadcast(x), dimensions={3,0} ROOT ag = f32[5,8,8,128] all-gather(bc), dimensions={1}, replica_groups={{0,1}} } Missed case (not optimized): HloModule m, replica_count=2 ENTRY main { x = f32[128,5] parameter(0)…

54score
cudaperformance
  • Demand 25% × 0.00 = 00 reactions, 1 comments (not counted alone)
  • Technical fit 30% × 0.61 = 18XLA is in AI & Accelerated Computing (a focus area); issue needs performance, which you listed
  • Maintainer engagement 25% × 1.00 = 25a maintainer commented; labelled (triaged); project responsiveness 100%
  • Feasibility 20% × 0.55 = 11clear scope; has reproduction steps; has code; project onboarding 50%
Evidence
Suggested first step

Reproduce the bug on the latest main branch of XLA, reduce it to a minimal example, and post your findings on the issue before opening a PR.

Rule-generated · updated 3d ago
LabelleduntouchedcandidateMatches your profileTensor Runtimes & ML Frameworks

A fusion fed the same operand twice fails `HloDomainMap` (RET_CHECK) and, with one more instruction, corrupts memory at module teardown

Repo: openxla/xla · Commit: a8f4eee (main, 2026-09-21) · Build: -c opt --copt=-UNDEBUG, --config=cuda_nvcc What happens INTERNAL: RET_CHECK failure (xla/service/hlo_domain_map.cc:181) domain_id < 0 Instruction %x = f32[8]{0} parameter(0) already has domain 0 A kLoop fusion whose two operands are the same entry parameter (fusion(x, x)) and whose root tuple returns one of its parameters. HloDomainMap walks the fusion's operands and tries to assign %x to a domain twice. The HLO verifier accepts the module and the interpreter runs it. With distinct operands (fusion(x, y)) the CPU pipeline…

54score
cpp20
  • Demand 25% × 0.00 = 00 reactions, 1 comments (not counted alone)
  • Technical fit 30% × 0.61 = 18XLA is in AI & Accelerated Computing (a focus area); issue needs cpp20, which you listed
  • Maintainer engagement 25% × 1.00 = 25a maintainer commented; labelled (triaged); project responsiveness 100%
  • Feasibility 20% × 0.55 = 11clear scope; has reproduction steps; has code; project onboarding 50%
Evidence
Suggested first step

Reproduce the bug on the latest main branch of XLA, reduce it to a minimal example, and post your findings on the issue before opening a PR.

Rule-generated · updated 3d ago
LabelleduntouchedstaleMatches your profileTensor Runtimes & ML Frameworks

Wrong f64 forward-over-reverse Hessian on GH200 with Triton GEMM enabled

Summary jax.jit(jax.jacfwd(jax.grad(f))) for a scalar float64 function f gives results on an NVIDIA GH200 that differ from the CPU by an O(1) relative error (0.6). With XLA_FLAGS=--xla_gpu_enable_triton_gemm=false, the GPU agrees with the CPU to 1e-16. The error is deterministic. jax.hessian (which also composes forward over reverse) is wrong in the same way. jacrev(jacrev) and jacfwd(jacfwd) are correct with default flags. f is the sum of squares of molecular-orbital values, evaluated from Gaussian atomic orbitals contracted with a coefficient matrix (einsum('ena,am->em', ao, C)), at 10…

53score
concurrencycudanumerics
  • Demand 25% × 0.00 = 00 reactions, 1 comments (not counted alone)
  • Technical fit 30% × 0.61 = 18XLA is in AI & Accelerated Computing (a focus area); issue needs concurrency, which you listed
  • Maintainer engagement 25% × 0.95 = 24a maintainer commented; labelled (triaged); project responsiveness 81%
  • Feasibility 20% × 0.55 = 11clear scope; has reproduction steps; has code; project onboarding 50%
Evidence
  • #51786 [GPU] Wrong f64 forward-over-reverse Hessian on GH200 with Triton GEMM enabledissue
    Summary jax.jit(jax.jacfwd(jax.grad(f))) for a scalar float64 function f gives results on an NVIDIA GH200 that differ from the CPU by an O(1) relative error (0.6). With XLA_FLAGS=--xla_gpu_enable_triton_gemm=false, the GPU agrees with the CPU to 1e-16. The error is…
  • Maintainer commentissue
    Hi David, thanks for the bug! I believe should fix the issue. Let me know if it doesn't or if you have another reproducer after this fix. For me, I was able to reproduce before this commit, but not after so I hope it's already fixed :).
Suggested first step

Reproduce the bug on the latest main branch of XLA, reduce it to a minimal example, and post your findings on the issue before opening a PR.

Rule-generated · updated 16d ago
LabelleduntouchedcandidateMatches your profileTensor Runtimes & ML Frameworks

Crash on GPU: hoist_fused_bitcasts.cc:168 ShapeUtil::ArrayDataSize(…) == ShapeUtil::ArrayDataSize(instruction->shape())…

Running the attached StableHLO module crashes run_hlo_module on the GPU platform (SIGABRT). Crash signature: hoist_fused_bitcasts.cc:168 ShapeUtil::ArrayDataSize(…) == ShapeUtil::ArrayDataSize(instruction->shape())…. The crash also reproduces on: run_hlo_module on GPU (HLO proto input) — failed (rc=-6, SIGABRT) The following backends fail without a crash signal: run_hlo_module on CPU (StableHLO input) — failed (rc=255) run_hlo_module on CPU (HLO proto input) — failed (rc=255) The same module runs successfully on: run_hlo_module on Interpreter (StableHLO input) run_hlo_module on Interpreter…

51score
cpp20cuda
  • Demand 25% × 0.00 = 00 reactions, 1 comments (not counted alone)
  • Technical fit 30% × 0.61 = 18XLA is in AI & Accelerated Computing (a focus area); issue needs cpp20, which you listed
  • Maintainer engagement 25% × 1.00 = 25a maintainer commented; labelled (triaged); project responsiveness 100%
  • Feasibility 20% × 0.40 = 8has reproduction steps; has code; project onboarding 50%
Evidence
Suggested first step

Reproduce the bug on the latest main branch of XLA, reduce it to a minimal example, and post your findings on the issue before opening a PR.

Rule-generated · updated 3d ago
LabelleduntouchedcandidateMatches your profileTensor Runtimes & ML Frameworks

hlo-translate failure: segv:mlir::stablehlo::ReduceOp::build

hlo-translate fails to convert the attached StableHLO module to an HLO proto. run_hlo_module executes the same module successfully through its direct StableHLO frontend. Failure signature: segv:mlir::stablehlo::ReduceOp::build. The same module runs successfully on: run_hlo_module on Interpreter (StableHLO input) run_hlo_module on CPU (StableHLO input) run_hlo_module on GPU (StableHLO input) Environment CPU: Intel(R) Core(TM) i9-14900HX GPU: NVIDIA GeForce RTX 4060 Laptop GPU CUDA Driver: 580.126.09 XLA commit: 6f1f2d916dcef0428bfa7ea66765be539126c4f2 StableHLO commit:…

51score
compilerscpp20cuda
  • Demand 25% × 0.00 = 00 reactions, 1 comments (not counted alone)
  • Technical fit 30% × 0.61 = 18XLA is in AI & Accelerated Computing (a focus area); issue needs cpp20, which you listed
  • Maintainer engagement 25% × 1.00 = 25a maintainer commented; labelled (triaged); project responsiveness 100%
  • Feasibility 20% × 0.40 = 8has reproduction steps; has code; project onboarding 50%
Evidence
Suggested first step

Reproduce the build problem in a clean environment (container or CI matrix), then propose the smallest change to the build scripts.

Rule-generated · updated 3d ago
LabelleduntouchedcandidateMatches your profileTensor Runtimes & ML Frameworks

Failure on CPU: copy_insertion.cc:427 param != root

Running the attached StableHLO module aborts run_hlo_module on CPU through an internal XLA check. Failure signature: copy_insertion.cc:427 param != root. The same module runs successfully on Interpreter. The following backends fail without a crash signal: run_hlo_module on GPU (StableHLO input) — failed (rc=255) The following backends do not terminate within the replay timeout of 30s: run_hlo_module on Interpreter (StableHLO input) The same module runs successfully on: run_hlo_module on Interpreter (HLO proto input) run_hlo_module on CPU (HLO proto input) run_hlo_module on GPU (HLO proto…

51score
cpp20cuda
  • Demand 25% × 0.00 = 00 reactions, 1 comments (not counted alone)
  • Technical fit 30% × 0.61 = 18XLA is in AI & Accelerated Computing (a focus area); issue needs cpp20, which you listed
  • Maintainer engagement 25% × 1.00 = 25a maintainer commented; labelled (triaged); project responsiveness 100%
  • Feasibility 20% × 0.40 = 8has reproduction steps; has code; project onboarding 50%
Evidence
Suggested first step

Reproduce the bug on the latest main branch of XLA, reduce it to a minimal example, and post your findings on the issue before opening a PR.

Rule-generated · updated 3d ago
LabelleduntouchedcandidateMatches your profileTensor Runtimes & ML Frameworks

Crash on GPU: computation_partitioner.cc:269 operand_maps.size() == N

Running the attached StableHLO module crashes run_hlo_module on the GPU platform (SIGABRT). Crash signature: computation_partitioner.cc:269 operand_maps.size() == N. The crash also reproduces on: run_hlo_module on GPU (HLO proto input) — failed (rc=-6, SIGABRT) hlo_runner_main on GPU (HLO proto input, compile-only via --run=false) — failed (rc=-6, SIGABRT) The same module runs successfully on: run_hlo_module on CPU (StableHLO input) run_hlo_module on Interpreter (StableHLO input) run_hlo_module on Interpreter (HLO proto input) run_hlo_module on CPU (HLO proto input) The module also compiles…

51score
cpp20cuda
  • Demand 25% × 0.00 = 00 reactions, 1 comments (not counted alone)
  • Technical fit 30% × 0.61 = 18XLA is in AI & Accelerated Computing (a focus area); issue needs cpp20, which you listed
  • Maintainer engagement 25% × 1.00 = 25a maintainer commented; labelled (triaged); project responsiveness 100%
  • Feasibility 20% × 0.40 = 8has reproduction steps; has code; project onboarding 50%
Evidence
Suggested first step

Reproduce the bug on the latest main branch of XLA, reduce it to a minimal example, and post your findings on the issue before opening a PR.

Rule-generated · updated 3d ago
LabelleduntouchedcandidateMatches your profileTensor Runtimes & ML Frameworks

Lifting bug on CPU: UNIMPLEMENTED: Computation compare.impl.1 is called in both a parallel (eg, kMap) and…

This bug is triggered by the HLO-to-StableHLO conversion: the HLO module runs successfully via run_hlo_module --input_format=hlo, and the conversion via hlo-translate --hlo-to-mlir also succeeds, but running the translated StableHLO via run_hlo_module --input_format=stablehlo fails with: UNIMPLEMENTED: Computation compare.impl.1 is called in both a parallel (eg, kMap) and…. Environment CPU: Intel(R) Core(TM) i9-14900HX GPU: NVIDIA GeForce RTX 4060 Laptop GPU CUDA Driver: 580.126.09 XLA commit: 6f1f2d916dcef0428bfa7ea66765be539126c4f2 StableHLO commit: e6f81ebd06b3509f2c7fa6175430aadbd4d724ca…

51score
cpp20cuda
  • Demand 25% × 0.00 = 00 reactions, 1 comments (not counted alone)
  • Technical fit 30% × 0.61 = 18XLA is in AI & Accelerated Computing (a focus area); issue needs cpp20, which you listed
  • Maintainer engagement 25% × 1.00 = 25a maintainer commented; labelled (triaged); project responsiveness 100%
  • Feasibility 20% × 0.40 = 8has reproduction steps; has code; project onboarding 50%
Evidence
Suggested first step

Reproduce the bug on the latest main branch of XLA, reduce it to a minimal example, and post your findings on the issue before opening a PR.

Rule-generated · updated 3d ago
LabelleduntouchedcandidateMatches your profileTensor Runtimes & ML Frameworks

Heap use-after-free in HloEvaluator::HandleWhile during DynamicSliceAnnotator on GPU (AddressSanitizer)

Heap use-after-free in HloEvaluator::HandleWhile during DynamicSliceAnnotator on GPU (AddressSanitizer) Running the attached StableHLO module with an AddressSanitizer build of run_hlo_module on GPU (CUDA) triggers a heap-use-after-free in the xla::Shape copy constructor at xla/shape.cc:49, reached from TryParseAndEvaluateWhileInductionVar (xla/hlo/evaluator/hlo_evaluator.cc:3680) inside HloEvaluator::HandleWhile (hlo_evaluator.cc:3745), which xla::gpu::EvaluateByteOffsetAtIteration (xla/backends/gpu/transforms/dynamic_slice_analysis.cc:134) calls from DynamicSliceAnnotator::RunImpl…

51score
cpp20cudamemory
  • Demand 25% × 0.00 = 00 reactions, 1 comments (not counted alone)
  • Technical fit 30% × 0.61 = 18XLA is in AI & Accelerated Computing (a focus area); issue needs cpp20, which you listed
  • Maintainer engagement 25% × 1.00 = 25a maintainer commented; labelled (triaged); project responsiveness 100%
  • Feasibility 20% × 0.40 = 8has reproduction steps; has code; project onboarding 50%
Evidence
Suggested first step

Reproduce the bug on the latest main branch of XLA, reduce it to a minimal example, and post your findings on the issue before opening a PR.

Rule-generated · updated 3d ago
LabelleduntouchedcandidateMatches your profileTensor Runtimes & ML Frameworks

Crash on GPU: triton_tiling_propagation.cc:627 subdim_size_accumulator == dim_size

Running the attached StableHLO module crashes run_hlo_module on the GPU platform (SIGABRT). Crash signature: triton_tiling_propagation.cc:627 subdim_size_accumulator == dim_size. The crash also reproduces on: run_hlo_module on GPU (HLO proto input) — failed (rc=-6, SIGABRT) hlo_runner_main on GPU (HLO proto input, compile-only via --run=false) — failed (rc=-6, SIGABRT) The same module runs successfully on: run_hlo_module on CPU (StableHLO input) run_hlo_module on Interpreter (StableHLO input) run_hlo_module on Interpreter (HLO proto input) run_hlo_module on CPU (HLO proto input) The module…

51score
cpp20cuda
  • Demand 25% × 0.00 = 00 reactions, 1 comments (not counted alone)
  • Technical fit 30% × 0.61 = 18XLA is in AI & Accelerated Computing (a focus area); issue needs cpp20, which you listed
  • Maintainer engagement 25% × 1.00 = 25a maintainer commented; labelled (triaged); project responsiveness 100%
  • Feasibility 20% × 0.40 = 8has reproduction steps; has code; project onboarding 50%
Evidence
Suggested first step

Reproduce the bug on the latest main branch of XLA, reduce it to a minimal example, and post your findings on the issue before opening a PR.

Rule-generated · updated 3d ago
LabelleduntouchedcandidateMatches your profileTensor Runtimes & ML Frameworks

Crash on Interpreter: layout_assignment.cc:742 get_channel_constraints(…) Multi-module layout assignment requires…

Running the attached StableHLO module crashes run_hlo_module on the Interpreter platform (SIGABRT). Crash signature: layout_assignment.cc:742 get_channel_constraints(…) Multi-module layout assignment requires…. The crash also reproduces on: run_hlo_module on Interpreter (HLO proto input) — failed (rc=-6, SIGABRT) The following backends fail without a crash signal: run_hlo_module on CPU (StableHLO input) — failed (rc=255) run_hlo_module on GPU (StableHLO input) — failed (rc=255) run_hlo_module on CPU (HLO proto input) — failed (rc=255) run_hlo_module on GPU (HLO proto input) — failed (rc=255)…

51score
cpp20cuda
  • Demand 25% × 0.00 = 00 reactions, 1 comments (not counted alone)
  • Technical fit 30% × 0.61 = 18XLA is in AI & Accelerated Computing (a focus area); issue needs cpp20, which you listed
  • Maintainer engagement 25% × 1.00 = 25a maintainer commented; labelled (triaged); project responsiveness 100%
  • Feasibility 20% × 0.40 = 8has reproduction steps; has code; project onboarding 50%
Evidence
Suggested first step

Reproduce the bug on the latest main branch of XLA, reduce it to a minimal example, and post your findings on the issue before opening a PR.

Rule-generated · updated 3d ago
LabelleduntouchedcandidateMatches your profileTensor Runtimes & ML Frameworks

Failure on CPU: common_pjrt_client.cc:1617] ExecutePrepareWithOomRetries failed: INVALID_ARGUMENT: Buffer…

Running the attached StableHLO module fails on CPU. Failure signature: common_pjrt_client.cc:1617] ExecutePrepareWithOomRetries failed: INVALID_ARGUMENT: Buffer…. The same module runs successfully on Interpreter. The following backends fail without a crash signal: run_hlo_module on GPU (StableHLO input) — failed (rc=255) run_hlo_module on CPU (HLO proto input) — failed (rc=255) run_hlo_module on GPU (HLO proto input) — failed (rc=255) The same module runs successfully on: run_hlo_module on Interpreter (StableHLO input) run_hlo_module on Interpreter (HLO proto input) The module also compiles…

51score
cpp20cuda
  • Demand 25% × 0.00 = 00 reactions, 1 comments (not counted alone)
  • Technical fit 30% × 0.61 = 18XLA is in AI & Accelerated Computing (a focus area); issue needs cpp20, which you listed
  • Maintainer engagement 25% × 1.00 = 25a maintainer commented; labelled (triaged); project responsiveness 100%
  • Feasibility 20% × 0.40 = 8has reproduction steps; has code; project onboarding 50%
Evidence
Suggested first step

Reproduce the bug on the latest main branch of XLA, reduce it to a minimal example, and post your findings on the issue before opening a PR.

Rule-generated · updated 3d ago
LabelleduntouchedcandidateMatches your profileTensor Runtimes & ML Frameworks

Crash on CPU: abstract_cpu_buffer.cc:92 literal.size_bytes() == size

Running the attached StableHLO module crashes run_hlo_module on the CPU platform (SIGABRT). Crash signature: abstract_cpu_buffer.cc:92 literal.size_bytes() == size. The crash also reproduces on: run_hlo_module on CPU (HLO proto input) — failed (rc=-6, SIGABRT) The same module runs successfully on: run_hlo_module on Interpreter (StableHLO input) run_hlo_module on GPU (StableHLO input) run_hlo_module on Interpreter (HLO proto input) run_hlo_module on GPU (HLO proto input) The module also compiles cleanly on: hlo_runner_main on CPU (HLO proto input, compile-only via --run=false) hlo_runner_main…

51score
cpp20cuda
  • Demand 25% × 0.00 = 00 reactions, 1 comments (not counted alone)
  • Technical fit 30% × 0.61 = 18XLA is in AI & Accelerated Computing (a focus area); issue needs cpp20, which you listed
  • Maintainer engagement 25% × 1.00 = 25a maintainer commented; labelled (triaged); project responsiveness 100%
  • Feasibility 20% × 0.40 = 8has reproduction steps; has code; project onboarding 50%
Evidence
Suggested first step

Reproduce the bug on the latest main branch of XLA, reduce it to a minimal example, and post your findings on the issue before opening a PR.

Rule-generated · updated 3d ago
LabelleduntouchedcandidateMatches your profileTensor Runtimes & ML Frameworks

hlo-translate failure: segv:mlir::stablehlo::foldConvert

hlo-translate fails to convert the attached StableHLO module to an HLO proto. run_hlo_module executes the same module successfully through its direct StableHLO frontend. Failure signature: segv:mlir::stablehlo::foldConvert. The same module runs successfully on: run_hlo_module on Interpreter (StableHLO input) run_hlo_module on CPU (StableHLO input) run_hlo_module on GPU (StableHLO input) Environment CPU: Intel(R) Core(TM) i9-14900HX GPU: NVIDIA GeForce RTX 4060 Laptop GPU CUDA Driver: 580.126.09 XLA commit: 6f1f2d916dcef0428bfa7ea66765be539126c4f2 StableHLO commit:…

51score
compilerscpp20cuda
  • Demand 25% × 0.00 = 00 reactions, 1 comments (not counted alone)
  • Technical fit 30% × 0.61 = 18XLA is in AI & Accelerated Computing (a focus area); issue needs cpp20, which you listed
  • Maintainer engagement 25% × 1.00 = 25a maintainer commented; labelled (triaged); project responsiveness 100%
  • Feasibility 20% × 0.40 = 8has reproduction steps; has code; project onboarding 50%
Evidence
Suggested first step

Reproduce the bug on the latest main branch of XLA, reduce it to a minimal example, and post your findings on the issue before opening a PR.

Rule-generated · updated 3d ago
LabelleduntouchedcandidateMatches your profileTensor Runtimes & ML Frameworks

Lifting bug on CPU: while_util.cc:230 while_instr->shape().IsTuple()

This bug is triggered by the HLO-to-StableHLO conversion: the HLO module runs successfully via run_hlo_module --input_format=hlo, and the conversion via hlo-translate --hlo-to-mlir also succeeds, but running the translated StableHLO via run_hlo_module --input_format=stablehlo fails with: a SIGABRT crash at while_util.cc:230 while_instr->shape().IsTuple(). Environment CPU: Intel(R) Core(TM) i9-14900HX GPU: NVIDIA GeForce RTX 4060 Laptop GPU CUDA Driver: 580.126.09 XLA commit: 6f1f2d916dcef0428bfa7ea66765be539126c4f2 StableHLO commit: e6f81ebd06b3509f2c7fa6175430aadbd4d724ca HLO module…

51score
cpp20cuda
  • Demand 25% × 0.00 = 00 reactions, 1 comments (not counted alone)
  • Technical fit 30% × 0.61 = 18XLA is in AI & Accelerated Computing (a focus area); issue needs cpp20, which you listed
  • Maintainer engagement 25% × 1.00 = 25a maintainer commented; labelled (triaged); project responsiveness 100%
  • Feasibility 20% × 0.40 = 8has reproduction steps; has code; project onboarding 50%
Evidence
Suggested first step

Reproduce the bug on the latest main branch of XLA, reduce it to a minimal example, and post your findings on the issue before opening a PR.

Rule-generated · updated 3d ago
LabelleduntouchedcandidateMatches your profileTensor Runtimes & ML Frameworks

Crash on GPU: hlo_instruction.cc:5794 parent_ != nullptr Instruction <I> must have a parent in order to have a unique…

Running the attached StableHLO module crashes run_hlo_module on the GPU platform (SIGABRT). Crash signature: hlo_instruction.cc:5794 parent_ != nullptr Instruction must have a parent in order to have a unique…. The crash also reproduces on: run_hlo_module on GPU (HLO proto input) — failed (rc=-6, SIGABRT) hlo_runner_main on GPU (HLO proto input, compile-only via --run=false) — failed (rc=-6, SIGABRT) The StableHLO→HLO-proto conversion: hlo-translate — succeeds Command: hlo-translate \ --mlir-to-hlo \ --emit-proto \ 32e2f1460a5a752b.mlir \ -o \ 32e2f1460a5a752b.hlo sed -i '1{/^goo\.gle\//d}'…

51score
cpp20cuda
  • Demand 25% × 0.00 = 00 reactions, 1 comments (not counted alone)
  • Technical fit 30% × 0.61 = 18XLA is in AI & Accelerated Computing (a focus area); issue needs cpp20, which you listed
  • Maintainer engagement 25% × 1.00 = 25a maintainer commented; labelled (triaged); project responsiveness 100%
  • Feasibility 20% × 0.40 = 8has reproduction steps; has code; project onboarding 50%
Evidence
Suggested first step

Reproduce the bug on the latest main branch of XLA, reduce it to a minimal example, and post your findings on the issue before opening a PR.

Rule-generated · updated 3d ago
LabelleduntouchedcandidateMatches your profileTensor Runtimes & ML Frameworks

Crash on GPU: all_reduce_thunk.cc:87 reduction_kind.has_value()

Running the attached StableHLO module crashes run_hlo_module on the GPU platform (SIGABRT). Crash signature: all_reduce_thunk.cc:87 reduction_kind.has_value(). The crash also reproduces on: run_hlo_module on GPU (HLO proto input) — failed (rc=-6, SIGABRT) hlo_runner_main on GPU (HLO proto input, compile-only via --run=false) — failed (rc=-6, SIGABRT) The StableHLO→HLO-proto conversion: hlo-translate — succeeds Command: hlo-translate \ --mlir-to-hlo \ --emit-proto \ 35e6168bb328bb89.mlir \ -o \ 35e6168bb328bb89.hlo sed -i '1{/^goo\.gle\//d}' 35e6168bb328bb89.hlo Environment CPU: Intel(R)…

51score
cpp20cuda
  • Demand 25% × 0.00 = 00 reactions, 1 comments (not counted alone)
  • Technical fit 30% × 0.61 = 18XLA is in AI & Accelerated Computing (a focus area); issue needs cpp20, which you listed
  • Maintainer engagement 25% × 1.00 = 25a maintainer commented; labelled (triaged); project responsiveness 100%
  • Feasibility 20% × 0.40 = 8has reproduction steps; has code; project onboarding 50%
Evidence
Suggested first step

Reproduce the bug on the latest main branch of XLA, reduce it to a minimal example, and post your findings on the issue before opening a PR.

Rule-generated · updated 3d ago
LabelleduntouchedcandidateMatches your profileTensor Runtimes & ML Frameworks

hlo-translate failure: xla_builder.h:199 builder_ != nullptr

hlo-translate fails to convert the attached StableHLO module to an HLO proto. run_hlo_module executes the same module successfully through its direct StableHLO frontend. Failure signature: xla_builder.h:199 builder_ != nullptr. The same module runs successfully on: run_hlo_module on Interpreter (StableHLO input) run_hlo_module on CPU (StableHLO input) run_hlo_module on GPU (StableHLO input) Environment CPU: Intel(R) Core(TM) i9-14900HX GPU: NVIDIA GeForce RTX 4060 Laptop GPU CUDA Driver: 580.126.09 XLA commit: 6f1f2d916dcef0428bfa7ea66765be539126c4f2 StableHLO commit:…

51score
compilerscpp20cuda
  • Demand 25% × 0.00 = 00 reactions, 1 comments (not counted alone)
  • Technical fit 30% × 0.61 = 18XLA is in AI & Accelerated Computing (a focus area); issue needs cpp20, which you listed
  • Maintainer engagement 25% × 1.00 = 25a maintainer commented; labelled (triaged); project responsiveness 100%
  • Feasibility 20% × 0.40 = 8has reproduction steps; has code; project onboarding 50%
Evidence
Suggested first step

Reproduce the bug on the latest main branch of XLA, reduce it to a minimal example, and post your findings on the issue before opening a PR.

Rule-generated · updated 3d ago
LabelleduntouchedcandidateMatches your profileTensor Runtimes & ML Frameworks

Crash on Interpreter: shape.h:852 buffer != nullptr

Running the attached StableHLO module crashes run_hlo_module on the Interpreter platform (SIGABRT). Crash signature: shape.h:852 buffer != nullptr. The crash also reproduces on: run_hlo_module on CPU (StableHLO input) — failed (rc=-6, SIGABRT) run_hlo_module on GPU (StableHLO input) — failed (rc=-6, SIGABRT) run_hlo_module on Interpreter (HLO proto input) — failed (rc=-6, SIGABRT) run_hlo_module on CPU (HLO proto input) — failed (rc=-6, SIGABRT) run_hlo_module on GPU (HLO proto input) — failed (rc=-6, SIGABRT) The module also compiles cleanly on: hlo_runner_main on GPU (HLO proto input,…

51score
cpp20cuda
  • Demand 25% × 0.00 = 00 reactions, 1 comments (not counted alone)
  • Technical fit 30% × 0.61 = 18XLA is in AI & Accelerated Computing (a focus area); issue needs cpp20, which you listed
  • Maintainer engagement 25% × 1.00 = 25a maintainer commented; labelled (triaged); project responsiveness 100%
  • Feasibility 20% × 0.40 = 8has reproduction steps; has code; project onboarding 50%
Evidence
Suggested first step

Reproduce the bug on the latest main branch of XLA, reduce it to a minimal example, and post your findings on the issue before opening a PR.

Rule-generated · updated 3d ago

Why this score

Health 71Contribution friendliness 50computed 19h ago
  • Activity1.00
    1323 merged PRs in 30 days (full marks at 20); 1340 commits in 30 days (full marks at 60)health
  • Onboarding0.50
    has mainstream build (CMake/Bazel/Meson), CI; missing contributing guide, docs sitecontrib
  • Entry points0.00
    0 open, unassigned good-first-issue/help-wanted issues without a PR (full marks at 10)contrib
  • Maintainer responsiveness1.00
    median first maintainer response 40 h (full marks within 48 h, zero after 30 days); median PR merge time 21 h (full marks within 72 h, zero after 60 days)healthcontrib
  • Release cadence0.00
    0 releases in 365 days (full marks at 4)health
  • Backlog pressure1.00
    11% of 315 scanned open issues are older than a year (full marks at <= 20%, zero at >= 80%)health
  • Contributor breadth0.55
    2 unique contributors in 90 days (full marks at 25); top contributor has 30% of commits; stars count for at most 5% of this signalhealth

Each signal is normalized to 0–1 with fixed thresholds; scores are weighted sums × 100. Stars are not an input.

Maintain, review, build and signals

other opportunities that concern this project