Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[XLA:MSA] Adding two debugging functions for memory space assignment to facilitate reproduction of production bugs in small tests through steering decisions at two key points in the MSA pass flow, before and after AllocateSegment() call: #19364

Merged
merged 1 commit into from
Nov 15, 2024

Conversation

copybara-service[bot]
Copy link

[XLA:MSA] Adding two debugging functions for memory space assignment to facilitate reproduction of production bugs in small tests through steering decisions at two key points in the MSA pass flow, before and after AllocateSegment() call:

  1. debugging_allocation_request_modifier_fn(): allows modification of AllocationRequest before AllocateSegment(AllocationRequest) calls.

  2. debugging_allocation_result_modifier_fn(): enables enforcing arbitrary failures on allocation requests, modifying the output of AllocateSegment(AllocationRequest) calls.

@copybara-service copybara-service bot force-pushed the test_695826893 branch 4 times, most recently from 7bdc8ed to 9b1b5d0 Compare November 15, 2024 23:20
…to facilitate reproduction of production bugs in small tests through steering decisions at two key points in the MSA pass flow, before and after AllocateSegment() call:

1) debugging_allocation_request_modifier_fn(): allows modification of AllocationRequest before AllocateSegment(AllocationRequest) calls.

2) debugging_allocation_result_modifier_fn(): enables enforcing arbitrary failures on allocation requests, modifying the output of AllocateSegment(AllocationRequest) calls.

PiperOrigin-RevId: 697019757
@copybara-service copybara-service bot merged commit e62a4b0 into main Nov 15, 2024
@copybara-service copybara-service bot deleted the test_695826893 branch November 15, 2024 23:38
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