Intelligent Lattice Search: Efficiency in Option Pricing using Python, C++, Cython and Numba

  Рет қаралды 230

Brian Byrne

Brian Byrne

Күн бұрын

Пікірлер: 4
@ranjithramachandran8009
@ranjithramachandran8009 2 ай бұрын
Very informative. I was wondering if it is possible to further enhance the execution time for the baseline code using JAX. Can that be implemented ? I do understand that it is ideal for large computations (GPU) and may not perform well (can become slow) in comparison to Numpy. JAX with lax.scan for iterative computations like option pricing. However it is questionable if JAX can beat the Numba execution time.
@BrianByrneFinance
@BrianByrneFinance 2 ай бұрын
Hi @ranjithramachandran8009, Thank you for the great suggestion! JAX with lax.scan could be an interesting approach for iterative computations like option pricing, especially with GPU acceleration. As you noted, JAX may not always outperform Numba on CPU-bound tasks, but it’s worth testing. I’ll consider exploring this comparison in a future video-thanks again for your thoughtful input! best, Brian
@laurentbouchard1448
@laurentbouchard1448 20 күн бұрын
Numba can be set up to use GPUs; you get the speedup benefits if you have to value lots of contracts is my understanding. I'v been running this code with the Intel SVML/fastmath=true Numba parameters and the speed is ridiculously fast. It really is amazing.
@BrianByrneFinance
@BrianByrneFinance 20 күн бұрын
@@laurentbouchard1448 Dear Laurent, Do you have a colab link to that? If so could you share? best, Brian
How to use Cython to speed up Python
7:56
InfoWorld
Рет қаралды 9 М.
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
Numba Explained in 30 Minutes - The Python and Numpy Compiler
30:29
Creating Your Own Programming Language - Computerphile
21:15
Computerphile
Рет қаралды 224 М.
Make Python code 1000x Faster with Numba
20:33
Jack of Some
Рет қаралды 449 М.
Refactoring Object-Oriented to AWESOME Functional Code
22:59
ArjanCodes
Рет қаралды 52 М.
you need to stop using print debugging (do THIS instead)
7:07
Low Level
Рет қаралды 465 М.
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН