Skip to content

Conversation

@dkarrasch
Copy link
Member

@dkarrasch dkarrasch commented Aug 10, 2025

[x] #1365
[x] #1373
[x] #1385
[x] #1397
[x] #1402
[x] #1413
[x] #1417
[x] #1418

With the release of Julia 1.12, LinearAlgebra.jl is adding dispatches for rank to SVD and QRPivoted objects, allowing the re-use of existing matrix factorizations where they have already been computed. The SVD method already has an appropriate docstring; this PR adds a near-identical one to the QRPivoted method as well, with some additional context for how it differs from the default SVD-based computation.
@dkarrasch dkarrasch force-pushed the backports-release-1.12 branch from a53d7d4 to 9941132 Compare August 11, 2025 12:27
@codecov
Copy link

codecov bot commented Aug 13, 2025

Codecov Report

❌ Patch coverage is 86.36364% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 93.55%. Comparing base (8f753a7) to head (e4eeff1).
⚠️ Report is 14 commits behind head on release-1.12.

Files with missing lines Patch % Lines
src/adjtrans.jl 75.00% 2 Missing ⚠️
src/triangular.jl 75.00% 1 Missing ⚠️
Additional details and impacted files
@@               Coverage Diff                @@
##           release-1.12    #1411      +/-   ##
================================================
+ Coverage         93.17%   93.55%   +0.37%     
================================================
  Files                34       34              
  Lines             15883    15452     -431     
================================================
- Hits              14799    14456     -343     
+ Misses             1084      996      -88     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ViralBShah
Copy link
Member

@dkarrasch @jishnub I marked a few PRs for backporting to 1.12 and one for backport to LTS. I have been a bit aggressive about these. Could you take a look and see if you agree? If not, do feel free to remove the label.

I am thinking we should get the backports onto the julia repo (whichever ones we want) by end of the week.

After this,
```julia
julia> B = reshape([1:9;], 3, 3)
3×3 Matrix{Int64}:
 1  4  7
 2  5  8
 3  6  9

julia> diagview(B', 1)
2-element view(::Vector{Int64}, 2:4:6) with eltype Int64:
 2
 6
```
The view directly indexes into the parent, and the `adjoint` layer is
removed. This also makes the view linearly indexed.
We may forward the operation to the parent, which would usually ensure
that the loops are cache-friendly.
@ViralBShah
Copy link
Member

The pinv stuff is failing: https://buildkite.com/julialang/linearalgebra-dot-jl/builds/958/steps/table?sid=0198bd12-2060-47f5-9167-6a16b672af3e#0198bd12-20a7-439b-817b-8cef7e3a277d/227-419

Seems like should be a straightforward fix since it is missing some type parameter. Perhaps there is some dependency on other changes on master?

@dkarrasch
Copy link
Member Author

Yes, I messed up the merge.

@ViralBShah
Copy link
Member

Looks good to merge.

@dkarrasch
Copy link
Member Author

Now I'm done. I'll try to squash the svd-related commits together, and merge myself later.

@dkarrasch dkarrasch force-pushed the backports-release-1.12 branch from 49f91e2 to bd88dc9 Compare August 18, 2025 17:38
@dkarrasch
Copy link
Member Author

Whoever is first (in case I get distracted), this is ready to merge after CI is green.

@dkarrasch dkarrasch force-pushed the backports-release-1.12 branch from bd88dc9 to fb7bee4 Compare August 18, 2025 19:35
@ViralBShah
Copy link
Member

ViralBShah commented Aug 18, 2025

@dkarrasch There's a bunch of other files on release-1.12 (.ci, .github, etc.) that are not present on release-1.11. Should those be deleted from the release branch? I believe they would have come through some of the backports.

I changed the CI for all the release and backport branches to mirror the Julia version they are meant for to be more accurate.

Unfortunately I believe I have changed the .github/workflows/ci.yml files, but that may not be sufficient and the .buildkite files may also need updating. I have updated this PR to change buildkite to pull 1.12.

@ViralBShah ViralBShah merged commit ad868c7 into release-1.12 Aug 19, 2025
3 of 4 checks passed
@ViralBShah ViralBShah deleted the backports-release-1.12 branch August 19, 2025 04:54
@ViralBShah ViralBShah restored the backports-release-1.12 branch August 19, 2025 17:16
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.

7 participants