[codex] Update Torch and Lightning for Python 3.9#180
Conversation
|
Claude finished @jbohnslav's task in 3m 14s —— View job Review of PR #180 — Update Torch/Lightning for Python 3.9
SummaryThis is a clean, well-scoped dependency bump with a correct port to the Lightning 2 API. Verified each hunk against the actual PR diff ( Correctness checks — all look right:
Minor nit (non-blocking):
Note on No functional bugs found. Given the validation already performed (unit tests, ruff, and a real GPU run on Modal with CUDA 12.6.3 / Torch 2.8.0+cu126), this looks ready to merge. |
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
Summary
torch==2.8.0.pytorch_lightning==2.6.0.cu124tocu126and update the Modal GPU test image to CUDA 12.6.3.weights_onlybehavior.ReduceLROnPlateau(verbose=...)kwarg rejected by Torch 2.8.Validation
uv lock --check --python 3.9 --no-python-downloadsuv run ruff check deepethogram/base.py deepethogram/callbacks.py deepethogram/losses.py deepethogram/schedulers.py deepethogram/utils.py modal_gpu_test.pyuv run pytest->28 passed, 5 deselecteduvx --from modal modal run --detach modal_gpu_test.py --write-junit pytest-gpu.xml->5 passedon CUDA 12.6.3 / Torch 2.8.0+cu126Modal run: https://modal.com/apps/jbohnslav/main/ap-uM8UCZmZzvAZCKx2w6Dsgt