Skip to content

Fold an Alloc whose inplace client is itself constant - #2352

Draft
ricardoV94 wants to merge 2 commits into
pymc-devs:mainfrom
ricardoV94:alloc_constant_fold
Draft

Fold an Alloc whose inplace client is itself constant#2352
ricardoV94 wants to merge 2 commits into
pymc-devs:mainfrom
ricardoV94:alloc_constant_fold

Conversation

@ricardoV94

@ricardoV94 ricardoV94 commented Aug 14, 2026

Copy link
Copy Markdown
Member

I think we need a different approach, this is a graph decision. For instance a Scan can inplace on a non-constant set_subtensor but not if that was constant folded itself...

@ricardoV94
ricardoV94 marked this pull request as draft August 14, 2026 09:46
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