Commit History
27 days ago
-
Merge pull request #33 from Eddy3D-Dev/dependabot/uv/dnspython-2.9.0 Running
Patrick KastnerUnverified signaturechore(deps): bump dnspython from 2.8.0 to 2.9.04d5414e -
chore(deps): bump dnspython from 2.8.0 to 2.9.0
dependabot[bot]Unverified signatureBumps [dnspython](https://github.com/rthalley/dnspython) from 2.8.0 to 2.9.0. - [Release notes](https://github.com/rthalley/dnspython/releases) - [Changelog](https://github.com/rthalley/dnspython/blob/main/doc/whatsnew.rst) - [Commits](https://github.com/rthalley/dnspython/compare/v2.8.0...v2.9.0) --- updated-dependencies: - dependency-name: dnspython dependency-version: 2.9.0 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>f45a9b5
-
Merge pull request #30 from Eddy3D-Dev/dependabot/uv/anyio-4.14.2
Patrick KastnerUnverified signaturechore(deps): bump anyio from 4.12.1 to 4.14.24b901ff -
Merge pull request #31 from Eddy3D-Dev/dependabot/uv/urllib3-2.8.0
Patrick KastnerUnverified signaturechore(deps): bump urllib3 from 2.7.0 to 2.8.04868bca
-
chore(deps): bump urllib3 from 2.7.0 to 2.8.0
dependabot[bot]Unverified signatureBumps [urllib3](https://github.com/urllib3/urllib3) from 2.7.0 to 2.8.0. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](https://github.com/urllib3/urllib3/compare/2.7.0...2.8.0) --- updated-dependencies: - dependency-name: urllib3 dependency-version: 2.8.0 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>606e2f5
-
chore(deps): bump anyio from 4.12.1 to 4.14.2
dependabot[bot]Unverified signatureBumps [anyio](https://github.com/agronholm/anyio) from 4.12.1 to 4.14.2. - [Release notes](https://github.com/agronholm/anyio/releases) - [Commits](https://github.com/agronholm/anyio/compare/4.12.1...4.14.2) --- updated-dependencies: - dependency-name: anyio dependency-version: 4.14.2 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>6954af5
-
Update download_model.py
Verified signature0d7e190 -
Update download_model.py
Verified signature7825639
-
Merge pull request #29 from Eddy3D-Dev/dependabot/uv/python-multipart-0.0.31
Patrick KastnerUnverified signaturechore(deps): bump python-multipart from 0.0.27 to 0.0.31ca73a66
-
chore(deps): bump python-multipart from 0.0.27 to 0.0.31
dependabot[bot]Unverified signatureBumps [python-multipart](https://github.com/Kludex/python-multipart) from 0.0.27 to 0.0.31. - [Release notes](https://github.com/Kludex/python-multipart/releases) - [Changelog](https://github.com/Kludex/python-multipart/blob/main/CHANGELOG.md) - [Commits](https://github.com/Kludex/python-multipart/compare/0.0.27...0.0.31) --- updated-dependencies: - dependency-name: python-multipart dependency-version: 0.0.31 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>f330657
-
Merge pull request #26 from Eddy3D-Dev/dependabot/uv/python-multipart-0.0.27
Patrick KastnerUnverified signaturechore(deps): bump python-multipart from 0.0.26 to 0.0.27f4d0d6a -
Merge pull request #27 from Eddy3D-Dev/dependabot/uv/urllib3-2.7.0
Patrick KastnerUnverified signaturechore(deps): bump urllib3 from 2.6.3 to 2.7.0587b407 -
Merge pull request #28 from Eddy3D-Dev/dependabot/uv/idna-3.15
Patrick KastnerUnverified signaturechore(deps): bump idna from 3.11 to 3.15d1a589e
-
chore(deps): bump idna from 3.11 to 3.15
dependabot[bot]Unverified signatureBumps [idna](https://github.com/kjd/idna) from 3.11 to 3.15. - [Release notes](https://github.com/kjd/idna/releases) - [Changelog](https://github.com/kjd/idna/blob/master/HISTORY.md) - [Commits](https://github.com/kjd/idna/compare/v3.11...v3.15) --- updated-dependencies: - dependency-name: idna dependency-version: '3.15' dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>ee23a6d
-
chore(deps): bump urllib3 from 2.6.3 to 2.7.0
dependabot[bot]Unverified signatureBumps [urllib3](https://github.com/urllib3/urllib3) from 2.6.3 to 2.7.0. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](https://github.com/urllib3/urllib3/compare/2.6.3...2.7.0) --- updated-dependencies: - dependency-name: urllib3 dependency-version: 2.7.0 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>5a67825
-
chore(deps): bump python-multipart from 0.0.26 to 0.0.27
dependabot[bot]Unverified signatureBumps [python-multipart](https://github.com/Kludex/python-multipart) from 0.0.26 to 0.0.27. - [Release notes](https://github.com/Kludex/python-multipart/releases) - [Changelog](https://github.com/Kludex/python-multipart/blob/main/CHANGELOG.md) - [Commits](https://github.com/Kludex/python-multipart/compare/0.0.26...0.0.27) --- updated-dependencies: - dependency-name: python-multipart dependency-version: 0.0.27 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>e087ee7
-
Merge pull request #24 from Eddy3D-Dev/dependabot/uv/python-multipart-0.0.26
Patrick KastnerUnverified signaturechore(deps): bump python-multipart from 0.0.22 to 0.0.266e854cd -
Merge pull request #25 from Eddy3D-Dev/dependabot/uv/python-dotenv-1.2.2
Patrick KastnerUnverified signaturechore(deps): bump python-dotenv from 1.2.1 to 1.2.2a6a94ce -
chore(deps): bump python-multipart from 0.0.22 to 0.0.26
dependabot[bot]Unverified signatureBumps [python-multipart](https://github.com/Kludex/python-multipart) from 0.0.22 to 0.0.26. - [Release notes](https://github.com/Kludex/python-multipart/releases) - [Changelog](https://github.com/Kludex/python-multipart/blob/master/CHANGELOG.md) - [Commits](https://github.com/Kludex/python-multipart/compare/0.0.22...0.0.26) --- updated-dependencies: - dependency-name: python-multipart dependency-version: 0.0.26 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>849464d -
Use wind-only GAN inference endpoint
Patrick Kastner5a19a64 -
Fix GAN wind speed gzip payload
Patrick Kastner5ad0699
-
chore(deps): bump python-dotenv from 1.2.1 to 1.2.2
dependabot[bot]Unverified signatureBumps [python-dotenv](https://github.com/theskumar/python-dotenv) from 1.2.1 to 1.2.2. - [Release notes](https://github.com/theskumar/python-dotenv/releases) - [Changelog](https://github.com/theskumar/python-dotenv/blob/main/CHANGELOG.md) - [Commits](https://github.com/theskumar/python-dotenv/compare/v1.2.1...v1.2.2) --- updated-dependencies: - dependency-name: python-dotenv dependency-version: 1.2.2 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>341be2a
-
Merge pull request #21 from Eddy3D-Dev/dependabot/uv/requests-2.33.0
Patrick KastnerUnverified signaturechore(deps): bump requests from 2.32.5 to 2.33.0b1dbf86 -
Merge pull request #22 from Eddy3D-Dev/dependabot/uv/pygments-2.20.0
Patrick KastnerUnverified signaturechore(deps): bump pygments from 2.19.2 to 2.20.02803e29
-
chore(deps): bump pygments from 2.19.2 to 2.20.0
dependabot[bot]Unverified signatureBumps [pygments](https://github.com/pygments/pygments) from 2.19.2 to 2.20.0. - [Release notes](https://github.com/pygments/pygments/releases) - [Changelog](https://github.com/pygments/pygments/blob/master/CHANGES) - [Commits](https://github.com/pygments/pygments/compare/2.19.2...2.20.0) --- updated-dependencies: - dependency-name: pygments dependency-version: 2.20.0 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>6bbf3a9
-
chore(deps): bump requests from 2.32.5 to 2.33.0
dependabot[bot]Unverified signatureBumps [requests](https://github.com/psf/requests) from 2.32.5 to 2.33.0. - [Release notes](https://github.com/psf/requests/releases) - [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md) - [Commits](https://github.com/psf/requests/compare/v2.32.5...v2.33.0) --- updated-dependencies: - dependency-name: requests dependency-version: 2.33.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>64b3e43
-
Merge pull request #16 from Eddy3D-Dev/bolt-performance-improvement-fma-numpy-7921326008298019622
Patrick KastnerUnverified signature⚡ Bolt: [performance improvement] Optimize math normalization in ONNX inference outputb75d200 -
⚡ Bolt: [performance improvement] Optimize math normalization in ONNX inference output
google-labs-jules[bot] +1: kastnerp💡 What: Changed the in-place NumPy normalization sequence from `(raw + 1.0) * 127.5` to `(raw * 127.5) + 127.5`. 🎯 Why: Evaluating the sequence with multiplication followed by addition avoids calculating intermediate floating point additions on unscaled arrays, potentially executing via Fused Multiply-Add (FMA) depending on NumPy distribution. 📊 Impact: Expected ~4-5% latency reduction in the post-processing array transformation step according to microbenchmarks. 🔬 Measurement: Verify by executing API endpoints processing images or testing standard NumPy microbenchmarks. Co-authored-by: kastnerp <1919773+kastnerp@users.noreply.github.com>931073c
-
Merge pull request #15 from Eddy3D-Dev/bolt-parallel-payload-encoding-17637346567941703638
Patrick KastnerUnverified signature⚡ Bolt: [parallel payload encoding]3f77d49 -
⚡ Bolt: Parallelize payload encoding in /predict
google-labs-jules[bot] +1: kastnerpReplaced sequential gzip compression and PNG encoding with concurrent execution using a global ThreadPoolExecutor. This halves the payload preparation latency from ~90ms to ~45ms per request. Co-authored-by: kastnerp <1919773+kastnerp@users.noreply.github.com>069b53d
-
Merge pull request #14 from Eddy3D-Dev/bolt-colormap-matrix-opt-17229212821387937058
Patrick KastnerUnverified signature⚡ Bolt: [performance improvement] Optimize Colormap Generation Matrix Math7c98377 -
perf: optimize colormap matrix mult
google-labs-jules[bot] +1: kastnerpFactor out partial matrix multiplications from the inner colormap generation loop. The G and B channels are constant relative to the outer R loop, saving redundant computations. Co-authored-by: kastnerp <1919773+kastnerp@users.noreply.github.com>1dbbcdd
-
Merge pull request #13 from Eddy3D-Dev/bolt-optimize-inference-memory-8246253676241586361
Patrick KastnerUnverified signature⚡ Bolt: [performance improvement] Optimize inference memory conversions and payload compression8b92c23 -
Optimized inference memory conversions and API bytes manipulation.
google-labs-jules[bot] +1: kastnerp- Swapped `np.add` and `np.multiply` inside `_run_inference_from_array` to an equivalent but faster combination without extra math steps. - Swapped `astype` and `transpose` order to produce C-contiguous layouts immediately on type cast. - Passed `memoryview(wind_speeds_arr)` to `gzip.compress` instead of allocating a `wind_speeds_arr.tobytes()` string in the API response logic. - Allocated a flat 1D `<u4` struct in `_color_to_windspeed` bypassing `np.zeros` using `np.empty` overlaid view. Co-authored-by: kastnerp <1919773+kastnerp@users.noreply.github.com>b4316dc
-
Merge pull request #12 from Eddy3D-Dev/perf-colormap-lut-startup-13694817526022920845
Patrick KastnerUnverified signature⚡ Bolt: [performance improvement] parallelize colormap lut initializationda6c0e0 -
⚡ Bolt: [performance improvement] parallelize colormap lut initialization
google-labs-jules[bot] +1: kastnerpParallelize `_build_colormap_lut_1d` initialization using ThreadPoolExecutor. Co-authored-by: kastnerp <1919773+kastnerp@users.noreply.github.com>c03a9c2
-
Merge pull request #11 from Eddy3D-Dev/bolt-perf-async-def-and-lut-init-7321735563256430450
Patrick KastnerUnverified signature⚡ Bolt: [performance improvement] prevent async event loop blocking and optimize server startupc623f99 -
⚡ Bolt: [performance improvement] optimize LUT init and prevent async loop blocking
google-labs-jules[bot] +1: kastnerp* Changed `predict` from `async def` to `def` to prevent blocking the async event loop during CPU-heavy operations (gzip, base64, inference). * Optimized `_build_colormap_lut_1d` initialization by using in-place operations (`out=scores` with `np.matmul` and `np.subtract`) and pre-allocated arrays, avoiding multiple multi-megabyte allocations inside the loop. * Added a learning journal entry about `async def` blocking. Co-authored-by: kastnerp <1919773+kastnerp@users.noreply.github.com>6fc7760
-
Merge pull request #10 from Eddy3D-Dev/bolt-in-place-onnx-output-4891877662814159698
Patrick KastnerUnverified signature⚡ Bolt: [performance improvement] In-place ONNX array mutatione5c9f4a -
⚡ Bolt: [performance improvement] In-place ONNX array mutation
kastnerp +1: google-labs-jules[bot]Modifies `_run_inference_from_array` to mutate the ONNX output array directly, saving a float32 array allocation of ~3MB per inference request. Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>47f90e6
-
Merge pull request #9 from Eddy3D-Dev/bolt-performance-improvement-1-1556830431954544929
Patrick KastnerUnverified signature⚡ Bolt: [performance improvement] Optimize API windspeed lookup and inference operations177789b -
⚡ Bolt: Optimize API windspeed lookup and inference operations
kastnerp +1: google-labs-jules[bot]Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>1e748fa -
Merge pull request #8 from Eddy3D-Dev/claude/optimize-inference-performance-09SbO
Patrick KastnerUnverified signatureOptimize colormap lookup with pre-computed 3D LUT8b2fb7a -
Optimize inference: ONNX session opts + pre-computed colormap LUT
ClaudeUnverified signatureTwo key optimizations to reduce per-request latency: 1. ONNX session options: Enable ORT_ENABLE_ALL graph optimization, set thread counts to match free-tier 2 vCPU (intra=2, inter=1), and use sequential execution mode. 2. Replace per-request (262K, 3)x(3, 256) float64 matrix multiply in _color_to_windspeed with a pre-computed (256, 256, 256) uint8 lookup table built once at startup (~10s, 16MB). Runtime colormap lookup drops from ~1-2s to ~12ms per request. Also switches TURBO_COLORMAP from float64 to float32 and simplifies _run_inference_from_array to only return the denormalized uint8 image (raw float output is no longer needed). https://claude.ai/code/session_01GkWSMjDgYPsTc8bpt17izX4f0c4d5
-
Merge pull request #7 from Eddy3D-Dev/bolt-optimize-astype-11350113284348635439
Patrick KastnerUnverified signature⚡ Bolt: [Avoid unnecessary float32 array allocation]6fcd366 -
perf: Avoid unnecessary float32 array allocation during inference
kastnerp +1: google-labs-jules[bot]Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>de6a74c
-
Merge pull request #6 from Eddy3D-Dev/bolt-performance-gzip-7233662022417404229
Patrick KastnerUnverified signature⚡ Bolt: [performance improvement] Speed up gzip and PNG compression for API responsebcc443c -
Optimize gzip and PNG compression levels for API latency
kastnerp +1: google-labs-jules[bot]Set `compresslevel=1` for gzip payloads and `compress_level=1` for PNG outputs to prioritize low API response latency over marginal compression gains. Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>df8e4a6
-
Merge pull request #5 from Eddy3D-Dev/bolt-numpy-list-overhead-231724176492942719
Patrick KastnerUnverified signature⚡ Bolt: [performance improvement] Avoid NumPy to Python list conversion overhead in inference output processinged7c14b -
perf: Avoid NumPy to Python list conversion overhead in inference output processing
kastnerp +1: google-labs-jules[bot]* Avoid expensive `.tolist()` and `np.array()` conversions for the 262k length windspeed array * Cast the NumPy output from `_color_to_windspeed` directly to `float32` * Update `predict` endpoint to accept array output directly * Add learning entry to `.jules/bolt.md` Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>d71013d