The generic TIR ragged prefill kernel traverses the full KV range even when causal masking makes later tiles invisible to every query in the current tile. These iterations still load K/V and compute QK, online softmax, and PV. Bound the KV…
TileDispatch currently identifies tile Calls through TIRxOpCategory and invokes fixed Python dispatcher and scope globals. Register FTileOpDispatch(Call, DispatchContext) -> Function on each Op and use that attribute for both tile…
Backend-specific helpers remain exposed through tvm.tirx.lang and tvm.tirx.operator, while effective layout inference lives in tile utilities even though it depends on tensor type information. Move these definitions to their owning type or…
Tile dispatch currently mixes generic tensor layout IR with backend instruction implementations, hardware axes, and CUDA execution analysis. This change gives tile operations a dedicated namespace and keeps backend-specific layout and…
CUDA backend configuration already travels through Target attributes. Remove the parallel backend_config keyword from tvm.compile, tvm.tirx.build, tvm.relax.build, and IketProfiler.compile; compilation now resolves its defaults from the…
CUDA compiler settings need to be consistent across build defaults, target presets, and individual device entries without maintaining a Python field for every native compiler flag. Introduce a lightweight per-backend mapping accepted…
TIRx currently derives CUDA launch dimensions from scope-index declarations, while CUDA modules and cuda_host exports maintain separate launch configuration plumbing. This change removes ScopeIdDef and makes launch geometry independent of…
What's Changed [Web] Bump tvmjs version to 0.27.0-dev0 on main by @MasterJH5574 in [Fix][Relax][ONNX] Handle Split initializer with keep_params_in_input by @hahalfx in [Fix][Arith] Isolate Z3 contexts and make memoization deterministic by @tlopex in [Fix][TIRx] Fix MSVC build of IndexDataTypeNormalizer by…
Context The Relax ONNX frontend currently implements ~160 operators from the ONNX spec. Comparing against the current operator list ( a number of ops are not yet supported. Before opening PRs, I'd like to check on priorities/approach with…
What's Changed [Relax][PyTorch] Cast non-bool inputs to bool in logical_and converter by @javierdejesusda in [CI] Remove PyPI-only tag ref guard from wheel publishing by @tlopex in [CI] Target apache-tvm for PyPI wheel publishing by @tlopex in [Web] Bump tvmjs version to 0.25.0-dev1 by @akaashrp in [Fix] CommReduce…
The generic TIR ragged prefill kernel traverses the full KV range even when causal masking makes later tiles invisible to every query in the current tile. These iterations still load K/V and compute QK, online softmax, and PV. Bound the KV…
Why it matters: Apache TVM is in AI & Accelerated Computing (one of your focus areas).
TileDispatch currently identifies tile Calls through TIRxOpCategory and invokes fixed Python dispatcher and scope globals. Register FTileOpDispatch(Call, DispatchContext) -> Function on each Op and use that attribute for both tile…
Why it matters: Apache TVM is in AI & Accelerated Computing (one of your focus areas).
refactor(op)!: replace tile statements with tensor instruction calls; refactor(lower-tirx)!: separate CUDA launch configuration from index bindings; refactor(infra)!: unify CUDA backend configuration; refactor(infra)!: pass backend configuration through Target; refactor(op)!: isolate TIRx tile and…
Why it matters: Apache TVM is in AI & Accelerated Computing (one of your focus areas).
What's Changed [Web] Bump tvmjs version to 0.27.0-dev0 on main by @MasterJH5574 in [Fix][Relax][ONNX] Handle Split initializer with keep_params_in_input by @hahalfx in [Fix][Arith] Isolate Z3 contexts and make memoization deterministic by @tlopex in [Fix][TIRx] Fix MSVC build of…
Why it matters: Apache TVM is in AI & Accelerated Computing (one of your focus areas).
Context The Relax ONNX frontend currently implements ~160 operators from the ONNX spec. Comparing against the current operator list ( a number of ops are not yet supported. Before opening PRs, I'd like to check on priorities/approach with…
Why it matters: An open RFC/proposal that is still up for discussion. Apache TVM is in AI & Accelerated Computing (one of your focus areas).
What's Changed [Web] Bump tvmjs version to 0.27.0-dev0 on main by @MasterJH5574 in [Fix][Relax][ONNX] Handle Split initializer with keep_params_in_input by @hahalfx in [Fix][Arith] Isolate Z3 contexts and make memoization deterministic by @tlopex in [Fix][TIRx] Fix MSVC build of IndexDataTypeNormalizer by…
What's Changed [Web] Bump tvmjs version to 0.27.0-dev0 on main by @MasterJH5574 in [Fix][Relax][ONNX] Handle Split initializer with keep_params_in_input by @hahalfx in [Fix][Arith] Isolate Z3 contexts and make memoization deterministic by @tlopex in [Fix][TIRx] Fix MSVC build of IndexDataTypeNormalizer by…
What's Changed [Web] Bump tvmjs version to 0.27.0-dev0 on main by @MasterJH5574 in [Fix][Relax][ONNX] Handle Split initializer with keep_params_in_input by @hahalfx in [Fix][Arith] Isolate Z3 contexts and make memoization deterministic by @tlopex in [Fix][TIRx] Fix MSVC build of IndexDataTypeNormalizer by…
What's Changed [Relax][PyTorch] Cast non-bool inputs to bool in logical_and converter by @javierdejesusda in [CI] Remove PyPI-only tag ref guard from wheel publishing by @tlopex in [CI] Target apache-tvm for PyPI wheel publishing by @tlopex in [Web] Bump tvmjs version to 0.25.0-dev1 by @akaashrp in [Fix] CommReduce…
What's Changed [release][Dont Squash] Update version to 0.24.0 and 0.25.0.dev on main branch by @ysh329 in [Relax][Frontend] Add ParameterList and ParameterDict containers by @mshr-h in [Relax][Frontend][TFLite] Add segment operator mappings by @Aharrypotter in [BUGFIX][TIR] Skip bool-typed expressions in CSE by…
Introduction The TVM community has worked since the last release to deliver the following new exciting improvements! The main tags are below (bold text is with lots of progress): Relax, Frontend, TIR, Runtime, etc. Please visit the full listing of commits for a complete view: v0.24.0...v0.25.0. Community None. RFCs…
What's Changed [CI] Merge PR against its target branch instead of main (#19712) by @MasterJH5574 in [RELEASE] Backport main to prepare v0.25.0.rc1 by @MasterJH5574 in [v0.25.0] Backport recent main to prepare v0.25.0.rc1 by @MasterJH5574 in [CMAKE] Revert build baseline to C++17 by @MasterJH5574 in [Fix] Revert…
What's Changed [release][Dont Squash] Update version to 0.24.0 and 0.25.0.dev on main branch by @ysh329 in [Relax][Frontend] Add ParameterList and ParameterDict containers by @mshr-h in [Relax][Frontend][TFLite] Add segment operator mappings by @Aharrypotter in [BUGFIX][TIR] Skip bool-typed expressions in CSE by…
Introduction The TVM community has worked since the last release to deliver the following new exciting improvements! The main tags are below (bold text is with lots of progress): Relax etc. Please visit the full listing of commits for a complete view: v0.24.dev0...v0.24.0.rc0. Community None. RFCs None. Adreno #18867…
May 9, 2026
Contribution opportunities
0 published
No published opportunities
Cards are published only for real, open, unassigned issues with maintainer engagement.
If branch tensor constants lose metadata in script round-trip
Expected behavior A well-formed Relax If module printed with show_meta=True should parse back with its branch constants preserved. Actual behavior Both branches execute correctly on CPU. Scalar branch constants round-trip successfully, but vector constants produce references to missing metadata: text NameError: name 'metadata' is not defined Environment TVM 0.28.dev0 (local CPU build; build commit unavailable), LLVM 18.1.3, Python 3.12.3, NumPy 2.5.4, Linux x86_64. Steps to reproduce Run with python repro.py: python import numpy as np import tvm from tvm import relax for vector in [False,…
45score
cpp20linux
Technical fitweight 30% × value 0.75 = 22.5 ptsApache TVM is in AI & Accelerated Computing (a focus area); issue needs cpp20, linux, which you listedMaintainer engagementweight 25% × value 0.45 = 11.3 ptsno maintainer comment yet; labelled (triaged); project responsiveness 100%Feasibilityweight 20% × value 0.55 = 11.0 ptsclear scope; has reproduction steps; has code; project onboarding 50%
Demand25% × 0.00 = 00 reactions, 0 comments
Technical fit30% × 0.75 = 22Apache TVM is in AI & Accelerated Computing (a focus area); issue needs cpp20, linux, which you listed
Expected behavior A well-formed Relax If module printed with show_meta=True should parse back with its branch constants preserved. Actual behavior Both branches execute correctly on CPU. Scalar branch constants round-trip successfully, but vector constants produce references to…
Suggested first step
Reproduce the bug on the latest main branch of Apache TVM, reduce it to a minimal example, and post your findings on the issue before opening a PR.
Relax.build with batch_norm on CUDA fails with 'buffer v_red occurred before its declaration' for specific input shape
Expected behavior relax.build(mod, target="cuda") should compile successfully for any valid Relax IR module, including relax.op.nn.batch_norm with any valid input shape. The compiled module should execute and produce correct batch normalization results. Actual behavior relax.build crashes with an InternalError during CUDA codegen: tvm.error.InternalError: Check failed: (it != info_map_.end()) is false: Load/Store of buffer v_red (0x9c5db70) occurred before its declaration. Environment OS: Linux (x86_64) GPU: NVIDIA GeForce RTX 3080 Ti (12GB VRAM) CUDA driver: 580.76.05 TVM version:…
45score
compilerscpp20cudalinux
Technical fitweight 30% × value 0.75 = 22.5 ptsApache TVM is in AI & Accelerated Computing (a focus area); issue needs cpp20, linux, which you listedMaintainer engagementweight 25% × value 0.45 = 11.3 ptsno maintainer comment yet; labelled (triaged); project responsiveness 100%Feasibilityweight 20% × value 0.55 = 11.0 ptsclear scope; has reproduction steps; has code; project onboarding 50%
Demand25% × 0.00 = 00 reactions, 0 comments
Technical fit30% × 0.75 = 22Apache TVM is in AI & Accelerated Computing (a focus area); issue needs cpp20, linux, which you listed
Expected behavior relax.build(mod, target="cuda") should compile successfully for any valid Relax IR module, including relax.op.nn.batch_norm with any valid input shape. The compiled module should execute and produce correct batch normalization results. Actual behavior…
Suggested first step
Reproduce the build problem in a clean environment (container or CI matrix), then propose the smallest change to the build scripts.
`relax.build` crashes with an `AttributeError` during the dlight GPU scheduling pass
Expected behavior relax.build(mod, target="cuda") should compile successfully for any valid Relax IR module containing relax.op.nn.conv2d. The compiled module should execute and produce correct convolution results. Actual behavior relax.build crashes with an AttributeError during the dlight GPU scheduling pass: AttributeError: 'FloorDiv' object has no attribute 'value' Environment OS: Linux (x86_64, conda environment) GPU: NVIDIA GeForce RTX 3080 Ti (12GB VRAM) CUDA driver: 580.76.05 TVM version: 0.25.0.post1 (installed via pip) Target: cuda (GPU compilation) Python: 3.12 Steps to reproduce…
45score
cpp20cudalinux
Technical fitweight 30% × value 0.75 = 22.5 ptsApache TVM is in AI & Accelerated Computing (a focus area); issue needs cpp20, linux, which you listedMaintainer engagementweight 25% × value 0.45 = 11.3 ptsno maintainer comment yet; labelled (triaged); project responsiveness 100%Feasibilityweight 20% × value 0.55 = 11.0 ptsclear scope; has reproduction steps; has code; project onboarding 50%
Expected behavior relax.build(mod, target="cuda") should compile successfully for any valid Relax IR module containing relax.op.nn.conv2d. The compiled module should execute and produce correct convolution results. Actual behavior relax.build crashes with an AttributeError…
Suggested first step
Reproduce the build problem in a clean environment (container or CI matrix), then propose the smallest change to the build scripts.
CUDA Check failed: block_realize == old_block_realize_.get() (0x88a32c0 vs. 0x88cd340)
Expected behavior relax.build(mod, target="cuda") should compile successfully for any valid Relax IR module. The compiled module should execute and produce correct results. Actual behavior relax.build crashes with an InternalError during the CUDA dLight scheduling pass: tvm.error.InternalError: Check failed: block_realize == old_block_realize_.get() (0x9a04a00 vs. 0x99fa0f0) : Environment OS: Linux (x86_64, conda environment) GPU: NVIDIA GeForce RTX 3080 Ti (12GB VRAM, CUDA 580.76.05) TVM version: 0.25.0.post1 Target: cuda (GPU compilation) Python: 3.12 Steps to reproduce python import tvm…
42score
cpp20cudalinux
Technical fitweight 30% × value 0.75 = 22.5 ptsApache TVM is in AI & Accelerated Computing (a focus area); issue needs cpp20, linux, which you listedMaintainer engagementweight 25% × value 0.45 = 11.3 ptsno maintainer comment yet; labelled (triaged); project responsiveness 100%Feasibilityweight 20% × value 0.40 = 8.0 ptshas reproduction steps; has code; project onboarding 50%
Demand25% × 0.00 = 00 reactions, 0 comments
Technical fit30% × 0.75 = 22Apache TVM is in AI & Accelerated Computing (a focus area); issue needs cpp20, linux, which you listed
Expected behavior relax.build(mod, target="cuda") should compile successfully for any valid Relax IR module. The compiled module should execute and produce correct results. Actual behavior relax.build crashes with an InternalError during the CUDA dLight scheduling pass…
Suggested first step
Reproduce the bug on the latest main branch of Apache TVM, reduce it to a minimal example, and post your findings on the issue before opening a PR.
Fusing MaxPool with Add increases latency by 5.53x
Expected behavior Fusing a 2x2 MaxPool with its elementwise Add consumer should retain an efficient schedule for the small reduction. In this case, one thread can compute an output using four input values and then apply the Add. Actual behavior Enabling FuseOps and FuseTIR increases end-to-end VM latency from 45.68 us to 251.70 us on an RTX A6000. Keeping the upstream Add/Concat operations fused while separating Pool from Add takes 13.00 us. The graph was extracted from the official pass-test corpus for AnnotateTIROpPattern/FuseOps and adapted to the TIRx API. Its input is float32…
42score
concurrencycudaperformancetesting
Technical fitweight 30% × value 0.75 = 22.5 ptsApache TVM is in AI & Accelerated Computing (a focus area); issue needs concurrency, performance, which you listedMaintainer engagementweight 25% × value 0.45 = 11.3 ptsno maintainer comment yet; labelled (triaged); project responsiveness 100%Feasibilityweight 20% × value 0.40 = 8.0 ptshas reproduction steps; has code; project onboarding 50%
Expected behavior Fusing a 2x2 MaxPool with its elementwise Add consumer should retain an efficient schedule for the small reduction. In this case, one thread can compute an output using four input values and then apply the Add. Actual behavior Enabling FuseOps and FuseTIR…
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.
Gradient computes invalid output_padding for dilated conv2d, causing Conv2dTranspose construction to fail
Expected behavior Applying relax.transform.Gradient("main") to a well-formed 2-line Relax IRModule containing R.nn.conv2d(..., strides=(1, 1), padding=(2, 2), dilation=(2, 2)) should generate a valid adjoint function, just as it does for dilation=(1, 1). Actual behavior Forward compilation (tvm.compile(Module, target="llvm")) succeeds cleanly, and dilation=(1, 1) passes relax.transform.Gradient("main"). With dilation=(2, 2) (even with groups=1), relax.transform.Gradient("main") computes an invalid output_padding=(2, 2) for conv2d_transpose (ignoring dilation > 1) and crashes with: text…
41score
cpp20
Technical fitweight 30% × value 0.61 = 18.3 ptsApache TVM is in AI & Accelerated Computing (a focus area); issue needs cpp20, which you listedMaintainer engagementweight 25% × value 0.45 = 11.3 ptsno maintainer comment yet; labelled (triaged); project responsiveness 100%Feasibilityweight 20% × value 0.55 = 11.0 ptsclear scope; has reproduction steps; has code; project onboarding 50%
Demand25% × 0.00 = 00 reactions, 0 comments
Technical fit30% × 0.61 = 18Apache TVM is in AI & Accelerated Computing (a focus area); issue needs cpp20, which you listed
Expected behavior Applying relax.transform.Gradient("main") to a well-formed 2-line Relax IRModule containing R.nn.conv2d(..., strides=(1, 1), padding=(2, 2), dilation=(2, 2)) should generate a valid adjoint function, just as it does for dilation=(1, 1). Actual behavior Forward…
Suggested first step
Reproduce the bug on the latest main branch of Apache TVM, reduce it to a minimal example, and post your findings on the issue before opening a PR.
RewriteCUDAGraph illegally captures dynamic-shape relax.run.nonzero and crashes with cudaErrorStreamCaptureImplicit (906)
Expected behavior Compiling a Relax IRModule containing R.nonzero with PassContext(config={"relax.backend.use_cuda_graph": True}) should exclude relax.run.nonzero (a data-dependent, dynamic-shape packed call that uses the legacy stream / host-device synchronization) from CUDA Graph capture regions, and execute identically to use_cuda_graph=False. Actual behavior With use_cuda_graph=False, the module compiles and executes cleanly on CUDA. With use_cuda_graph=True, relax.transform.RewriteCUDAGraph lifts R.call_packed("relax.run.nonzero", a) directly into main_cuda_graph_capture, even though its…
41score
cpp20cuda
Technical fitweight 30% × value 0.61 = 18.3 ptsApache TVM is in AI & Accelerated Computing (a focus area); issue needs cpp20, which you listedMaintainer engagementweight 25% × value 0.45 = 11.3 ptsno maintainer comment yet; labelled (triaged); project responsiveness 100%Feasibilityweight 20% × value 0.55 = 11.0 ptsclear scope; has reproduction steps; has code; project onboarding 50%
Demand25% × 0.00 = 00 reactions, 0 comments
Technical fit30% × 0.61 = 18Apache TVM is in AI & Accelerated Computing (a focus area); issue needs cpp20, which you listed
Expected behavior Compiling a Relax IRModule containing R.nonzero with PassContext(config={"relax.backend.use_cuda_graph": True}) should exclude relax.run.nonzero (a data-dependent, dynamic-shape packed call that uses the legacy stream / host-device synchronization) from CUDA…
Suggested first step
Reproduce the bug on the latest main branch of Apache TVM, reduce it to a minimal example, and post your findings on the issue before opening a PR.
Float8 Cast drops saturate and merges distinct programs
Expected behavior Cast-19 distinguishes saturate=0 and 1 for FLOAT8E4M3FN overflow. Casting 1000 and casting back should give NaN and 448, respectively. Actual behavior Full ONNX checking and ReferenceEvaluator distinguish both models, while from_onnx produces structurally identical Relax IR. The Cast converter never reads saturate. This demonstrates semantic information loss during conversion; it does not attribute every Float8 backend difference to this attribute or claim a native Float8 kernel was executed. Environment TVM 0.28.dev0, LLVM 18.1.3, Linux x86_64; Python 3.12.3, NumPy 2.5.4,…
41score
linux
Technical fitweight 30% × value 0.61 = 18.3 ptsApache TVM is in AI & Accelerated Computing (a focus area); issue needs linux, which you listedMaintainer engagementweight 25% × value 0.45 = 11.3 ptsno maintainer comment yet; labelled (triaged); project responsiveness 100%Feasibilityweight 20% × value 0.55 = 11.0 ptsclear scope; has reproduction steps; has code; project onboarding 50%
Demand25% × 0.00 = 00 reactions, 0 comments
Technical fit30% × 0.61 = 18Apache TVM is in AI & Accelerated Computing (a focus area); issue needs linux, which you listed
Expected behavior Cast-19 distinguishes saturate=0 and 1 for FLOAT8E4M3FN overflow. Casting 1000 and casting back should give NaN and 448, respectively. Actual behavior Full ONNX checking and ReferenceEvaluator distinguish both models, while from_onnx produces structurally…
Suggested first step
Reproduce the bug on the latest main branch of Apache TVM, reduce it to a minimal example, and post your findings on the issue before opening a PR.
MaxUnpool calls tolist on its output_shape expression
Expected behavior Providing the optional constant output_shape=[1, 1, 2, 2] should preserve the result of the equivalent two-input MaxUnpool. Actual behavior The two-input model imports. Adding the same explicit output shape passes ONNX full checking and reference evaluation, then fails during import: text AttributeError: 'GenericConst' object has no attribute 'tolist' The converter assigns inputs[2] to total_output_shape and calls .tolist() on that Relax expression. Environment TVM 0.28.dev0 (local build; build commit unavailable), Python 3.12.3, Linux x86_64; ONNX 1.22.0, NumPy 2.5.4. Steps…
41score
linux
Technical fitweight 30% × value 0.61 = 18.3 ptsApache TVM is in AI & Accelerated Computing (a focus area); issue needs linux, which you listedMaintainer engagementweight 25% × value 0.45 = 11.3 ptsno maintainer comment yet; labelled (triaged); project responsiveness 100%Feasibilityweight 20% × value 0.55 = 11.0 ptsclear scope; has reproduction steps; has code; project onboarding 50%
Demand25% × 0.00 = 00 reactions, 0 comments
Technical fit30% × 0.61 = 18Apache TVM is in AI & Accelerated Computing (a focus area); issue needs linux, which you listed
Expected behavior Providing the optional constant output_shape=[1, 1, 2, 2] should preserve the result of the equivalent two-input MaxUnpool. Actual behavior The two-input model imports. Adding the same explicit output shape passes ONNX full checking and reference evaluation…
Suggested first step
Reproduce the bug on the latest main branch of Apache TVM, reduce it to a minimal example, and post your findings on the issue before opening a PR.
Torch.prod with reduction dimension fails in from_exported_program: "AssertionError: Unsupported function types ['prod.dim_int']"
Expected behavior Calling torch.prod(x, dim=...) in a PyTorch module should be successfully imported into Relax via from_exported_program. The underlying translator already has an implementation in base_fx_graph_translator.py (_prod) that supports dim and keepdim. Actual behavior When translating an ExportedProgram that uses torch.prod with a reduction axis, from_exported_program fails with an AssertionError: Traceback (most recent call last): File "repro.py", line 11, in mod = from_exported_program(ep) File "python/tvm/relax/frontend/torch/exported_program_translator.py", line 2454, in…
41score
compilerscpp20
Technical fitweight 30% × value 0.61 = 18.3 ptsApache TVM is in AI & Accelerated Computing (a focus area); issue needs cpp20, which you listedMaintainer engagementweight 25% × value 0.45 = 11.3 ptsno maintainer comment yet; labelled (triaged); project responsiveness 100%Feasibilityweight 20% × value 0.55 = 11.0 ptsclear scope; has reproduction steps; has code; project onboarding 50%
Demand25% × 0.00 = 00 reactions, 0 comments
Technical fit30% × 0.61 = 18Apache TVM is in AI & Accelerated Computing (a focus area); issue needs cpp20, which you listed
Expected behavior Calling torch.prod(x, dim=...) in a PyTorch module should be successfully imported into Relax via from_exported_program. The underlying translator already has an implementation in base_fx_graph_translator.py (_prod) that supports dim and keepdim. Actual…
Suggested first step
Reproduce the bug on the latest main branch of Apache TVM, reduce it to a minimal example, and post your findings on the issue before opening a PR.
Expected behavior Shape produces an INT64 tensor. Shape(x)+[1,1], for x of shape (2,3), should return [3,4]. Actual behavior Using the equivalent INT64 initializer succeeds. Using Shape instead raises ValueError: Node cannot handle ShapeExpr inputs. The importer rejects the shape representation before Add conversion. Unlike #20065/#20123, this is a whole shape vector consumed as a tensor, not shape-derived symbolic scalars. Environment TVM 0.28.dev0, LLVM 18.1.3, Linux x86_64; Python 3.12.3, NumPy 2.5.4, ONNX 1.22.0. Installed binary build revision is unknown. Current main was inspected…
41score
linux
Technical fitweight 30% × value 0.61 = 18.3 ptsApache TVM is in AI & Accelerated Computing (a focus area); issue needs linux, which you listedMaintainer engagementweight 25% × value 0.45 = 11.3 ptsno maintainer comment yet; labelled (triaged); project responsiveness 100%Feasibilityweight 20% × value 0.55 = 11.0 ptsclear scope; has reproduction steps; has code; project onboarding 50%
Demand25% × 0.00 = 00 reactions, 0 comments
Technical fit30% × 0.61 = 18Apache TVM is in AI & Accelerated Computing (a focus area); issue needs linux, which you listed
Expected behavior Shape produces an INT64 tensor. Shape(x)+[1,1], for x of shape (2,3), should return [3,4]. Actual behavior Using the equivalent INT64 initializer succeeds. Using Shape instead raises ValueError: Node cannot handle ShapeExpr inputs. The importer rejects the…
Suggested first step
Reproduce the bug on the latest main branch of Apache TVM, reduce it to a minimal example, and post your findings on the issue before opening a PR.
Max and min reductions replace infinities with finite extrema
Expected behavior The maximum of a nonempty all-negative-infinity tensor is -inf; the minimum of an all-positive-infinity tensor is +inf. ONNX ReferenceEvaluator agrees. Actual behavior On LLVM CPU, ReduceMax([-inf,-inf,-inf]) returns -3.4028234663852886e38 and ReduceMin([inf,inf,inf]) returns +3.4028234663852886e38. Finite-value controls return 7 correctly. This concerns nonempty infinity-only inputs, separately from CUDA NaN propagation in #19518 and ArgMin indices in #20866. Environment TVM 0.28.dev0, LLVM 18.1.3, Linux x86_64; Python 3.12.3, NumPy 2.5.4, ONNX 1.22.0. Installed binary…
41score
cudalinux
Technical fitweight 30% × value 0.61 = 18.3 ptsApache TVM is in AI & Accelerated Computing (a focus area); issue needs linux, which you listedMaintainer engagementweight 25% × value 0.45 = 11.3 ptsno maintainer comment yet; labelled (triaged); project responsiveness 100%Feasibilityweight 20% × value 0.55 = 11.0 ptsclear scope; has reproduction steps; has code; project onboarding 50%
Expected behavior The maximum of a nonempty all-negative-infinity tensor is -inf; the minimum of an all-positive-infinity tensor is +inf. ONNX ReferenceEvaluator agrees. Actual behavior On LLVM CPU, ReduceMax([-inf,-inf,-inf]) returns -3.4028234663852886e38 and…
Suggested first step
Reproduce the bug on the latest main branch of Apache TVM, reduce it to a minimal example, and post your findings on the issue before opening a PR.
In squeeze in python/tvm/relax/frontend/nn/op.py: (1) The axis argument accepts int or list of int. (2) The nominal default value of axis is -1 (this is just nominal since TVMScript is not Python code, so the default value is not really stored in module), which means removing all axis of dimensions 1, instead of removing the last dim. In squeeze in python/tvm/relax/op/manipulate.py: (1) If the axis is int, then it is converted to a list of one element. In InferLayoutSqueeze in src/relax/op/tensor/manipulate.cc: (1) The axis attribute is read as-is, and for each value of axis the corresponding…
41score
compilerscpp20
Technical fitweight 30% × value 0.61 = 18.3 ptsApache TVM is in AI & Accelerated Computing (a focus area); issue needs cpp20, which you listedMaintainer engagementweight 25% × value 0.45 = 11.3 ptsno maintainer comment yet; labelled (triaged); project responsiveness 100%Feasibilityweight 20% × value 0.55 = 11.0 ptsclear scope; has reproduction steps; has code; project onboarding 50%
In squeeze in python/tvm/relax/frontend/nn/op.py: (1) The axis argument accepts int or list of int. (2) The nominal default value of axis is -1 (this is just nominal since TVMScript is not Python code, so the default value is not really stored in module), which means removing…
Suggested first step
Reproduce the bug on the latest main branch of Apache TVM, reduce it to a minimal example, and post your findings on the issue before opening a PR.
Note this is related to but is a different issue. InferLayoutStack returns a layout with S as one of letters, but TransposeLike function in src/relax/transform/infer_layout_utils.cc does not know how to handle such layout (since src and dst does not contain same set of letters). Steps to reproduce from tvm_tirx.script import ir as I from tvm.relax import script as R @I.ir_module class Module: @R.function def main(inp_0: R.Tensor((2, 3), dtype="float32")) -> R.Tuple(R.Tensor((2, 3, 2), dtype="float32")): with R.dataflow(): lv: R.Tensor((2, 3, 2), dtype="float32") = R.stack((inp_0, inp_0),…
41score
cpp20
Technical fitweight 30% × value 0.61 = 18.3 ptsApache TVM is in AI & Accelerated Computing (a focus area); issue needs cpp20, which you listedMaintainer engagementweight 25% × value 0.45 = 11.3 ptsno maintainer comment yet; labelled (triaged); project responsiveness 100%Feasibilityweight 20% × value 0.55 = 11.0 ptsclear scope; has reproduction steps; has code; project onboarding 50%
Demand25% × 0.00 = 00 reactions, 0 comments
Technical fit30% × 0.61 = 18Apache TVM is in AI & Accelerated Computing (a focus area); issue needs cpp20, which you listed
Note this is related to but is a different issue. InferLayoutStack returns a layout with S as one of letters, but TransposeLike function in src/relax/transform/infer_layout_utils.cc does not know how to handle such layout (since src and dst does not contain same set of…
Suggested first step
Reproduce the bug on the latest main branch of Apache TVM, reduce it to a minimal example, and post your findings on the issue before opening a PR.
trys to convert axis to size_t and insert a character at such position to layout_str. However as described by the axis can be negative. Program will crash if the axis is negative. C++ does check whether the position is valid, and throws errors like tvm.error.InternalError: basic_string::replace: __pos (which is 18446744073709551615) > this->size() (which is 2) Steps to reproduce from tvm_tirx.script import ir as I from tvm.relax import script as R @I.ir_module class Module: @R.function def main(inp_0: R.Tensor((2, 3), dtype="float32")) -> R.Tuple(R.Tensor((2, 3, 2), dtype="float32")): with…
41score
cpp20
Technical fitweight 30% × value 0.61 = 18.3 ptsApache TVM is in AI & Accelerated Computing (a focus area); issue needs cpp20, which you listedMaintainer engagementweight 25% × value 0.45 = 11.3 ptsno maintainer comment yet; labelled (triaged); project responsiveness 100%Feasibilityweight 20% × value 0.55 = 11.0 ptsclear scope; has reproduction steps; has code; project onboarding 50%
Demand25% × 0.00 = 00 reactions, 0 comments
Technical fit30% × 0.61 = 18Apache TVM is in AI & Accelerated Computing (a focus area); issue needs cpp20, which you listed
trys to convert axis to size_t and insert a character at such position to layout_str. However as described by the axis can be negative. Program will crash if the axis is negative. C++ does check whether the position is valid, and throws errors like tvm.error.InternalError…
Suggested first step
Reproduce the bug on the latest main branch of Apache TVM, reduce it to a minimal example, and post your findings on the issue before opening a PR.
layer_norm` Relax/TIR module crashes the process on Windows
[Bug] layer_norm_only_driver.py layer_norm_only_reproducer.py Expected behavior TVM should either: compile and execute the provided Relax/TIR module successfully, or raise a normal Python / TVM exception if the module is unsupported. It should not terminate the whole process with a native crash. Actual behavior TVM terminates the process with a native exit while compiling or executing the module. Observed failure signature: process_error return code: 3221225477 This issue was first found by donor-based differential fuzzing around FuseOps, but it was later isolated to a standalone reproducer…
41score
cpp20testingwindows
Technical fitweight 30% × value 0.61 = 18.3 ptsApache TVM is in AI & Accelerated Computing (a focus area); issue needs cpp20, which you listedMaintainer engagementweight 25% × value 0.45 = 11.3 ptscomments not checked; labelled (triaged); project responsiveness 100%Feasibilityweight 20% × value 0.55 = 11.0 ptsclear scope; has reproduction steps; has code; project onboarding 50%
Demand25% × 0.00 = 00 reactions, 0 comments
Technical fit30% × 0.61 = 18Apache TVM is in AI & Accelerated Computing (a focus area); issue needs cpp20, which you listed
[Bug] layer_norm_only_driver.py layer_norm_only_reproducer.py Expected behavior TVM should either: compile and execute the provided Relax/TIR module successfully, or raise a normal Python / TVM exception if the module is unsupported. It should not terminate the whole process…
Suggested first step
Reproduce the bug on the latest main branch of Apache TVM, reduce it to a minimal example, and post your findings on the issue before opening a PR.
Boolean mask indexing fails in from_exported_program: "TypeError: Take op requires the input indices to have integer dtype. However, the given indices dtype is T.bool"
Expected behavior Translating a PyTorch module that indexes a tensor with a boolean mask (e.g., x[mask]) via from_exported_program should successfully convert the operation to Relax IR. In PyTorch and NumPy semantics, indexing a tensor with a boolean mask selects elements where the mask evaluates to True. Actual behavior When translating an ExportedProgram containing boolean tensor indexing, from_exported_program crashes with a TypeError: Traceback (most recent call last): File "repro.py", line 12, in mod = from_exported_program(ep) File…
41score
cpp20storage
Technical fitweight 30% × value 0.61 = 18.3 ptsApache TVM is in AI & Accelerated Computing (a focus area); issue needs cpp20, which you listedMaintainer engagementweight 25% × value 0.45 = 11.3 ptsno maintainer comment yet; labelled (triaged); project responsiveness 100%Feasibilityweight 20% × value 0.55 = 11.0 ptsclear scope; has reproduction steps; has code; project onboarding 50%
Demand25% × 0.00 = 00 reactions, 0 comments
Technical fit30% × 0.61 = 18Apache TVM is in AI & Accelerated Computing (a focus area); issue needs cpp20, which you listed
Expected behavior Translating a PyTorch module that indexes a tensor with a boolean mask (e.g., x[mask]) via from_exported_program should successfully convert the operation to Relax IR. In PyTorch and NumPy semantics, indexing a tensor with a boolean mask selects elements where…
Suggested first step
Reproduce the bug on the latest main branch of Apache TVM, reduce it to a minimal example, and post your findings on the issue before opening a PR.
`DataflowUseInplaceCalls` produces CUDA TIR that fails scheduling
Expected behavior Applying relax.transform.DataflowUseInplaceCalls to the valid Relax function below should preserve a compilable program. The untransformed module compiles for CUDA with the same target and pipeline. Actual behavior The untransformed module compiles. After DataflowUseInplaceCalls, compilation raises ScheduleError: text The queried subtree root tirx.For#0 in SRef tree does not have compact dataflow, because its child block tirx.SBlock#1 on SRef tree is neither a local complete block nor a local reduction block. ... No overlap between the buffers the block reads and writes The…
41score
cpp20cuda
Technical fitweight 30% × value 0.61 = 18.3 ptsApache TVM is in AI & Accelerated Computing (a focus area); issue needs cpp20, which you listedMaintainer engagementweight 25% × value 0.45 = 11.3 ptsno maintainer comment yet; labelled (triaged); project responsiveness 100%Feasibilityweight 20% × value 0.55 = 11.0 ptsclear scope; has reproduction steps; has code; project onboarding 50%
Demand25% × 0.00 = 00 reactions, 0 comments
Technical fit30% × 0.61 = 18Apache TVM is in AI & Accelerated Computing (a focus area); issue needs cpp20, which you listed
Expected behavior Applying relax.transform.DataflowUseInplaceCalls to the valid Relax function below should preserve a compilable program. The untransformed module compiles for CUDA with the same target and pipeline. Actual behavior The untransformed module compiles. After…
Suggested first step
Reproduce the bug on the latest main branch of Apache TVM, reduce it to a minimal example, and post your findings on the issue before opening a PR.
MergeSharedMemoryAllocations hoists a dynamic allocation above its size binding
Expected behavior s_tir.transform.MergeSharedMemoryAllocations() should preserve the scope and definition order of variables used in the merged buffer extent. The resulting module should be accepted by tirx.transform.SplitHostDevice(). The example below has two dynamic shared-memory buffers. The second buffer uses a local size binding. The input passes both verify_ssa and verify_well_formed. The intended runtime domain is 1 <= n <= 128. Actual behavior The merge pass moves the combined buffer allocation before the definition of size. The transformed IR contains this ordering: python size =…
41score
cpp20cudadocsmemory
Technical fitweight 30% × value 0.61 = 18.3 ptsApache TVM is in AI & Accelerated Computing (a focus area); issue needs cpp20, which you listedMaintainer engagementweight 25% × value 0.45 = 11.3 ptsno maintainer comment yet; labelled (triaged); project responsiveness 100%Feasibilityweight 20% × value 0.55 = 11.0 ptsclear scope; has reproduction steps; has code; project onboarding 50%
Demand25% × 0.00 = 00 reactions, 0 comments
Technical fit30% × 0.61 = 18Apache TVM is in AI & Accelerated Computing (a focus area); issue needs cpp20, which you listed
Expected behavior s_tir.transform.MergeSharedMemoryAllocations() should preserve the scope and definition order of variables used in the merged buffer extent. The resulting module should be accepted by tirx.transform.SplitHostDevice(). The example below has two dynamic…
Suggested first step
Reproduce the bug on the latest main branch of Apache TVM, reduce it to a minimal example, and post your findings on the issue before opening a PR.
Resize align_corners divides by zero for a unit output extent
Expected behavior Resize-13 maps the coordinate to zero when an align_corners output extent is one. Resizing this input to (1,1,1,3) should return [[[[0,0.5,1]]]]. Actual behavior Output height 3 executes correctly; changing only height to 1 fails while building with Divide by zero. The coordinate calculation divides by output_size-1 without the unit-extent case. This differs from #20877, which concerns the tf_crop_and_resize branch. Environment TVM 0.28.dev0, LLVM 18.1.3, Linux x86_64; Python 3.12.3, NumPy 2.5.4, ONNX 1.22.0. Installed binary build revision is unknown. Current main was…
41score
linux
Technical fitweight 30% × value 0.61 = 18.3 ptsApache TVM is in AI & Accelerated Computing (a focus area); issue needs linux, which you listedMaintainer engagementweight 25% × value 0.45 = 11.3 ptsno maintainer comment yet; labelled (triaged); project responsiveness 100%Feasibilityweight 20% × value 0.55 = 11.0 ptsclear scope; has reproduction steps; has code; project onboarding 50%
Expected behavior Resize-13 maps the coordinate to zero when an align_corners output extent is one. Resizing this input to (1,1,1,3) should return [[[[0,0.5,1]]]]. Actual behavior Output height 3 executes correctly; changing only height to 1 fails while building with Divide by…
Suggested first step
Reproduce the bug on the latest main branch of Apache TVM, reduce it to a minimal example, and post your findings on the issue before opening a PR.
Dropout ignores training_mode and returns unscaled input
Expected behavior For Dropout-13, training_mode=true and ratio=0.5, every output for an input of ones must be either 0 or 2. This contract does not require matching random draws. Actual behavior Inference mode passes. Training mode also returns all ones: 64/64 elements violate the contract. The converter reads ratio but never uses the third input, training_mode. Environment TVM 0.28.dev0, LLVM 18.1.3, Linux x86_64; Python 3.12.3, NumPy 2.5.4, ONNX 1.22.0. Installed binary build revision is unknown. Current main was inspected statically, not rebuilt. Steps to reproduce python import numpy as…
41score
linux
Technical fitweight 30% × value 0.61 = 18.3 ptsApache TVM is in AI & Accelerated Computing (a focus area); issue needs linux, which you listedMaintainer engagementweight 25% × value 0.45 = 11.3 ptsno maintainer comment yet; labelled (triaged); project responsiveness 100%Feasibilityweight 20% × value 0.55 = 11.0 ptsclear scope; has reproduction steps; has code; project onboarding 50%
Demand25% × 0.00 = 00 reactions, 0 comments
Technical fit30% × 0.61 = 18Apache TVM is in AI & Accelerated Computing (a focus area); issue needs linux, which you listed
Expected behavior For Dropout-13, training_mode=true and ratio=0.5, every output for an input of ones must be either 0 or 2. This contract does not require matching random draws. Actual behavior Inference mode passes. Training mode also returns all ones: 64/64 elements violate…
Suggested first step
Reproduce the bug on the latest main branch of Apache TVM, reduce it to a minimal example, and post your findings on the issue before opening a PR.
`R.median` legalizes to the CPU `tvm.contrib.sort.argsort` extern, which ends up inside a device kernel: `Unresolved call tirx.call_packed` (cuda) / `unknown intrinsic tirx.call_packed` (nvptx)
The following code: python import tvm from tvm.script import ir as I from tvm.script import relax as R @I.ir_module class Module: @R.function def main(x: R.Tensor((8,), "float32")) -> R.Tensor((), "float32"): with R.dataflow(): gv = R.median(x, axis=None, keepdims=False) R.output(gv) return gv tvm.compile(Module, target="llvm") print("llvm: OK") for target in ({"kind": "cuda", "arch": "sm_80"}, {"kind": "nvptx", "mcpu": "sm_80"}): try: tvm.compile(Module, target=tvm.target.Target(target)) print(target["kind"], ": OK") except tvm.error.InternalError as e: print(target["kind"], ":",…
41score
cpp20cuda
Technical fitweight 30% × value 0.61 = 18.3 ptsApache TVM is in AI & Accelerated Computing (a focus area); issue needs cpp20, which you listedMaintainer engagementweight 25% × value 0.45 = 11.3 ptsno maintainer comment yet; labelled (triaged); project responsiveness 100%Feasibilityweight 20% × value 0.55 = 11.0 ptsclear scope; has reproduction steps; has code; project onboarding 50%
Demand25% × 0.00 = 00 reactions, 0 comments
Technical fit30% × 0.61 = 18Apache TVM is in AI & Accelerated Computing (a focus area); issue needs cpp20, which you listed
The following code: python import tvm from tvm.script import ir as I from tvm.script import relax as R @I.ir_module class Module: @R.function def main(x: R.Tensor((8,), "float32")) -> R.Tensor((), "float32"): with R.dataflow(): gv = R.median(x, axis=None, keepdims=False)…
Suggested first step
Reproduce the bug on the latest main branch of Apache TVM, reduce it to a minimal example, and post your findings on the issue before opening a PR.
OneHot does not convert floating-point depth to int64
Expected behavior OneHot-11 permits floating-point depth and requires converting it to int64 before use. Depth 3.0 should behave like int64 3. Actual behavior The int64-depth control executes correctly. Changing only depth to float32 fails during conversion: text TypeError: Cannot convert from type float to int The converter passes the result of depth.value.numpy().tolist() directly as num_classes. The final Cast keeps the output dtype explicit. Environment TVM 0.28.dev0, LLVM 18.1.3, Linux x86_64; Python 3.12.3, NumPy 2.5.4, ONNX 1.22.0, ORT 1.29.0. The installed binary build revision is…
41score
linuxnumerics
Technical fitweight 30% × value 0.61 = 18.3 ptsApache TVM is in AI & Accelerated Computing (a focus area); issue needs linux, which you listedMaintainer engagementweight 25% × value 0.45 = 11.3 ptsno maintainer comment yet; labelled (triaged); project responsiveness 100%Feasibilityweight 20% × value 0.55 = 11.0 ptsclear scope; has reproduction steps; has code; project onboarding 50%
Demand25% × 0.00 = 00 reactions, 0 comments
Technical fit30% × 0.61 = 18Apache TVM is in AI & Accelerated Computing (a focus area); issue needs linux, which you listed
Expected behavior OneHot-11 permits floating-point depth and requires converting it to int64 before use. Depth 3.0 should behave like int64 3. Actual behavior The int64-depth control executes correctly. Changing only depth to float32 fails during conversion: text TypeError…
Suggested first step
Reproduce the bug on the latest main branch of Apache TVM, reduce it to a minimal example, and post your findings on the issue before opening a PR.
SkipLayerNormalization fails when its fourth output is requested
Expected behavior The optional fourth output of com.microsoft.SkipLayerNormalization should contain input + skip + bias; requesting it should preserve the normal output. Actual behavior The one-output control compiles and matches ORT. Requesting only the additional fourth output fails conversion: text AssertionError: Missing outputs during conversion. Expected 4 but Got 3 in SkipLayerNormalization. The converter unconditionally returns three fields. ORT executes both models and the script checks the fourth output against the sum explicitly. Environment TVM 0.28.dev0, LLVM 18.1.3, Linux…
41score
linux
Technical fitweight 30% × value 0.61 = 18.3 ptsApache TVM is in AI & Accelerated Computing (a focus area); issue needs linux, which you listedMaintainer engagementweight 25% × value 0.45 = 11.3 ptsno maintainer comment yet; labelled (triaged); project responsiveness 100%Feasibilityweight 20% × value 0.55 = 11.0 ptsclear scope; has reproduction steps; has code; project onboarding 50%
Demand25% × 0.00 = 00 reactions, 0 comments
Technical fit30% × 0.61 = 18Apache TVM is in AI & Accelerated Computing (a focus area); issue needs linux, which you listed
Expected behavior The optional fourth output of com.microsoft.SkipLayerNormalization should contain input + skip + bias; requesting it should preserve the normal output. Actual behavior The one-output control compiles and matches ORT. Requesting only the additional fourth…
Suggested first step
Reproduce the bug on the latest main branch of Apache TVM, reduce it to a minimal example, and post your findings on the issue before opening a PR.
CPU TopK builds for uint64 but fails in the runtime sort
Expected behavior A legal UINT64 ONNX TopK should return the selected values and indices on CPU, as the equivalent INT64 control does. Actual behavior Both models import and build. INT64 runs correctly, but UINT64 fails only when the VM executes: text InternalError: Unsupported input dtype: uint64 The CPU sort dispatch has an int64 branch but no uint64 branch. The script checks ONNX reference results and uses nonnegative values representable in both types. Environment TVM 0.28.dev0, LLVM 18.1.3, Linux x86_64; Python 3.12.3, NumPy 2.5.4, ONNX 1.22.0, ORT 1.29.0. The installed binary build…
41score
linux
Technical fitweight 30% × value 0.61 = 18.3 ptsApache TVM is in AI & Accelerated Computing (a focus area); issue needs linux, which you listedMaintainer engagementweight 25% × value 0.45 = 11.3 ptsno maintainer comment yet; labelled (triaged); project responsiveness 100%Feasibilityweight 20% × value 0.55 = 11.0 ptsclear scope; has reproduction steps; has code; project onboarding 50%
Demand25% × 0.00 = 00 reactions, 0 comments
Technical fit30% × 0.61 = 18Apache TVM is in AI & Accelerated Computing (a focus area); issue needs linux, which you listed
Expected behavior A legal UINT64 ONNX TopK should return the selected values and indices on CPU, as the equivalent INT64 control does. Actual behavior Both models import and build. INT64 runs correctly, but UINT64 fails only when the VM executes: text InternalError: Unsupported…
Suggested first step
Reproduce the bug on the latest main branch of Apache TVM, reduce it to a minimal example, and post your findings on the issue before opening a PR.
VectorizeLoop loses a let binding when scalarizing a conditional
Expected behavior The vectorized loop below should compile and produce the same result as its serial equivalent. The first two elements should become A[i] + 3, and the last two should become A[i] + 4. The input passes both tvm.tirx.analysis.verify_ssa and verify_well_formed. Actual behavior Compiling the vectorized version with the default LLVM pipeline fails in MakePackedAPI: text src/tirx/transform/make_packed_api.cc:279 TVM_FFI_ICHECK_EQ(undefined.size(), 0) tvm.error.InternalError: Check failed: undefined.size() == 0 (1 vs. 0) : In PrimFunc main variables (v,) are used, but are not passed…
41score
simd
Technical fitweight 30% × value 0.61 = 18.3 ptsApache TVM is in AI & Accelerated Computing (a focus area); issue needs simd, which you listedMaintainer engagementweight 25% × value 0.45 = 11.3 ptsno maintainer comment yet; labelled (triaged); project responsiveness 100%Feasibilityweight 20% × value 0.55 = 11.0 ptsclear scope; has reproduction steps; has code; project onboarding 50%
Demand25% × 0.00 = 00 reactions, 0 comments
Technical fit30% × 0.61 = 18Apache TVM is in AI & Accelerated Computing (a focus area); issue needs simd, which you listed
Expected behavior The vectorized loop below should compile and produce the same result as its serial equivalent. The first two elements should become A[i] + 3, and the last two should become A[i] + 4. The input passes both tvm.tirx.analysis.verify_ssa and verify_well_formed…
Suggested first step
Reproduce the bug on the latest main branch of Apache TVM, reduce it to a minimal example, and post your findings on the issue before opening a PR.
ConvertLayout changes the flattened order of `conv2d + repeat(axis=None)`
Expected behavior ConvertLayout should preserve the result of the Relax function. In the reproducer below, the module before and after layout conversion should return the same flattened tensor. Actual behavior When a NCHW conv2d is converted to NHWC and its result is passed to repeat(repeats=1, axis=None), the converted module flattens the NHWC representation directly. The original module flattens the logical NCHW result, so the output values appear in a different order. I reduced this from tests/python/relax/test_transform_convert_layout.py::test_conv2d_repeat_flatten. The structural test…
41score
cpp20testing
Technical fitweight 30% × value 0.61 = 18.3 ptsApache TVM is in AI & Accelerated Computing (a focus area); issue needs cpp20, which you listedMaintainer engagementweight 25% × value 0.45 = 11.3 ptsno maintainer comment yet; labelled (triaged); project responsiveness 100%Feasibilityweight 20% × value 0.55 = 11.0 ptsclear scope; has reproduction steps; has code; project onboarding 50%
Demand25% × 0.00 = 00 reactions, 0 comments
Technical fit30% × 0.61 = 18Apache TVM is in AI & Accelerated Computing (a focus area); issue needs cpp20, which you listed
Expected behavior ConvertLayout should preserve the result of the Relax function. In the reproducer below, the module before and after layout conversion should return the same flattened tensor. Actual behavior When a NCHW conv2d is converted to NHWC and its result is passed to…
Suggested first step
Reproduce the bug on the latest main branch of Apache TVM, reduce it to a minimal example, and post your findings on the issue before opening a PR.
Generated SPIR-V is rejected by TVM's own validator: Invalid SPIR-V header
Repo: apache/tvm · Commit: 5b4b753 · USE_VULKAN=ON, USE_KHRONOS_SPIRV=/usr (SPIRV-Tools 2022.1), LLVM 18 What happens tvm.error.InternalError: Check failed: res == SPV_SUCCESS (-4 vs. 0) : index=0 error:Invalid SPIR-V header. (src/backend/vulkan/codegen/spirv_utils.cc:100, SPIRVTools::ValidateShader) TVM generates the SPIR-V and hands it to spvValidate, which rejects the header, so the module never reaches a device. No GPU is needed to reproduce. Reproducer spirv_header.py: python import tvm from tvm.script import ir as I from tvm.script import tirx as T from tvm.script import relax as R…
41score
compilerscpp20cudastorage
Technical fitweight 30% × value 0.61 = 18.3 ptsApache TVM is in AI & Accelerated Computing (a focus area); issue needs cpp20, which you listedMaintainer engagementweight 25% × value 0.45 = 11.3 ptsno maintainer comment yet; labelled (triaged); project responsiveness 100%Feasibilityweight 20% × value 0.55 = 11.0 ptsclear scope; has reproduction steps; has code; project onboarding 50%
CUDA workspace cleanup aborts on Windows at thread/process exit
Returning a CUDA workspace to TVM's pool succeeds on Windows, but the process then aborts in WorkspacePool::~WorkspacePool(). I hit this after successful inference and reduced it to the script below. The pool's thread-local destructor calls CUDA too late. A diagnostic build reports cudaErrorCudartUnloading at process exit and cudaErrorInitializationError at worker-thread exit. The exception escapes the destructor. Catching it stops the crash but leaves GPU memory allocated after each worker exits. I have a local patch that keeps the workspace cache and releases it through a Windows FLS…
41score
concurrencycudamemorywindows
Technical fitweight 30% × value 0.61 = 18.3 ptsApache TVM is in AI & Accelerated Computing (a focus area); issue needs concurrency, which you listedMaintainer engagementweight 25% × value 0.45 = 11.3 ptsno maintainer comment yet; labelled (triaged); project responsiveness 100%Feasibilityweight 20% × value 0.55 = 11.0 ptsclear scope; has reproduction steps; has code; project onboarding 50%
Demand25% × 0.00 = 00 reactions, 0 comments
Technical fit30% × 0.61 = 18Apache TVM is in AI & Accelerated Computing (a focus area); issue needs concurrency, which you listed
Returning a CUDA workspace to TVM's pool succeeds on Windows, but the process then aborts in WorkspacePool::~WorkspacePool(). I hit this after successful inference and reduced it to the script below. The pool's thread-local destructor calls CUDA too late. A diagnostic build…
Suggested first step
Reproduce the bug on the latest main branch of Apache TVM, reduce it to a minimal example, and post your findings on the issue before opening a PR.
Non-unit-stride masked load emits an invalid LLVM intrinsic
[Bug][TIRx][LLVM] Non-unit-stride masked load emits an invalid LLVM intrinsic Expected behavior A two-lane masked load from indices 0 and 2 of a three-element float32 buffer should compile to verifier-valid LLVM IR. Actual behavior Compilation fails during LLVM module verification. text Call parameter type does not match function signature! splat (i1 true) i1 %3 = call float @llvm.masked.load.f32.p0(ptr align 4 %2, splat (i1 true), float poison) Environment OS/architecture: macOS, arm64 TVM: 0.28.dev0, commit 2d992bb97c076f44f71e6a3042bdd1b330991dfc Python: CPython 3.14.5 Target: LLVM; TIRx…
41score
armcompilerscpp20macos
Technical fitweight 30% × value 0.61 = 18.3 ptsApache TVM is in AI & Accelerated Computing (a focus area); issue needs cpp20, which you listedMaintainer engagementweight 25% × value 0.45 = 11.3 ptsno maintainer comment yet; labelled (triaged); project responsiveness 100%Feasibilityweight 20% × value 0.55 = 11.0 ptsclear scope; has reproduction steps; has code; project onboarding 50%
[Bug][TIRx][LLVM] Non-unit-stride masked load emits an invalid LLVM intrinsic Expected behavior A two-lane masked load from indices 0 and 2 of a three-element float32 buffer should compile to verifier-valid LLVM IR. Actual behavior Compilation fails during LLVM module…
Suggested first step
Reproduce the bug on the latest main branch of Apache TVM, reduce it to a minimal example, and post your findings on the issue before opening a PR.
Recent issues and discussions in 3 tracked projects (Apache TVM, CCCL (Thrust, CUB, libcudacxx) and LLVM) mention “internal compiler error”. This is an automatically detected signal, not a validated need.
Recent issues and discussions in 12 tracked projects (Apache TVM, CCCL (Thrust, CUB, libcudacxx), Gazebo (gz-sim), Intel oneAPI DPC++ compiler (intel/llvm) and 8 more) mention “compile time”. This is an automatically detected signal, not a validated need.
The phrase appears in open issue titles of Apache TVM, CUTLASS, ExecuTorch, Godot Engine and 5 more. Found automatically from title word pairs; read the threads before treating it as one problem.
The phrase appears in open issue titles of Apache TVM, Bazel, CUTLASS, ClickHouse and 5 more. Found automatically from title word pairs; read the threads before treating it as one problem.
The phrase appears in open issue titles of Apache Arrow, Apache TVM, CCCL (Thrust, CUB, libcudacxx), Godot Engine and 8 more. Found automatically from title word pairs; read the threads before treating it as one problem.
The phrase appears in open issue titles of Apache TVM, Envoy, ExecuTorch, Ice and 5 more. Found automatically from title word pairs; read the threads before treating it as one problem.
The phrase appears in open issue titles of AdaptiveCpp, Apache Arrow, Apache TVM, CCCL (Thrust, CUB, libcudacxx) and 8 more. Found automatically from title word pairs; read the threads before treating it as one problem.
The phrase appears in open issue titles of Apache Arrow, Apache TVM, Bazel, FlatBuffers and 8 more. Found automatically from title word pairs; read the threads before treating it as one problem.
The phrase appears in open issue titles of Apache Arrow, Apache TVM, CUTLASS, ClickHouse and 9 more. Found automatically from title word pairs; read the threads before treating it as one problem.