Skip to content

Scan: Inplace on untraced_sit_sot (like RNGs)#2003

Merged
ricardoV94 merged 1 commit intopymc-devs:v3from
ricardoV94:scan_inplace_untraced_sit_sot
Mar 27, 2026
Merged

Scan: Inplace on untraced_sit_sot (like RNGs)#2003
ricardoV94 merged 1 commit intopymc-devs:v3from
ricardoV94:scan_inplace_untraced_sit_sot

Conversation

@ricardoV94
Copy link
Copy Markdown
Member

@ricardoV94 ricardoV94 commented Mar 27, 2026

Closes #2002

@ricardoV94 ricardoV94 force-pushed the scan_inplace_untraced_sit_sot branch from c85bb33 to 910766b Compare March 27, 2026 13:56
return res

def outer_untraced_sit_sot(self, list_inputs):
def outer_untraced_sit_sot(self, list_inputs, enumerate: bool = False):
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added this enumerate thing only for untraced_sit_sot, we can add more in the future if we find them useful elsewhere

@ricardoV94 ricardoV94 force-pushed the scan_inplace_untraced_sit_sot branch 2 times, most recently from a5e7618 to 41cb0a6 Compare March 27, 2026 16:29
@ricardoV94
Copy link
Copy Markdown
Member Author

Only mypy failing, will fix. Ready for review

@ricardoV94 ricardoV94 force-pushed the scan_inplace_untraced_sit_sot branch from 41cb0a6 to 85fb2e0 Compare March 27, 2026 18:56
@ricardoV94 ricardoV94 merged commit 3e80196 into pymc-devs:v3 Mar 27, 2026
66 checks passed
@ricardoV94 ricardoV94 deleted the scan_inplace_untraced_sit_sot branch March 27, 2026 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Scan inner function never does inplace RNG operations

2 participants