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

AutoGrad slower in Julia5 compared to Julia4 #17

Closed
denizyuret opened this issue May 18, 2017 · 2 comments
Closed

AutoGrad slower in Julia5 compared to Julia4 #17

denizyuret opened this issue May 18, 2017 · 2 comments

Comments

@denizyuret
Copy link
Owner

Following is an example from Knet test scripts. Julia4 is >2x faster both in the first run and in the second run of testall(). Anybody with more insight into Julia have any idea why?

using AutoGrad

function testall()
    for f in (sum, prod, maximum, minimum, sumabs, sumabs2)
        g = grad(f)
        for t in (Float32, Float64)
            for n in (1,(1,1),2,(2,1),(1,2),(2,2))
                d = g(rand(t,n))
            end
        end
    end
end

@time testall()
@time testall()
@CarloLucibello
Copy link
Collaborator

can we close this as no relevant anymore?

@denizyuret
Copy link
Owner Author

denizyuret commented Aug 16, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants