|
54 | 54 | },
|
55 | 55 | {
|
56 | 56 | "cell_type": "code",
|
57 |
| - "execution_count": null, |
| 57 | + "execution_count": 2, |
58 | 58 | "id": "0a82fac8-f6c1-454b-bbf5-2a9274612c1b",
|
59 | 59 | "metadata": {},
|
60 | 60 | "outputs": [
|
|
65 | 65 | "/home/femtomc/.cache/pypoetry/virtualenvs/programmable-vi-pldi-2024-wktT2A4B-py3.10/lib/python3.10/site-packages/tqdm/auto.py:21: TqdmWarning: IProgress not found. Please update jupyter and ipywidgets. See https://ipywidgets.readthedocs.io/en/stable/user_install.html\n",
|
66 | 66 | " from .autonotebook import tqdm as notebook_tqdm\n"
|
67 | 67 | ]
|
| 68 | + }, |
| 69 | + { |
| 70 | + "name": "stdout", |
| 71 | + "output_type": "stream", |
| 72 | + "text": [ |
| 73 | + "GenJAX VI timings:\n", |
| 74 | + "Batch sizes: [64, 128, 256, 512, 1024]\n", |
| 75 | + "(array([ 3.2510662, 5.572334 , 10.231137 , 17.31219 , 31.963547 ],\n", |
| 76 | + " dtype=float32), array([0.21272574, 2.0414262 , 2.1288395 , 1.691629 , 5.045877 ],\n", |
| 77 | + " dtype=float32))\n", |
| 78 | + "Handcoded timings:\n", |
| 79 | + "Batch sizes: [64, 128, 256, 512, 1024]\n", |
| 80 | + "(array([ 3.345306 , 5.3966055, 9.804233 , 15.3170595, 31.775038 ],\n", |
| 81 | + " dtype=float32), array([0.06193171, 0.04953469, 2.064177 , 4.5305977 , 6.054197 ],\n", |
| 82 | + " dtype=float32))\n" |
| 83 | + ] |
68 | 84 | }
|
69 | 85 | ],
|
70 | 86 | "source": [
|
|
100 | 116 | "execution_count": null,
|
101 | 117 | "id": "27525362-6d68-4d8a-841a-ec0c3011e756",
|
102 | 118 | "metadata": {},
|
103 |
| - "outputs": [], |
| 119 | + "outputs": [ |
| 120 | + { |
| 121 | + "name": "stdout", |
| 122 | + "output_type": "stream", |
| 123 | + "text": [ |
| 124 | + "\u001b[1mpoetry run pytest experiments/table_2_benchmark_timings --benchmark-disable-gc\u001b[0m\n", |
| 125 | + "\u001b[1m============================= test session starts ==============================\u001b[0m\n", |
| 126 | + "platform linux -- Python 3.10.13, pytest-8.0.2, pluggy-1.4.0\n", |
| 127 | + "benchmark: 4.0.0 (defaults: timer=time.perf_counter disable_gc=True min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000)\n", |
| 128 | + "rootdir: /home/femtomc/programmable-vi-pldi-2024\n", |
| 129 | + "plugins: jaxtyping-0.2.28, benchmark-4.0.0, anyio-4.3.0, typeguard-2.13.3\n", |
| 130 | + "collected 6 items \u001b[0m\u001b[1m\u001b[1m\u001b[1m\n", |
| 131 | + "\n", |
| 132 | + "experiments/table_2_benchmark_timings/test_genjax_enum_air_benchmark.py " |
| 133 | + ] |
| 134 | + } |
| 135 | + ], |
104 | 136 | "source": [
|
105 | 137 | "! just table_2"
|
106 | 138 | ]
|
|
0 commit comments