We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I notice the use of @nospecialize slows down the first time inference when using IRTools functions (e.g Pipe, update!) a lot, not sure why
@nospecialize
Pipe
update!
# without nospecialize 6.351286 seconds (10.75 M allocations: 572.988 MiB, 5.41% gc time) # with nospecialize 7.406211 seconds (14.54 M allocations: 773.888 MiB, 5.02% gc time)
I suspect this is also causing other things (like Zygote) to be extremely slow for the first run.
The text was updated successfully, but these errors were encountered:
You could reproduce this via this branch: QuantumBFS/YaoLang.jl#25
using
julia --project precompile.jl
in the project folder
Sorry, something went wrong.
No branches or pull requests
I notice the use of
@nospecialize
slows down the first time inference when using IRTools functions (e.gPipe
,update!
) a lot, not sure whyI suspect this is also causing other things (like Zygote) to be extremely slow for the first run.
The text was updated successfully, but these errors were encountered: