Skip to content

chore(deps): Update dependency openai to >=3.22.1 - #1728

Merged
lusoris merged 2 commits into
masterfrom
renovate/openai-3.x
Oct 1, 2026
Merged

lusoris merged 2 commits into
masterfrom
renovate/openai-3.x

Conversation

@renovate

@renovate renovate Bot commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
openai >=3.20.0 → >=3.22.1 age confidence

Release Notes

openai/openai-python (openai)

v3.22.1

Compare Source

Bug Fixes
Chores
  • tests: mark sample_file.txt as text with LF line endings (#​3879) (fd78a48)
Documentation

v3.22.0

Compare Source

Features

v3.21.0

Compare Source

Features

Configuration

📅 Schedule: (in timezone Europe/Vienna)

  • Branch creation
    • "before 6am every weekday"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Deep-dive deliverables (ADR-0108)

  • Research digest — no digest needed: dependency pin update
  • Decision matrix — no alternatives needed: scheduled dependency update
  • AGENTS.md invariant note — no AGENTS needed: dependency update
  • Reproducer / smoke-test command — PYTHONPATH=dev-llm/src pytest dev-llm/tests -q
  • CHANGELOG fragment — no changelog needed: automated dependency update
  • Rebase note — no rebase impact: dependency update

@renovate renovate Bot added the dependencies label Oct 1, 2026
@lusoris

lusoris commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

Validated openai >=3.22.1 update:

  • Installed in fresh isolated venv (pip install -e 'dev-llm[dev,cloud]') with openai 3.22.1
  • Ran dev-llm test suite: pytest dev-llm/tests -q passed (23 passed, 7 skipped)
  • Regenerated dev-llm lock: python3 scripts/ci/check_python_dependency_locks.py check passed (26 locks OK)
  • Pre-commit: passed clean on changed files

@lusoris
lusoris marked this pull request as ready for review October 1, 2026 19:36
@lusoris
lusoris self-requested a review as a code owner October 1, 2026 19:36
@lusoris
lusoris force-pushed the renovate/openai-3.x branch 2 times, most recently from 41b4923 to 3c245be Compare October 1, 2026 20:40
lusoris and others added 2 commits October 1, 2026 22:43
…it-identical (#1734)

* fix(cuda): compute float_adm in the CPU's arithmetic so the twin is bit-identical

float_adm_cuda matched the CPU extractor on 144 of 791 measured scores
and was up to 1.3e-5 from it (adm_scale0 at 3840x2160). An exact twin
was built first and the old constructs were put back one at a time; all
of them together give the old twin's output bit for bit. Sizes alone:

- the angle test's threshold as cos^2 * (|o|^2 * |t|^2), where
  adm_angle_flag_s() evaluates (cos^2 * |o|^2) * |t|^2 (1.3e-5);
- each row reduced per tile and the rows added in fp64, where
  adm_csf_den_scale_s() and adm_cm_s() add a row into one float and the
  rows into another (4.4e-7);
- CSF weights from a host copy of dwt_quant_step() with fp32
  intermediates, four of eight default weights 1 to 3 ulp off (2.1e-7);
- t / (o + eps), where the x86 CPU multiplies by rcp_s(), a Newton step
  on the processor's RCPSS estimate (1.3e-7);
- the masking threshold's centre taps after its neighbours, where
  adm_cm_thresh3x3_s() adds the centre fifth in one sum per band
  (9.4e-8);
- fp32 1/15 and 1/30 where the CPU's are double literals (7.2e-8,
  1.5e-10), and an fp32 gain limit (1.0e-7 at 1.2);
- the frame sums floored at 1e-2 * area / 1080p where compute_adm()
  uses 1e-10: adm2 = 1 instead of the CPU's 0 on a flat 16-bit frame
  with one raised sample and adm_noise_weight=0.

ADR-1420:

- cuda/float_adm/float_adm_device.h holds the decouple, the CSF, the
  threshold and the reduction terms of adm_tools.c operation for
  operation, with explicit round-to-nearest intrinsics on the device;
  the host compiles it for a test.
- RCPSS is specified by an error bound, so the reference's quotient
  belongs to the host processor. adm_reciprocal_model_probe() fills a
  4096-entry table from the instruction and proves the model against it
  (9.4 ms at extractor start); the decouple kernel evaluates it in
  integer arithmetic. A CPU build that divides (MSVC, ARM) makes the
  twin divide.
- float_adm_terms stores nine terms per sample of the reduced region,
  float_adm_row_sums adds each row in one thread, the host adds the
  rows.
- adm_tools.c exports its reduced region, CSF weights, angle constant
  and reciprocal estimate (adm_float_reference.h), and four of its
  reductions call the exported adm_pool_bands_s() instead of repeating
  it. CPU scores are unchanged (4 752 outputs).
- EXACT_TWINS lists float_adm / cuda: the gate cell is an equality.

Measured on an RTX 4090 at --precision max against master 5c8b9e9,
identical scores before and after: Netflix 576x324 8-bit 66/336 and
336/336, 10-, 12- and 16-bit 2/21 and 21/21, checkerboard 1 px 2/21 and
21/21, 10 px 4/21 and 21/21, BBB 3840x2160 66/350 and 350/350; 658 and
2034 of 2034 with debug=true, also with clang's CUDA driver and with
non-default gain limit, bypass, noise weight and viewing geometry. Not
identical: adm_p_norm other than 1 or 3, within 1.1e-7 (device powf).
A run of the twin alone takes 1.87 and 1.98 ms per 4K frame; its
kernels take 0.76 and 1.11 ms
(T-CUDA-FLOAT-ADM-EXACT-THROUGHPUT-2026-10-01).

Found on the way and recorded: the SYCL, HIP and Metal twins carry the
same arithmetic and floor (T-GPU-FLOAT-ADM-CPU-ARITHMETIC-2026-10-01,
T-GPU-FLOAT-ADM-FRAME-SUM-FLOOR-2026-10-01); the CPU's float ADM
depends on the processor through RCPSS
(T-FLOAT-ADM-RECIPROCAL-ESTIMATE-HOST-DEPENDENT-2026-10-01), reads
outside its bands below 17x17
(T-FLOAT-ADM-TINY-FRAME-BAND-READS-2026-10-01) and files its debug
ratio under an unsuffixed key
(T-FLOAT-ADM-DEBUG-KEY-UNSUFFIXED-2026-10-01).

Tests: test_cuda_float_adm_parity asserts equality over 15 cases, each
of which fails on the old twin; test_float_adm_device_math compares the
header with the CPU routines and the reciprocal model with the
instruction on the host; test_cuda_float_adm_exact_contract.py pins the
design.

* docs: regenerate the indexes and the citation map after rebasing
* chore(deps): Update dependency openai to >=3.22.1

* chore(deps): regenerate dev-llm lock for openai >=3.22.1

* docs: regenerate the indexes and the citation map after rebasing
@lusoris
lusoris force-pushed the renovate/openai-3.x branch from 3c245be to 9e6cbde Compare October 1, 2026 20:57
@lusoris
lusoris merged commit 9e6cbde into master Oct 1, 2026
56 of 71 checks passed
@lusoris
lusoris deleted the renovate/openai-3.x branch October 1, 2026 20:57
@github-actions github-actions Bot added the type:chore Maintenance, no user-visible change label Oct 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies type:chore Maintenance, no user-visible change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant