Skip to content

Add fused x64 guardrails and TPU v0.4 profiling notes - #4

Merged
Efithor merged 2 commits into
mainfrom
feat/fused-x64-guardrails
Mar 2, 2026
Merged

Add fused x64 guardrails and TPU v0.4 profiling notes#4
Efithor merged 2 commits into
mainfrom
feat/fused-x64-guardrails

Conversation

@Efithor

@Efithor Efithor commented Mar 2, 2026

Copy link
Copy Markdown
Owner

Summary

  • add explicit x64 runtime guardrails for pipeline=\"ondevice\", accumulation=\"fused\"
  • remove implicit global x64 assumption and surface a clear error when fused mode is requested without x64 enabled
  • refactor fused internals to support fully-fused split-on-device execution (_fully_fused_ondevice_jit)
  • update README with fused-mode x64 setup and a TPU FP64 throughput caveat
  • bump package version to 0.4.0
  • add benchmarks/tpu_v04_profile.py for stage-by-stage TPU profiling of v0.3 vs v0.4 fused flow

Validation notes

No CI TPU lane is configured yet.

Suggested manual checks:

  • python benchmarks/ondevice_accumulation_validate.py
  • python benchmarks/tpu_fused_bench.py (TPU)
  • python benchmarks/tpu_fused_profile.py (TPU)
  • python benchmarks/tpu_v04_profile.py (TPU)

Notes

  • fused mode is still default for pipeline=\"ondevice\"
  • fused mode now requires jax_enable_x64=True to be set by the caller

Made with Cursor

Efithor added 2 commits March 1, 2026 20:04
This removes implicit reliance on global x64 behavior by checking fused-mode requirements at runtime, updates docs to clarify TPU FP64 caveats, and adds a v0.4 profiling script for fused split-overhead analysis.

Made-with: Cursor
This ensures the CPU validation workflow and smoke script explicitly run with x64 enabled so fused on-device checks satisfy the runtime guard.

Made-with: Cursor
@Efithor
Efithor merged commit 79251ad into main Mar 2, 2026
1 check passed
@Efithor
Efithor deleted the feat/fused-x64-guardrails branch March 2, 2026 02:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant