Skip to content

fix: resolve #4152 — [Bug] C++ API and core tests fail with "assert 3 == 0" across all GPUs and CUDA 13.x versions#4254

Open
SlncTrZ wants to merge 2 commits into
pytorch:mainfrom
SlncTrZ:CntrB/improve/quality/fix-cuda-13-x-device-resource-count-mism
Open

fix: resolve #4152 — [Bug] C++ API and core tests fail with "assert 3 == 0" across all GPUs and CUDA 13.x versions#4254
SlncTrZ wants to merge 2 commits into
pytorch:mainfrom
SlncTrZ:CntrB/improve/quality/fix-cuda-13-x-device-resource-count-mism

Conversation

@SlncTrZ
Copy link
Copy Markdown

@SlncTrZ SlncTrZ commented May 12, 2026

Summary

fix: resolve #4152 — [Bug] C++ API and core tests fail with "assert 3 == 0" across all GPUs and CUDA 13.x versions

Problem

Severity: Critical | File: core/conversion/conversionctx/ConversionCtx.cpp

Solution

Changes

  • core/conversion/conversionctx/ConversionCtx.cpp (modified)
  • core/version.h (new)

Testing

  • Existing tests pass
  • Manual review completed
  • No new warnings/errors introduced"

SlncTrZ added 2 commits May 12, 2026 16:11
…ssert 3 == 0" across all GPUs and CUDA 13.x versions

Fixes pytorch#4152

Signed-off-by: Dinh Truong (SlncTrZ) <46520299+SlncTrZ@users.noreply.github.com>
…ssert 3 == 0" across all GPUs and CUDA 13.x versions

Fixes pytorch#4152

Signed-off-by: Dinh Truong (SlncTrZ) <46520299+SlncTrZ@users.noreply.github.com>
@meta-cla
Copy link
Copy Markdown

meta-cla Bot commented May 12, 2026

Hi @SlncTrZ!

Thank you for your pull request and welcome to our community.

Action Required

In order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you.

Process

In order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with CLA signed. The tagging process may take up to 1 hour after signing. Please give it that time before contacting us about it.

If you have received this in error or have any questions, please contact us at cla@meta.com. Thanks!

@github-actions github-actions Bot added component: conversion Issues re: Conversion stage component: core Issues re: The core compiler labels May 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component: conversion Issues re: Conversion stage component: core Issues re: The core compiler

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] C++ API and core tests fail with "assert 3 == 0" across all GPUs and CUDA 13.x versions

1 participant