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

Weird Float16 behavior on sapphirerapids (r7i family on EC2) #52243

Closed
rbvermaa opened this issue Nov 20, 2023 · 4 comments
Closed

Weird Float16 behavior on sapphirerapids (r7i family on EC2) #52243

rbvermaa opened this issue Nov 20, 2023 · 4 comments
Labels
bug Indicates an unexpected problem or unintended behavior float16

Comments

@rbvermaa
Copy link
Contributor

rbvermaa commented Nov 20, 2023

On a downloaded binary 1.9.4 release for x86_64-linux of julia we are getting the following weird Float16 behavior:

$ julia-1.9.4/bin/julia

julia> Float16(2.0)
Float16(0.0)

julia> versioninfo()
Julia Version 1.9.4
Commit 8e5136fa297 (2023-11-14 08:46 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 8 × Intel(R) Xeon(R) Platinum 8488C
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-14.0.6 (ORCJIT, sapphirerapids)
  Threads: 1 on 8 virtual cores

We are evaluating the r7i familiy of instances on EC2 and ran into the above.

On 1.10 rc1 it seems to work properly:

$ julia-1.10.0-rc1/bin/julia 
julia> Float16(2.0)
Float16(2.0)
@NHDaly NHDaly added float16 bug Indicates an unexpected problem or unintended behavior labels Nov 20, 2023
@vchuravy
Copy link
Member

Potential duplicate of #51686?

@BioTurboNick
Copy link
Contributor

Yeah that's the same. Though I'm a little confused about what happened to my proposed PR to fix it... I guess it was ignored and then automatically closed when the target branch was deleted?

@vchuravy
Copy link
Member

when the target branch was deleted?

Github does that sometimes.

@rbvermaa
Copy link
Contributor Author

Oops, sorry for the duplicate issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or unintended behavior float16
Projects
None yet
Development

No branches or pull requests

4 participants