diff --git a/_downloads/662999063954282841dc90b8945f85ce/tutorials_jupyter.zip b/_downloads/662999063954282841dc90b8945f85ce/tutorials_jupyter.zip index ab84e4f84..29fe214e9 100644 Binary files a/_downloads/662999063954282841dc90b8945f85ce/tutorials_jupyter.zip and b/_downloads/662999063954282841dc90b8945f85ce/tutorials_jupyter.zip differ diff --git a/_downloads/763344228ae6bc253ed1a6cf586aa30d/tutorials_python.zip b/_downloads/763344228ae6bc253ed1a6cf586aa30d/tutorials_python.zip index 25c4eada3..04394df18 100644 Binary files a/_downloads/763344228ae6bc253ed1a6cf586aa30d/tutorials_python.zip and b/_downloads/763344228ae6bc253ed1a6cf586aa30d/tutorials_python.zip differ diff --git a/_images/sphx_glr_01-vector-add_001.png b/_images/sphx_glr_01-vector-add_001.png index 3a2262108..1f624a15c 100644 Binary files a/_images/sphx_glr_01-vector-add_001.png and b/_images/sphx_glr_01-vector-add_001.png differ diff --git a/_images/sphx_glr_01-vector-add_thumb.png b/_images/sphx_glr_01-vector-add_thumb.png index 2e56f7f8c..c375b921c 100644 Binary files a/_images/sphx_glr_01-vector-add_thumb.png and b/_images/sphx_glr_01-vector-add_thumb.png differ diff --git a/_images/sphx_glr_02-fused-softmax_001.png b/_images/sphx_glr_02-fused-softmax_001.png index 1bbe7fe7f..32d4199d3 100644 Binary files a/_images/sphx_glr_02-fused-softmax_001.png and b/_images/sphx_glr_02-fused-softmax_001.png differ diff --git a/_images/sphx_glr_02-fused-softmax_thumb.png b/_images/sphx_glr_02-fused-softmax_thumb.png index 45daf618b..80cb67cfc 100644 Binary files a/_images/sphx_glr_02-fused-softmax_thumb.png and b/_images/sphx_glr_02-fused-softmax_thumb.png differ diff --git a/_images/sphx_glr_03-matrix-multiplication_001.png b/_images/sphx_glr_03-matrix-multiplication_001.png index 6b5665706..3e89d4e44 100644 Binary files a/_images/sphx_glr_03-matrix-multiplication_001.png and b/_images/sphx_glr_03-matrix-multiplication_001.png differ diff --git a/_images/sphx_glr_03-matrix-multiplication_thumb.png b/_images/sphx_glr_03-matrix-multiplication_thumb.png index e0c0578a4..deb0df9f4 100644 Binary files a/_images/sphx_glr_03-matrix-multiplication_thumb.png and b/_images/sphx_glr_03-matrix-multiplication_thumb.png differ diff --git a/_sources/getting-started/tutorials/01-vector-add.rst.txt b/_sources/getting-started/tutorials/01-vector-add.rst.txt index ee76a43cb..392643f83 100644 --- a/_sources/getting-started/tutorials/01-vector-add.rst.txt +++ b/_sources/getting-started/tutorials/01-vector-add.rst.txt @@ -231,7 +231,7 @@ We can now run the decorated function above. Pass `print_data=True` to see the p vector-add-performance: size Triton Torch - 0 4096.0 9.540372 9.600000 + 0 4096.0 9.600000 9.600000 1 8192.0 19.200000 19.200000 2 16384.0 38.400001 38.400001 3 32768.0 76.800002 76.800002 @@ -254,7 +254,7 @@ We can now run the decorated function above. Pass `print_data=True` to see the p .. rst-class:: sphx-glr-timing - **Total running time of the script:** ( 0 minutes 10.995 seconds) + **Total running time of the script:** ( 0 minutes 10.996 seconds) .. _sphx_glr_download_getting-started_tutorials_01-vector-add.py: diff --git a/_sources/getting-started/tutorials/02-fused-softmax.rst.txt b/_sources/getting-started/tutorials/02-fused-softmax.rst.txt index bd7997e78..1e4681fc2 100644 --- a/_sources/getting-started/tutorials/02-fused-softmax.rst.txt +++ b/_sources/getting-started/tutorials/02-fused-softmax.rst.txt @@ -307,10 +307,10 @@ We will then compare its performance against (1) :code:`torch.softmax` and (2) t 4 768.0 702.171410 664.216187 163.839992 .. ... ... ... ... 93 12160.0 812.359066 406.179533 199.038365 - 94 12288.0 812.429770 415.661740 199.298541 - 95 12416.0 810.840807 412.149375 198.954424 - 96 12544.0 809.290334 412.971190 199.209928 - 97 12672.0 809.389265 412.097543 199.264875 + 94 12288.0 812.429770 416.101597 199.298541 + 95 12416.0 810.840807 412.577363 198.954424 + 96 12544.0 810.925276 412.971190 199.209928 + 97 12672.0 811.007961 412.097543 199.264875 [98 rows x 4 columns] @@ -329,7 +329,7 @@ In the above plot, we can see that: .. rst-class:: sphx-glr-timing - **Total running time of the script:** ( 1 minutes 12.644 seconds) + **Total running time of the script:** ( 1 minutes 12.639 seconds) .. _sphx_glr_download_getting-started_tutorials_02-fused-softmax.py: diff --git a/_sources/getting-started/tutorials/03-matrix-multiplication.rst.txt b/_sources/getting-started/tutorials/03-matrix-multiplication.rst.txt index b517faf14..4f95b423c 100644 --- a/_sources/getting-started/tutorials/03-matrix-multiplication.rst.txt +++ b/_sources/getting-started/tutorials/03-matrix-multiplication.rst.txt @@ -471,37 +471,37 @@ We can now compare the performance of our kernel against that of cuBLAS. Here we matmul-performance: M cuBLAS ... Triton Triton (+ LeakyReLU) 0 128.0 0.512000 ... 0.512000 0.512000 - 1 256.0 2.730667 ... 2.978909 2.978909 - 2 384.0 7.372800 ... 7.899428 7.899428 - 3 512.0 14.563555 ... 15.420235 15.420235 - 4 640.0 22.260869 ... 24.380953 23.272727 + 1 256.0 2.978909 ... 3.276800 2.978909 + 2 384.0 7.372800 ... 8.507077 8.507077 + 3 512.0 14.563555 ... 16.384000 16.384000 + 4 640.0 22.260869 ... 24.380953 24.380953 5 768.0 32.768000 ... 34.028308 34.028308 - 6 896.0 39.025776 ... 39.025776 37.971025 - 7 1024.0 49.932191 ... 52.428801 52.428801 + 6 896.0 39.025776 ... 40.140799 39.025776 + 7 1024.0 49.932191 ... 53.773130 52.428801 8 1152.0 44.566925 ... 46.656000 46.656000 - 9 1280.0 51.200001 ... 56.888887 56.109587 - 10 1408.0 64.138541 ... 64.902096 58.016903 - 11 1536.0 79.526831 ... 76.106321 75.296679 - 12 1664.0 62.929456 ... 62.492442 62.492442 - 13 1792.0 72.983276 ... 69.810085 69.810085 - 14 1920.0 66.782607 ... 69.467336 69.120002 - 15 2048.0 73.262953 ... 74.898285 74.565406 - 16 2176.0 82.473969 ... 80.173899 77.398646 - 17 2304.0 68.446623 ... 73.501144 73.501144 - 18 2432.0 71.305746 ... 81.908060 81.908060 - 19 2560.0 77.649287 ... 76.740048 75.328737 - 20 2688.0 83.552988 ... 82.823267 81.928846 - 21 2816.0 84.035084 ... 78.021838 79.733474 - 22 2944.0 81.431424 ... 79.230573 77.990663 - 23 3072.0 82.420822 ... 83.146995 80.774758 - 24 3200.0 84.321474 ... 86.137280 90.140846 - 25 3328.0 83.226931 ... 81.438120 86.946008 - 26 3456.0 81.932484 ... 81.189898 85.133652 - 27 3584.0 88.238857 ... 87.979837 89.468054 - 28 3712.0 85.455380 ... 82.084920 86.044224 - 29 3840.0 83.591840 ... 84.809814 85.333335 - 30 3968.0 90.859224 ... 86.911637 86.296981 - 31 4096.0 92.309303 ... 90.504200 90.382307 + 9 1280.0 51.200001 ... 56.888887 56.888887 + 10 1408.0 64.138541 ... 64.902096 64.902096 + 11 1536.0 80.430545 ... 76.933564 76.106321 + 12 1664.0 63.372618 ... 62.492442 62.492442 + 13 1792.0 72.983276 ... 70.246402 69.810085 + 14 1920.0 69.467336 ... 68.098521 70.530615 + 15 2048.0 73.908442 ... 75.234154 68.200062 + 16 2176.0 83.155572 ... 78.916269 78.608000 + 17 2304.0 68.251065 ... 73.051599 73.501144 + 18 2432.0 71.305746 ... 82.630777 82.147552 + 19 2560.0 78.019048 ... 77.283019 77.101175 + 20 2688.0 80.880718 ... 84.861423 81.752274 + 21 2816.0 83.233226 ... 79.298560 76.921000 + 22 2944.0 82.373605 ... 78.605729 77.990663 + 23 3072.0 81.355034 ... 82.782312 82.181572 + 24 3200.0 83.009080 ... 84.880639 90.014065 + 25 3328.0 83.419811 ... 82.369902 84.795401 + 26 3456.0 81.683457 ... 84.954233 82.099354 + 27 3584.0 85.715344 ... 95.249353 94.747514 + 28 3712.0 80.692524 ... 84.159518 89.114488 + 29 3840.0 85.465227 ... 83.214447 84.874902 + 30 3968.0 86.112380 ... 81.080712 82.728089 + 31 4096.0 93.727466 ... 88.709668 88.534120 [32 rows x 5 columns] @@ -511,7 +511,7 @@ We can now compare the performance of our kernel against that of cuBLAS. Here we .. rst-class:: sphx-glr-timing - **Total running time of the script:** ( 2 minutes 17.805 seconds) + **Total running time of the script:** ( 2 minutes 18.530 seconds) .. _sphx_glr_download_getting-started_tutorials_03-matrix-multiplication.py: diff --git a/_sources/getting-started/tutorials/sg_execution_times.rst.txt b/_sources/getting-started/tutorials/sg_execution_times.rst.txt index 5d0991d3b..b132877ec 100644 --- a/_sources/getting-started/tutorials/sg_execution_times.rst.txt +++ b/_sources/getting-started/tutorials/sg_execution_times.rst.txt @@ -5,12 +5,12 @@ Computation times ================= -**03:41.443** total execution time for **getting-started_tutorials** files: +**03:42.165** total execution time for **getting-started_tutorials** files: +---------------------------------------------------------------------------------------------------------+-----------+--------+ -| :ref:`sphx_glr_getting-started_tutorials_03-matrix-multiplication.py` (``03-matrix-multiplication.py``) | 02:17.805 | 0.0 MB | +| :ref:`sphx_glr_getting-started_tutorials_03-matrix-multiplication.py` (``03-matrix-multiplication.py``) | 02:18.530 | 0.0 MB | +---------------------------------------------------------------------------------------------------------+-----------+--------+ -| :ref:`sphx_glr_getting-started_tutorials_02-fused-softmax.py` (``02-fused-softmax.py``) | 01:12.644 | 0.0 MB | +| :ref:`sphx_glr_getting-started_tutorials_02-fused-softmax.py` (``02-fused-softmax.py``) | 01:12.639 | 0.0 MB | +---------------------------------------------------------------------------------------------------------+-----------+--------+ -| :ref:`sphx_glr_getting-started_tutorials_01-vector-add.py` (``01-vector-add.py``) | 00:10.995 | 0.0 MB | +| :ref:`sphx_glr_getting-started_tutorials_01-vector-add.py` (``01-vector-add.py``) | 00:10.996 | 0.0 MB | +---------------------------------------------------------------------------------------------------------+-----------+--------+ diff --git a/getting-started/tutorials/01-vector-add.html b/getting-started/tutorials/01-vector-add.html index 0197a81e6..4dd72eb86 100644 --- a/getting-started/tutorials/01-vector-add.html +++ b/getting-started/tutorials/01-vector-add.html @@ -319,7 +319,7 @@ for different problem sizes.

Out:

vector-add-performance:
            size      Triton       Torch
-0        4096.0    9.540372    9.600000
+0        4096.0    9.600000    9.600000
 1        8192.0   19.200000   19.200000
 2       16384.0   38.400001   38.400001
 3       32768.0   76.800002   76.800002
@@ -337,7 +337,7 @@ for different problem sizes.

15 134217728.0 851.577704 850.656574
-

Total running time of the script: ( 0 minutes 10.995 seconds)

+

Total running time of the script: ( 0 minutes 10.996 seconds)