Skip to content

Conversation

@chinmaydk99
Copy link

Fixes AttributeError: 'int' object has no attribute 'is_Add' in tests after commit 1f352c0.

Root cause: sympy_subs() could return plain Python int values, which later code expects to be sympy types with .is_Add attribute.

Fix: Wrap Python primitives in sympy_subs():

  • intsympy.Integer
  • floatsympy.Float
  • boolsympy.true/false

Fixes tests:

  • test_aoti_debug_printer_sym_inputs_cuda
  • test_triton_kernel_grid_cuda

Cherry-pick to release/2.9.

@rocm-repo-management-api
Copy link

rocm-repo-management-api bot commented Jan 20, 2026

Jenkins build for 65e8dd77e63c59c82048fa834f57e48209b73aa1 commit finished as SUCCESS
Links: Pipeline Overview / Build artifacts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant