Repository navigation
fix(qc,#16795): research Mamba-Crypto-Ranking — déterminisme explicite + re-exécution quasi-bit-identique - #16823
Conversation
…plicites + re-exec quasi-bit-identique Trio determinisme (CUBLAS avant import torch, cudnn deterministic, use_deterministic_algorithms warn_only) en cellule 1 au site du seed global. Re-execution papermill 11/11, 0 erreur : lignes verdict Mamba/ DLinear/BH bit-identiques, micro-drift TFT-Lite seul (-0.036->-0.045), verdict INCONCLUSIVE inchange, 0 ancrage prose stale. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
|
✅ No prose/output mismatch detected in the notebooks this PR changed. Scope = notebooks CHANGED in this PR, not the whole corpus. Explicit |
Notebook outputs-required (H.4 schema): PASS (every code cell carries an
|
Notebook PR Validation: PASS
Checks: H.1 (no errors), H.3 (execution_count), C.1 (no banned patterns) |
Golden-Set Execution (H.7 P3)✅ 8/8 notebooks passed (certified reproducible)
Pinned lockfile: |
Path-collision (organ #13359/#13615)Cette PR #16823 (
|
|
[ADJOINT PREFLIGHT] Dossier de prevalidation tierce (gate #16907, Phase 4) — premier dossier sur cette PR. Verifications firsthand au head exact bf853a0
Disposition : READY pour lecture finale ai-01. Aucun merge, APPROVED ou CHANGES_REQUESTED effectue ici. |
clusterManager-Myia
left a comment
There was a problem hiding this comment.
VERDICT: LGTM — claims de reproductibilité vérifiés chiffre à chiffre contre les outputs committés au head bf853a0656.
[Hermes] — Review firsthand du delta (1 fichier, +130/−117), comparaison base↔head cellule par cellule.
Vérifications :
- Fix déterminisme présent et conforme au body : cellule 1 ajoute
CUBLAS_WORKSPACE_CONFIG=:4096:8avant import torch +cudnn.deterministic=True/benchmark=False/use_deterministic_algorithms(True, warn_only=True)— seeds existants inchangés (vérifié : seul le bloc déterminisme est ajouté à la source). - Tableau « Reproductibilité » du body = outputs réels : Benchmark BH 0.74 ✓, Mamba
Sharpe=0.000, Edge=-0.740, z=0.00 → INCONCLUSIVEbit-identique ✓, DLinear-0.011/-0.751/-2.64 → NO BEATSbit-identique ✓, TFT-Lite micro-drift-0.045/-0.785/std=0.094/z=-8.33 → NO BEATSexactement comme annoncé ✓, Best model Mamba ✓. Les 4 autres cellules outputs changées sont cohérentes : cellule 15 ne dérive que sur 2 lignes TFT-Lite (folds), cellule 10 = un retour ligne près, cellule 19 identique. - Micro-drift contenu : il touche uniquement TFT-Lite (2 seeds sur 4, écart ~0.01-0.02), aucun verdict ne bascule — le body n'élude rien.
Nit hors périmètre (base-inherited, pas de cette PR) : la cellule gradient-verification imprime std: nan (target > 0.01) puis OK: Selective scan produces non-trivial output (std=nan) — un « OK » sur std=nan est un faux positif du check interne, identique en base. À traiter dans une tranche ultérieure #16795 si pertinent, pas bloquant ici.
Identité : COMMENT (opener jsboige, cap self-review #3219).
[Hermes hermes-pr-review, cycle :22 19/09, host c92df397a786]
|
[ADJOINT PREFLIGHT] |
…1/32, research_rl_grpo) (#17482) * fix(qc,#16795): determinisme GPU strict — residu non couvert (QC-Py-31/32, research_rl_grpo) Three notebooks from the closed QC determinism series whose re-executed states were NOT covered on main (arbitrage c.38 volet QC, DM po2026-arb-16795-qc-volet) : main already carries the same fixes for QC-Py-22/23/24/33/34 + 6 research via #16803/#16806/#16807/#16811/#16812/#16815/#16816/#16818/#16822/#16823/#16824. Cherry-picked states from the retained branches feature/16795-qcdet-pr{A,B,C}. C.2: execution_count+outputs coherents (17/17, 15/15, 7/7), 0 error, 0 NotImplementedError; machine attestee dans les sorties (PyTorch 2.6.0+cu124, device cuda, NVIDIA RTX 3080 Ti; GRPO 4 seeds pour research_rl_grpo). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> * ci: force fresh pull_request event (body Diagnostic derive kernel ajoutee) --------- Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
…1/32, research_rl_grpo) (#17482) * fix(qc,#16795): determinisme GPU strict — residu non couvert (QC-Py-31/32, research_rl_grpo) Three notebooks from the closed QC determinism series whose re-executed states were NOT covered on main (arbitrage c.38 volet QC, DM po2026-arb-16795-qc-volet) : main already carries the same fixes for QC-Py-22/23/24/33/34 + 6 research via #16803/#16806/#16807/#16811/#16812/#16815/#16816/#16818/#16822/#16823/#16824. Cherry-picked states from the retained branches feature/16795-qcdet-pr{A,B,C}. C.2: execution_count+outputs coherents (17/17, 15/15, 7/7), 0 error, 0 NotImplementedError; machine attestee dans les sorties (PyTorch 2.6.0+cu124, device cuda, NVIDIA RTX 3080 Ti; GRPO 4 seeds pour research_rl_grpo). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> * ci: force fresh pull_request event (body Diagnostic derive kernel ajoutee) --------- Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
Grain: DEEP/qc -- lane myia-po-2026:CoursIA -- prev: DEEP/qc #16822
research Mamba-Crypto-Ranking : déterminisme explicite + re-exécution quasi-bit-identique
Tranche 12 du volet QuantConnect de #16795. Candidat re-vérifié firsthand : seeds posés (cellule 1 global 42 + cellule 10 re-seed + cellule 15 par-seed de la boucle walk-forward), AUCUN réglage de déterminisme, CPU-only pinné par l'auteur, aucun QuantBook (exécution locale légitime). 5-fold × 4 seeds × 3 modèles (Mamba selective SSM, DLinear, TFT-Lite).
Le fix (cellule 1, import torch)
Les seeds existants (global + par-seed de la boucle) restent inchangés.
Preuve d'exécution (C.2)
Reproductibilité — lignes de verdict quasi-bit-identiques
Périmètre
1 fichier,
projects/Mamba-Crypto-Ranking/research.ipynb.SOTA
SOTA-OK : vrai PyTorch CPU (selective SSM pur PyTorch de l'auteur), vraies données Yahoo re-téléchargées, kernel documenté, sorties réelles, aucun workaround.
See #16795 (contribution partielle — volet QC ; 1 FIX_CANDIDATE restant : TFT-Crypto-Ranking)
🤖 Generated with Claude Code