Repository navigation
Conversation
… into feature/sep-0048-julia-backend
4 tasks
1 of 5 tasks
3 tasks
Add opt-in fresh-process probes for main-thread ownership, foreign cancellation, GC, signals, lazy devices, spawning, shutdown and native coexistence. Preserve the reproduced SIGTERM-during-GC timeout as a required failing case while the fatal-exit limitation is investigated.
4 tasks
5 tasks
4 tasks
This was referenced Nov 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implement SEP 48's optional Julia backend with binary64 CPU and CUDA as the maintainer-approved completion baseline. Julia owns the numerical session; Python supplies descriptors and external services. This remains a draft and will be left ready for maintainer review without merging it.
Paused at a recoverable binary64 CPU checkpoint,
532c7379(11 November). Publicbackend="julia"admits binary64 scalar CPU modal, radial, Cartesian and line routes with RK, exponential Adams and fixed low-storage methods. Sessions include Kerr/Raman/plasma responses, portable Adams history, dense output, statistics, temporal/transverse monitoring, fixed-schedule groups, split absorption, input noise, persisted FFT plans and CPU BLAS/thread leases. The merged SEP 47 request/session contract is integrated. Scientific defaults and hashes are unchanged.The final combined checkpoint passes 10,541 bounds-enabled Julia assertions in 42 testsets and six actual managed Python→Julia CPU replay/dense cases with a freshly published setup. The preceding source integration passes 4,942 assertions and 16 managed material/route cases. Independent RK dense review passes 475 assertions, including 141 original witnesses; CPU Aqua/JET passes 16 checks with all 2,310 definitions analyzed and none cached. Changed-file spelling, whitespace, 349 SEP consistency tests (three declared skips), and the Sphinx build pass.
CUDA execution/FFT, storage/readback, capture guards, RK/low-storage, modal source, exports, selected-execution bridge and RK dense work are integrated. Public CUDA remains closed until complete session and vendor qualification passes. Device Adams is frozen pending independent review; shared statistics/temporal construction remains an unfinished draft; spatial attachment has not started. CPU and GPU must share numerical routines and operation ordering, with backend differences confined to execution/storage primitives.
Actual A40 qualification of the earlier immutable
b122a7cfsnapshot recorded 2,663 passes, nine allocation-size assertion failures and three private-runner import errors. Executed march, modal-source, export and independent reviewer checks passed. The nine expectations omitted pinned CUDA allocation padding: an independently reviewed test/docs correction is integrated without production changes, and the runner binding is corrected. The hardware rerun remains pending. Unfiltered vendor quality still fails: Aqua passes 11 checks, core/extension JET report 76/38 possible errors and all nine concrete analyses fail (#741). This evidence does not cover later source/RK-dense or complete CUDA sessions.Metal, ROCm/HIP and remaining binary32 qualification are deferred. DF32 supplies selected wide intermediates alongside binary32 state/FFTs; it is not a whole-state precision. Existing implementation, proofs and failures are preserved in
julia/DEFERRED.md. Baseline collection retains runtime, refusals, pure precision lowering and shared CPU conformance; deferred numerical modules remain in the strict precision command. No failed result becomes a pass through deferral.The preliminary binary64 CPU benchmark matrix covers 12 short cases at one and 64 physical cores on AMD EPYC 7763, with 432 finite repetitions and matched step counts. Final-field relative L2 differences are 3.16e-17–1.27e-15; timing results are mixed and do not establish a blanket speedup. The ledger includes preparation-inclusive wall time. Isolated startup, worker, CPU-to-GPU loading and complete CUDA measurements remain required. Both A40 jobs have ended; no rental was created and spend remains US$0 of US$50.
Full gates run in GitHub CI. At inspected head
de6111e9, static checks, no-native tests and native-wheel jobs pass. Several Linux lanes fail package installation before tests because of DNS resolution; the mirror change did not fix this (#757). The new checkpoint matrix is pending. Earlier Julia shutdown/runtime failures and the accepted main-thread/SIGTERM boundaries remain documented. Required CI is not claimed green.Resume with CPU CI/conformance, independent Adams review, shared observations/monitors and spatial composition, remaining history/group/bridge attachment, actual CUDA quality and sessions, mandatory measurements, then final documentation and integration review. The exact phase status and restart order are in
julia/IMPLEMENTATION.md; prior evidence is retained injulia/IMPLEMENTATION_HISTORY.mdand SEP Part II. New issues cover only work this PR will leave unresolved.Closes #608. Closes #623. Closes #652. Closes #653. Closes #654. Closes #655. Closes #656. Closes #658. Closes #659. Closes #660. Closes #661. Closes #662. Closes #666. Closes #667. Closes #668. Closes #670. Closes #671. Closes #672. Closes #673. Closes #674. Closes #675. Closes #676. Closes #677. Closes #678. Closes #679. Closes #680. Closes #681. Closes #682. Closes #683. Closes #684. Closes #685. Closes #686. Closes #687. Closes #688. Closes #689. Closes #690. Closes #691. Closes #692. Closes #693. Closes #694. Closes #695. Closes #696. Closes #697. Closes #698. Closes #699. Closes #700. Closes #701. Closes #703. Closes #704. Closes #705. Closes #706. Closes #707. Closes #708. Closes #709. Closes #710. Closes #713. Closes #714. Closes #718. Closes #702. Closes #715. Closes #716. Closes #717. Closes #719. Closes #720. Closes #721. Closes #722. Closes #723. Closes #725. Closes #726. Closes #727. Closes #728. Closes #731.