r/AIProgrammingHardware • u/javaeeeee • Oct 20 '26
GitHub - deepseek-ai/DeepInfer: DeepInfer: High-performance, large-scale inference framework for DeepSeek models
r/AIProgrammingHardware • u/javaeeeee • Oct 20 '26
r/AIProgrammingHardware • u/javaeeeee • Oct 20 '26
r/AIProgrammingHardware • u/aYellowTofu • Oct 20 '26
r/AIProgrammingHardware • u/Winter_Mistake_3185 • Oct 20 '26
Hi Everyone,
I've started a free playlist called "GPU Kernel Engineering" and just uploaded the intro and roadmap video.
Trailer: https://youtu.be/cibk7G-jHQw
r/AIProgrammingHardware • u/javaeeeee • Oct 19 '26
r/AIProgrammingHardware • u/networkevolution_dev • Oct 19 '26
r/AIProgrammingHardware • u/javaeeeee • Oct 19 '26
r/AIProgrammingHardware • u/Most-Wear-3813 • Oct 19 '26
r/AIProgrammingHardware • u/Sour_fart_bombs • Oct 19 '26
Hey everyone,
I have used AI to summarize everything because it was getting too long. I hope thats fine.
We’ve been optimizing an on-device Android assistant running a quantized 4B model (Gemma 4 E4B) on modern Snapdragon silicon (Snapdragon 8 Elite Gen 5).
Originally, our goal was sustained low-power efficiency and faster inferencing using NPU TOPs which otherwise is generally useless, so we built an aggressive 3-tier execution pipeline:
After profiling and logcat diagnostics, we completely purged the NPU / GenieX path in favor of direct GPU (LiteRT OpenCL) -> CPU**.**
Here is what we ran into with Qualcomm's native NPU stack, along with our setup. I’m curious if anyone here has managed to get reliable, high-throughput LLM execution out of Qualcomm Hexagon without these headaches.
"Requested 4 HTP cores but the device exposes 1; clamping to 1"libcdsprpc.so) shuttling massive Look-Up Tables (LUTs) across the DSP boundary created significant latency.ErrorCode[-100016] Parameter not supported by this pluginllmWrapper?.destroy()), re-allocating native DSP memory and re-reading files on session swaps.geniex-android, libgenie_t2t_run.so, libggml-hexagon.so, libhta_hexagon_runtime_snpe.so) added 15–25 MB of binary bloat.GenieXSdk.init() could even be called:Kotlin code:
val preloads = listOf(
"QnnSystem",
"QnnHtp",
"QnnHtpNetRunExtensions",
"geniex-proc",
"geniex_core",
"geniex",
"geniex_plugin_qairt",
"npu_jni"
)
for (lib in preloads) {
try {
System.loadLibrary(lib)
} catch (t: Throwable) {
Log.w(TAG, "Preload notice for $lib: ${t.message}")
}
}
Dropping the NPU entirely and sticking to a clean GPU (LiteRT OpenCL) $\rightarrow$ CPU (XNNPACK) engine gave us:
r/AIProgrammingHardware • u/javaeeeee • Oct 19 '26
r/AIProgrammingHardware • u/MoralLogs • Oct 19 '26
In our recent technical analysis of Constitutional AI Governance, we kept returning to a single, sobering structural reality: corporate ethical guidelines, contractual guardrails, and software policies eventually yield under institutional pressure. When market incentives or political urgency push hard enough, policy layers re-interpret, re-write, or collapse, a structural dynamic I term veto atrophy. To build truly resilient governance, we must move the enforcement boundary from human discretion to solid-state physics.
I am pleased to share our new slide deck Hardware That Does Not Negotiate which outlines the physical substrate architecture for Mandated Ternary (MT) and Delay-Insensitive Ternary Logic (DITL). Key highlights from the framework and technical roadmap:
🔹 The 3rd Physical State (Epistemic Hold): Binary logic forces a premature choice: Proceed (+1) or Refuse (-1). DITL introduces a third, physically discrete state of matter encoded in tantalum oxide (\(\text{TaO}_x\)) bilayer RRAM - the Epistemic Hold (0). It is not a software pause or indecision; it is an atomic-level arrangement of oxygen vacancies that physically locks execution until constitutional verification is complete.
🔹 No Log = No Action (NL=NA): Through the Dual-Lane Latency Architecture (2ms Inference Lane / 300ms Governance Lane), execution gates remain closed until an immutable, Merkle-anchored audit log is anchored. Accountability becomes a physical precondition of action rather than an optional configuration setting.
🔹 Engineering Honesty & Fabrication Realism: A specification that names its own limits is a specification that can be trusted. In the accompanying roadmap, we address physical failure modes head-on—from correlated memristor drift to threshold poisoning—and outline the exact milestones required to release the TSMC N2 PDK and achieve IEC 61508 SIL 3 certification by Q4 2027.
🔹 Closing the Shadow System Loophole: Hardware guarantees are physical and local. Preventing non-compliant hardware from serving as a bypass route requires pairing substrate-level security with federal procurement mandates and international treaties.
"There is no politics in the resistance value of a tantalum oxide filament. That absence is the entire design."
Take a look at the slide deck to see how we are encoding democratic accountability directly into physical silicon.
Hardware That Does Not Negotia…
r/AIProgrammingHardware • u/javaeeeee • Oct 19 '26
r/AIProgrammingHardware • u/javaeeeee • Oct 18 '26
r/AIProgrammingHardware • u/Terminator857 • Oct 18 '26
r/AIProgrammingHardware • u/Sad-Seaworthiness259 • Oct 17 '26
For anyone wondering whether the B60 24GB is usable for local AI: here's Qwen3.8-27B on llama.cpp Vulkan at 53 tok/s mean decode with a 64K context window, plus local video (LTX-2.5 via ComfyUI on XPU) on the same card.
The four things that mattered: DFlash2 speculative decoding, Intel's FA prefill kernel with f16 KV, -ub 256 with a q8 draft KV cache, and keeping other models off the GPU. Driver 32.0.101.8976, Windows 11.
Everything is measured and the misses are documented. Smaller cards (B580/B570/B50/A770) won't fit this 27B, but the Vulkan tuning applies, and I'd love your benchmark numbers.
[https://github.com/edagher92-coder/arc-llm-lab](https://github.com/edagher92-coder/arc-llm-lab)
r/AIProgrammingHardware • u/crpt_conch • Oct 17 '26
What models are accessible to a Framework laptop with Ryzen AI 9 HX 370? What’s the scale of ram to billion parameters? And how many tokens per second can you expect?
It would be great to hear from a first-hand user
r/AIProgrammingHardware • u/Sad-Seaworthiness259 • Oct 17 '26
r/AIProgrammingHardware • u/Familiar_Worry332 • Oct 17 '26
r/AIProgrammingHardware • u/javaeeeee • Oct 16 '26
r/AIProgrammingHardware • u/javaeeeee • Oct 16 '26
r/AIProgrammingHardware • u/javaeeeee • Oct 15 '26
The repo discussed in the article https://github.com/xhinker/azllm.
r/AIProgrammingHardware • u/javaeeeee • Oct 15 '26
r/AIProgrammingHardware • u/Akanksh__ • Oct 15 '26