Replies: 5 comments 15 replies
-
Hi @yashssh! Welcome to the STUMPY community. So, we don't have an active benchmark per se but our most common workhorse example is the following:
Depending on your your hardware resources, this should take 5-20 seconds to run on modern multithreaded hardware. Let me know if that helps and if you have any further questions. Please feel free to link to your repo if you'd like to discuss it there instead. |
Beta Was this translation helpful? Give feedback.
-
I am checking with I don't think I have |
Beta Was this translation helpful? Give feedback.
-
I am starting to believe this issue is closely related to fast math optimisations. Is there a way to disable fast math optimisation before executing the tests? I can see the config variable |
Beta Was this translation helpful? Give feedback.
-
I am afraid I don't have an answer right now, I don't have very good grasp over the meaning of all the flags. It was just my guess that issue might be due to some of the newer fast math flags, but let me try spend some more time on it. Also, let me add @gmarkall @stuartarchibald here to answer what exactly is the difference between
For now these are solely for my own experiments to get an early feel on how things might look like with the latest LLVM version in Numba. If there are surprises we can raise them with Numba where either I or someone else can pick them up.
I understand your concerns but I am not sure if I agree with STUMPY might be broken sentiment. Numba is right now on LLVM15 and moving to LLVM20 will not only bring performance gains but also bring in all the bug fixes that went into the compiler. On top of that these upgrades are supposed to be incremental with multiple LLVM version supported at once and not in 1 go giving us time to fix any failures. The other thing is LLVM itself describes fast math flags as enabler for "otherwise unsafe floating-point transformations", they aren't guaranteed to produce correct results and a couple of failures in fast math precision tests due to 5 generation worth of upgrades shouldn't be that alarming(not to discredit their importance or imply they should be ignored). |
Beta Was this translation helpful? Give feedback.
-
Rather than 3 more
According to the LLVM fastmath documentation, when |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I'm working on upgrading
Numba
to LLVM20 and right now we are in the middle of upstreaming changes. I want to measure the performance uplifts(if any) after all these LLVM upgrades. Is there a set of benchmarks for stumpy that I can leverage?If not are there some good examples covering major algorithms that I can use to create some micro benchmarks?
Beta Was this translation helpful? Give feedback.
All reactions