Hanzo AI
ddff44bbee
backend: add GPU substrate selector with fallback policy + ABI guards
...
Adds the canonical runtime substrate selector for luxfi/crypto and decomplects
all per-algorithm GPU dispatchers behind it.
New `backend` API:
- Default()/SetDefault/Resolved()/IsGPU/IsCGo/IsVanilla — runtime selection
- CGoAvailable()/GPUAvailable() — real probes (was stubbed)
- Probe() returning Snapshot{Default, Resolved, CGo, GPU, Disabled,
GPUBackend, GPUDeviceCount, AccelVersion, Fallbacks}
- GPUDisabled() reads LUX_GPU_DISABLE operator kill switch
- RecordFallback(reason, where) atomic counter + one-shot log per reason,
low-cardinality FallbackReason enum (disabled / unsupported / probe_failed
/ backend_unavailable / abi_mismatch)
Dispatcher cleanup (one-and-one-way):
- All Resolve(gpuhost.Available(), false) call sites replaced with IsGPU()
- hqc switched to IsVanilla() (its accel batch wins for any non-vanilla pick)
- gpu/gpu.go now delegates entirely to backend (no separate session)
- internal/gpuhost dropped Snapshot()/Provenance — backend.Probe() canonical
Build tag policy: CGo is the only gate. There is no `gpu` build tag.
LLM.md documents the canonical surface.
2026-05-24 14:16:55 -07:00
Hanzo AI
e9560cae6a
crypto: README/AUDIT/LLM docs final corona purge
2026-05-12 10:26:38 -07:00
Hanzo AI
d42b0fbfd3
crypto: rename SchemeCorona → SchemeCorona; aggregated SignatureAggregator finalizeCorona → finalizeCorona
...
Mirrors the consensus + node Corona purge. The production Ring-LWE
threshold library is luxfi/corona; the threshold-scheme byte and all
aggregator codepaths use the production identifier.
2026-05-12 10:21:11 -07:00
Hanzo AI
d8de0bab87
crypto: PQ canonical terminology (FIPS 203/204/205 + Pulsar + Lamport)
2026-05-05 17:55:42 -07:00
Hanzo AI
005e773adb
crypto/LLM.md: thresholdvm M/F-Chain modes per LP-134
2026-05-05 16:54:19 -07:00
Hanzo AI
ff09677ed6
LLM.md: drop dated 'Last Updated' line
2026-05-05 12:30:56 -07:00
Hanzo Dev
1d87d9a9a4
docs: update LLM.md with Go 1.26 features (secret/, HPKE)
2025-12-27 13:52:04 -08:00
Zach Kelling
af49b0a2b6
chore: sync with node requirements
2025-12-27 04:19:14 -08:00
Zach Kelling
9bb37d2a91
refactor: update import path to github.com/luxfi/constants
2025-12-27 02:09:03 -08:00
Zach Kelling
7b0ce8ca27
Remove dead code and consolidate GPU ZK operations
...
- Remove crypto/common/math/ (dead code, using luxfi/math instead)
- Consolidate gpu/zk.go to use unified luxfi/gpu package
- Delete platform-specific gpu/zk_metal.go in favor of unified approach
- Update bls/types.go with GPU bindings
- Update dependencies for luxfi/gpu
2025-12-26 20:56:36 -08:00
Zach Kelling
c035d2fc95
Update LLM.md
2025-12-26 20:30:33 -08:00
Zach Kelling
18f88f19da
Updates for warp, docs
2025-12-26 14:00:00 -08:00
Zach Kelling
78d37550c9
Sync with geth
2025-12-12 19:49:01 -08:00
Hanzo Dev
be4f2e16cf
Clean up documentation and update dependencies
2025-11-04 15:54:47 -08:00