Skip to content

Fix: near-singular matrix check for GPU - #103324

Closed
Navya1707 wants to merge 1 commit into
tensorflow:masterfrom
Navya1707:near-singular-matrix/fix
Closed

Navya1707 wants to merge 1 commit into
tensorflow:masterfrom
Navya1707:near-singular-matrix/fix

Conversation

@Navya1707

Copy link
Copy Markdown

near-singular matrix check based on condition number estimation. Fixes #94657

@google-ml-butler google-ml-butler Bot added the size:M CL Change Size: Medium label Oct 30, 2025
@keerthanakadiri keerthanakadiri added the comp:core issues related to core part of tensorflow label Oct 31, 2025
@github-project-automation github-project-automation Bot moved this to Assigned Reviewer in PR Queue Oct 31, 2025
@google-ml-butler google-ml-butler Bot added the awaiting review Pull request awaiting review label Oct 31, 2025
@keerthanakadiri keerthanakadiri added the prtype:bugfix PR to fix a bug label Oct 31, 2025
@mihaimaruseac
mihaimaruseac requested review from cantonios and removed request for mihaimaruseac October 31, 2025 15:07
@Navya1707

Navya1707 commented Nov 3, 2025 •

Copy link
Copy Markdown
Author

Hi @cantonios @gbaned
I’ve submitted this PR to fix the near-singular matrix check on GPU in the tf.linalg.solve code path. The changes include a revised condition-number estimation and updates to ensure consistent behavior across tensor shapes.
Could you please review when you have a moment? I’d especially appreciate your feedback on:
Whether the numerical threshold logic is safe and well justified
Any edge cases I may have missed (e.g., very large or ill-conditioned matrices)
The clarity of the code and comments in the GPU kernel branch
Thanks in advance for your time and insights!

@keerthanakadiri keerthanakadiri added awaiting review Pull request awaiting review and removed awaiting review Pull request awaiting review labels Nov 10, 2025
@Navya1707

Copy link
Copy Markdown
Author

@mihaimaruseac @cantonios @gbaned - Just checking in on the PR for the GPU near-singular matrix fix. Would appreciate your thoughts whenever you get a chance. Thanks!

@keerthanakadiri

Copy link
Copy Markdown
Contributor

Hi @Navya1707, Can you please resolve the conflicts? Thank you!

@Navya1707

Copy link
Copy Markdown
Author

@keerthanakadiri - I'm waiting for a review from @gbaned or @cantonios

@mihaimaruseac

Copy link
Copy Markdown
Contributor

Please resolve conflicts first, as any review in conflicting state would be stale

@github-actions

Copy link
Copy Markdown

This PR is stale because it has been open for 14 days with no activity. It will be closed if no further activity occurs. Thank you.

@github-actions github-actions Bot added the stale This label marks the issue/pr stale - to be closed automatically if no activity label Feb 24, 2026
@github-actions

Copy link
Copy Markdown

This PR was closed because it has been inactive for 14 days since being marked as stale. Please reopen if you'd like to work on this further.

@github-actions github-actions Bot closed this Mar 11, 2026
@github-project-automation github-project-automation Bot moved this from Assigned Reviewer to Closed/Rejected in PR Queue Mar 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp:core issues related to core part of tensorflow prtype:bugfix PR to fix a bug size:M CL Change Size: Medium stale This label marks the issue/pr stale - to be closed automatically if no activity stat:awaiting response Status - Awaiting response from author

Projects

Status: Closed/Rejected

Development

Successfully merging this pull request may close these issues.

tf.linalg.solve behaves inconsistently on GPU for singular matrices depending on shape

4 participants