Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Upgrade to OpenBLAS 0.3.13#39216

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
ViralBShah merged 5 commits intomasterfromcv/openblas-0.3.13
Feb 20, 2021
Merged

Upgrade to OpenBLAS 0.3.13#39216

ViralBShah merged 5 commits intomasterfromcv/openblas-0.3.13
Feb 20, 2021

Conversation

@omus
Copy link
Member

@omusomus commentedJan 12, 2021
edited
Loading

Fixes#39201. RequiresJuliaPackaging/Yggdrasil#2385.

Possibly this PR also should include theneoverse-generic-kernels.patch used with the BinaryBuilder version. (the additional patches are for GCC and don't apply here)

dkarrasch, chriselrod, and pablosanjose reacted with heart emoji
@omusomus added the external dependenciesInvolves LLVM, OpenBLAS, or other linked libraries labelJan 12, 2021
@omus
Copy link
MemberAuthor

I'll mention that the patches here and in the BB version have minor differences but should be functionally identical

@dkarrasch
Copy link
Member

Should closeJuliaLang/LinearAlgebra.jl#754 andJuliaLang/LinearAlgebra.jl#799.

stevengj and ararslan reacted with hooray emoji

@omusomus changed the titleUpgrade to OpenBLAS 0.3.13WIP: Upgrade to OpenBLAS 0.3.13Jan 13, 2021
@omus
Copy link
MemberAuthor

I've successfully ran the Julia test suite locally with OpenBLAS 0.3.13 using dependencies built from source. I just need to get the BinaryBuilder version working.

@omusomus changed the titleWIP: Upgrade to OpenBLAS 0.3.13Upgrade to OpenBLAS 0.3.13Jan 21, 2021
@omus
Copy link
MemberAuthor

Testers seem to have this error (I just spot checked a couple):

precompile                         (1) |        started at 2021-01-21T15:46:04.840julia: /workspace/srcdir/llvm-project/llvm/lib/IR/Value.cpp:460: void llvm::Value::doRAUW(llvm::Value*, llvm::Value::ReplaceMetadataUses): Assertion `New->getType() == getType() && "replaceAllUses of value with new value of different type!"' failed.signal (6): Abortedin expression starting at /buildworker/worker/tester_linux64/build/share/julia/test/precompile.jl:850

@omus
Copy link
MemberAuthor

I had some strange building issues locally that have since disappeared. I'll try a CI re-run as I'm unable to reproduce locally

@omusomus closed thisJan 21, 2021
@omusomus reopened thisJan 21, 2021
@omus
Copy link
MemberAuthor

omus commentedJan 27, 2021
edited
Loading

I've been waiting onJuliaPackaging/Yggdrasil#2431 before investigating these CI issues further.

@pablosanjose
Copy link
Contributor

pablosanjose commentedJan 29, 2021
edited
Loading

There is a fix to aLAPACK-netlib bug for OpenBLAShere. Is there any chance it could be included here as a patch? Or do we need to wait for OpenBLAS 0.3.14 to be released?

@omus
Copy link
MemberAuthor

There is a fix to aLAPACK-netlib bug for OpenBLAShere. Is there any chance it could be included here as a patch? Or do we need to wait for OpenBLAS 0.3.14 to be released?

It's fine to include the patch here.

@omus
Copy link
MemberAuthor

omus commentedJan 29, 2021
edited
Loading

CI error seems to be the same as:#27055. Unfortunately I can't trigger the issue locally by changing the optimization level

@pablosanjose
Copy link
Contributor

pablosanjose commentedJan 30, 2021
edited
Loading

It's fine to include the patch here.

Should I do a PR onto this PR? The patch is quite simple, justthis

EDIT: updated the gist above with a typo correction, as notedhere, after confirming with an OpenBLAS maintainer.

@omus
Copy link
MemberAuthor

omus commentedFeb 1, 2021

Just providing the patch is good enough. I can incorporate the patch here but I may start with it disabled until I sort out the CI issue.

@pablosanjose
Copy link
Contributor

Many thanks! The issue addressed by the patch is making my life complicated, given that it produces convergence errors that are difficult to predict and are platform-dependent. I really appreciate this!

@omus
Copy link
MemberAuthor

omus commentedFeb 1, 2021

Disabling the test that seems to cause the failure on CI just to see if that's the only issue

@omus
Copy link
MemberAuthor

omus commentedFeb 1, 2021

The patch is quite simple, justthis

The patch you provided appears to be corrupt. I've regenerated thepatch. If you could make sure it still is correct that would be great

@pablosanjose
Copy link
Contributor

pablosanjose commentedFeb 1, 2021
edited
Loading

Uh, apologies, I actually tried to adapt the full patch atReference-LAPACK/lapack#477 into an OpenBLAS patch (the relevant files are identical), but I guess that's not how this is done (I've never done this before, sorry). Unfortunately, the OpenBLAS PROpenMathLib/OpenBLAS#3091 you took the patch from was merged before the full fix was made upstream inReference-LAPACK/lapack#477, so that patch you posted is actually incomplete... Is there a way to adaptReference-LAPACK/lapack#477 into an OpenBLAS patch?

EDIT: If that is not actually possible, I would just use the patch you've generated, as I think it is enough to solve the core of the convergence problem

@pablosanjose
Copy link
Contributor

My confusion above was due to the fact that the original fix inReference-LAPACK/lapack#477 has been ported to OpenBLAS in two parts,OpenMathLib/OpenBLAS#3087 andOpenMathLib/OpenBLAS#3091. When you corrected my corrupted patch I believe you made a patch with only the latter PR, but not the former. I'm pretty sure they are both necessary. The question is how to do a single patch that applies two PRs. I'm afraid I don't know how to do that, but perhaps you do?

@pablosanjose
Copy link
Contributor

pablosanjose commentedFeb 11, 2021
edited
Loading

Is it clear what is the cause of the CI failure here?

[The failure ([1] pipeline_error @ ./process.jl:525 [inlined]) reminds me ofthis issue, if that's any help]

Bumping to support xcode/clang 12 which was addressed in OpenBLAS 0.3.11
@omus
Copy link
MemberAuthor

Patch should now includeOpenMathLib/OpenBLAS#3087 andOpenMathLib/OpenBLAS#3091.

pablosanjose reacted with heart emoji

@omus
Copy link
MemberAuthor

After applying the revised patch and rebasing I am unable to reproduce the doctest failure or the issue with opaque closures locally.

@omus
Copy link
MemberAuthor

omus commentedFeb 14, 2021
edited
Loading

Looks like the opaque closure failures were fixed somewhere else. I've managed to reproduce the docstrings failures in a Linux environment but oddly they don't fail on macOS

@omus
Copy link
MemberAuthor

Probably should have removed the WIP from the commit message. What's our feeling on changing it?

@ViralBShah
Copy link
Member

I was mostly looking at the diff and not the commit message. I'm not sure if things can be(?) changed on master - but there are a few other wip commit messages in the log. I'll leave it to the git specialists to decide.

I am removing the WIP from the PR title though.

@ViralBShahViralBShah changed the titleWIP: Upgrade to OpenBLAS 0.3.13Upgrade to OpenBLAS 0.3.13Feb 21, 2021
sthagen added a commit to sthagen/JuliaLang-julia that referenced this pull requestFeb 21, 2021
@KristofferCKristofferC added the backport 1.6Change should be backported to release-1.6 labelMar 22, 2021
KristofferC pushed a commit that referenced this pull requestMar 23, 2021
* Use OpenBLAS 0.3.13Bumping to support xcode/clang 12 which was addressed in OpenBLAS 0.3.11* Use OpenBLAS 0.3.13+1* Add openblas-exshift patch for src build* Update LinearAlgebra doctests for Linux* non-ambiguous ordering in eigen and eigvals test (#39767)add missing sortby'sCo-authored-by: Pablo San-Jose <lekand@gmail.com>(cherry picked from commit3129a5b)
@KristofferCKristofferC mentioned this pull requestMar 23, 2021
10 tasks
KristofferC pushed a commit that referenced this pull requestMar 26, 2021
* Use OpenBLAS 0.3.13Bumping to support xcode/clang 12 which was addressed in OpenBLAS 0.3.11* Use OpenBLAS 0.3.13+1* Add openblas-exshift patch for src build* Update LinearAlgebra doctests for Linux* non-ambiguous ordering in eigen and eigvals test (#39767)add missing sortby'sCo-authored-by: Pablo San-Jose <lekand@gmail.com>(cherry picked from commit3129a5b)
@KristofferCKristofferC mentioned this pull requestMar 26, 2021
33 tasks
@KristofferC
Copy link
Member

Based onJuliaLang/LinearAlgebra.jl#833 I will take off the backport label here. It can be put back until it is resolved.

@KristofferCKristofferC removed the backport 1.6Change should be backported to release-1.6 labelApr 4, 2021
@ViralBShahViralBShah added the backport 1.6Change should be backported to release-1.6 labelApr 4, 2021
@ViralBShah
Copy link
Member

ViralBShah commentedApr 4, 2021
edited
Loading

Fixed through new binaries inJuliaPackaging/Yggdrasil#2769. But also needs#40343 to go with it.

KristofferC pushed a commit that referenced this pull requestApr 6, 2021
* Use OpenBLAS 0.3.13Bumping to support xcode/clang 12 which was addressed in OpenBLAS 0.3.11* Use OpenBLAS 0.3.13+1* Add openblas-exshift patch for src build* Update LinearAlgebra doctests for Linux* non-ambiguous ordering in eigen and eigvals test (#39767)add missing sortby'sCo-authored-by: Pablo San-Jose <lekand@gmail.com>(cherry picked from commit3129a5b)
@KristofferCKristofferC removed the backport 1.6Change should be backported to release-1.6 labelApr 6, 2021
@KristofferC
Copy link
Member

KristofferC commentedApr 6, 2021
edited
Loading

JuliaLang/LinearAlgebra.jl#834 (removing backport label again)

@ViralBShah
Copy link
Member

Wow I can't imagine what is causing that.

@KristofferC
Copy link
Member

Me neither, it was discussed a bit in the #binarybuilder channel in Slack but nothing concrete came out of it.

@omus
Copy link
MemberAuthor

omus commentedApr 8, 2021

JuliaLang/LinearAlgebra.jl#834 has been addressed (details:JuliaLang/LinearAlgebra.jl#834). Should the backport label be added again?

@ViralBShah
Copy link
Member

ViralBShah commentedApr 8, 2021
edited
Loading

Given that 1.7 is not too far away (timed releases going forward), and we've found various openblas related issues, it might be best not to backport.

omus reacted with thumbs up emoji

ElOceanografo pushed a commit to ElOceanografo/julia that referenced this pull requestMay 4, 2021
* Use OpenBLAS 0.3.13Bumping to support xcode/clang 12 which was addressed in OpenBLAS 0.3.11* Use OpenBLAS 0.3.13+1* Add openblas-exshift patch for src build* Update LinearAlgebra doctests for Linux* non-ambiguous ordering in eigen and eigvals test (JuliaLang#39767)add missing sortby'sCo-authored-by: Pablo San-Jose <lekand@gmail.com>
antoine-levitt pushed a commit to antoine-levitt/julia that referenced this pull requestMay 9, 2021
* Use OpenBLAS 0.3.13Bumping to support xcode/clang 12 which was addressed in OpenBLAS 0.3.11* Use OpenBLAS 0.3.13+1* Add openblas-exshift patch for src build* Update LinearAlgebra doctests for Linux* non-ambiguous ordering in eigen and eigvals test (JuliaLang#39767)add missing sortby'sCo-authored-by: Pablo San-Jose <lekand@gmail.com>
@vchuravyvchuravy added the backport 1.6Change should be backported to release-1.6 labelJan 12, 2022
@vchuravy
Copy link
Member

We should backport the fix to the LTSJuliaLang/LinearAlgebra.jl#838

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

backport 1.6Change should be backported to release-1.6external dependenciesInvolves LLVM, OpenBLAS, or other linked librarieslinear algebraLinear algebra

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

OpenBLAS 0.3.10 fails to compile from source with Xcode 12

9 participants

@omus@dkarrasch@pablosanjose@staticfloat@chriselrod@ViralBShah@KristofferC@vchuravy

[8]ページ先頭

©2009-2025 Movatter.jp