Giter Club home page Giter Club logo

Comments (10)

wsmoses avatar wsmoses commented on June 26, 2024 1

Yeah that post sparse todense is the one I remember working with you on during benchmarking, so that looks right.

from enzyme.

alecjacobson avatar alecjacobson commented on June 26, 2024

And if it's changed to N then it seems the i*3+4 etc. need a %(N*3) to wrap around the circle of springs.

from enzyme.

wsmoses avatar wsmoses commented on June 26, 2024

from enzyme.

wsmoses avatar wsmoses commented on June 26, 2024

I'm not sure about the % . I need to double check what this test is validating for, but the wrap around in the actual benchmarks is done via the todense to create the actual double pointers (and accessing them will implicitly wrap around)

from enzyme.

wsmoses avatar wsmoses commented on June 26, 2024

from enzyme.

alecjacobson avatar alecjacobson commented on June 26, 2024

Thanks. @martinjm97 do you mind adding me as a collaborator on that repo so I can copy the benchmark for our comparison?

from enzyme.

martinjm97 avatar martinjm97 commented on June 26, 2024

Sorry, I just saw this. I've added you to the repo.

from enzyme.

martinjm97 avatar martinjm97 commented on June 26, 2024

The benchmarking script is here:

https://github.com/dromaiidae/sparse_deriv/blob/siggraph_benchmarking/benchmark/SiggraphPerformance/ring_spring_rest_length_one_timing.py

The code that we run is in the test is here:
https://github.com/dromaiidae/sparse_deriv/blob/dc973f23d672232089c30efe9bccabf48ebab765/benchmark/SiggraphPerformance/ring_spring_rest_length_one_timing.py#L56

from enzyme.

wsmoses avatar wsmoses commented on June 26, 2024

I don't think I have access to that repo, @deomaiidae if you can add me

from enzyme.

martinjm97 avatar martinjm97 commented on June 26, 2024

@alecjacobson the code has a bug as you pointed out. Moreover, the benchmarking script calls the file at this location. However, when I ran the benchmarking script, I ran a version of the code that fixed this bug (and also printed out how much time the benchmark took to run). I've made a PR of the code I ran: #1889.

from enzyme.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.