SearcharxivSearch

arXiv subjects

Wanning Zhang

Publications and source records attributed to Wanning Zhang.

3 recordsLinked to original sources

Cache-Resident LLM Inference in GB-Scale Last-Level Caches

Large language model (LLM) inference is increasingly dominated by data movement across the memory hierarchy. Recent 3D-stacked cache technologies have enabled GB-scale last-level caches in modern server CPUs, making it possible to keep reusable model weights on chip and exploit cache bandwidth and latency. Achieving this regime is not straightforward: deeper pipelining for weight residency increases in-flight requests and KV-cache footprint, while cache-resident operators make operator-boundary synchronization a visible bottleneck. We present a cache-resident execution model for inference on hierarchical-memory clustered systems. The model separates weight-centric operators from attention and KV-cache management into dedicated resource domains, keeping reusable weights cache-resident while scaling KV capacity independently of pipeline depth. It also relaxes synchronization from operator boundaries to true sub-operator dependencies, reducing coordination overhead in the cache-resident regime. We instantiate this model on a multi-socket CPU cluster with a weight-attention decoupled architecture, locality-aware placement, and a specialized static runtime. The prototype substantially outperforms equally provisioned llama.cpp. On deployed Llama-3.2-3B and Llama-2-7B configurations, it achieves 2.04x-11.51x speedup on time-per-output-token (TPOT). Under a validated analytical model, it further reaches up to 13.9x TPOT speedup across model sizes, context lengths, and batch sizes. These results show that commodity CPUs with GB-scale last-level caches can support efficient LLM inference when execution is organized around cache residency, decoupled state management, and dependency-aware coordination.

cs.AR

Spin-polarized chiral ZnIn2S4 for targeted solar-driven CO2 reduction to acetic acid

Acetic acid, an important industrial chemical, is a key target product for CO2 reduction due to its dual role in carbon utilization and chemical feedstock supply. Although photocatalytic CO2 reduction (PCCR) can generate acetic acid alongside other multicarbon products, its yield is typically low, limited by competing reactions and inefficient C-C coupling. Herein, we report a chiral mesostructured ZnIn2S4 (CMZI) photocatalyst that achieves a remarkable acetic acid yield of 962 {umol g-1 h-1 with a high selectivity of 97.3 %. This yield is ten times higher than the current highest reported value, while attaining state-of-the-art selectivity10. The remarkable productivity arises from synergistic effect between chiral structure and sulfur (S) sites of CMZI. Chirality-induced spin polarization in CMZI stabilizes the key triplet OCCO intermediate, significantly promoting C-C coupling efficiency. Theoretical calculations reveal that the S sites on {102} crystal facets of ZnIn2S4 exhibit thermodynamic and kinetic preferences for acetic acid formation. This work offers critical insights into catalytic strategies for CO2 reduction toward the efficient and scalable synthesis of various multicarbon products.

cond-mat.mtrl-sci

Photomagnetic-Chiral Anisotropy mediated by Chirality-Driven Asymmetric Spin Splitting

Photo-magnetic effects (PMEs), intrinsic to transition metals, arises from the interaction between light-induced angu-lar momentum and electronic spin. These effects are suppressed in noble metals with high symmetry and electron density. Introducing chiral structures can induce photomagnetic-chiral anisotropy (PM-ChA) of metals by linking chirality and spin dynamics. However, a theoretical explain remains elusive. Here, we investigated the mechanism of PM-ChA in tetrahelix-stacked chiral nanostructured gold chains (CNACs) using first-principles calculations. Non-equilibrium Green's function calculations reveal that chiral potentials enhance spin channel asymmetry by amplify-ing spin-orbit coupling (SOC)-induced spin splitting. Real-time time-dependent density functional theory simulations further identify SOC as the bridge connecting chiral spintronics to PME, where chirality-driven spin flips from asymmetric geometries generate opposing photomagnetic fields in materials of different handedness. These findings are consistent with experimental observations in chiral nanostructured gold films and provide a theoretical instruction for design metallic spintronic devices.

cond-mat.mtrl-sci