wai-quantum 0.6.0: HIP, npu-cores, tensor-engine and avx512 members; the dataflow vector engine; the gate as portable tensor programs #266
Loading…
Reference in a new issue
No description provided.
Delete branch "wai/quantum-dataflow-vector"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
wai-quantum 0.6.0: four more members (HIP, npu-cores, tensor-engine, avx512), the dataflow device's vector engine, the gate as a portable tensor program, and CI on a second hardware host.
Members
quantum_fabric_hip, Linux): the CUDA member's kernel text, unchanged, compiled at run time by HIP's runtime compiler for each device's own architecture. Both libraries load when first used. The device's properties are read in the runtime's frozen layout (hipDeviceProp_tR0600); properties that don't read as that layout are refused. Withquantum_sv, the f64 state vector runs the CUDA kernels' text too.quantum_fabric_npu_cores, Linux): the gate on one compute core of a neural processor's tile array, programmed directly. The core forms each pair's four rows in exact 64-bit integers; the host checks range and keeps the low 32 bits.WAI_QUANTUM_NPU_CORES_PYTHON. Programs are cached per variant, generation and toolchain.quantum_fabric_tensor_engine): the gate's products as exact limb convolutions on a tensor processor's matrix engine, using bf16 multiplies with fp32 accumulation.quantum_fabric_vector): eight 64-bit lanes, with the unit's own 64-bit arithmetic shift. Discovery opens one member per instruction set the processor reports.dataflow-1e52-b140-vector): the gate on the simulated device's vector engine, 32 lanes per tile.The gate as a portable tensor program
quantum_fabric::stablehlo: StableHLO, with every value a 64-bit integer that never overflows.ci/tensor-program/check.shholds every run to the outcome it must have. A run that ends without stating its outcome fails, so a dead device can't read as a mutant caught.Measured
All bit-exact, with every mutant killed:
b7d129d0…)gpu-vulkan-1002)opencl-gpu-1002)The tensor program is exact under both compilers on:
CI
linux-amd(framework-128gb), for hardware jobs only.wai-quantum-hip,wai-quantum-npu-cores,wai-quantum-tensor-engine,wai-quantum-tensor-program.Breaking (hence 0.6.0)
opencl-<kind>-<vendor id>.DeviceIdentitygainsvendor_id, andvendor_slugis removed.WAI_QUANTUM_HW_OPENCL_KEYS, already set beside the old variable.IsagainsAvx512.Chipgainsvector.ChipandIsaare now#[non_exhaustive], so the next addition isn't a break.wai-quantum-qpubecomes 0.2.0, against 0.6.0.🤖 Generated with Claude Code