arXiv Science⌕ Search

arXiv subjects

Chandra Sekhar Mummidi

Publications and source records attributed to Chandra Sekhar Mummidi.

3 recordsLinked to original sources

Reducing Memory Traffic in FP4 LLM Training

Native FP4 training retains higher-precision gradient computation and weight-gradient accumulation. Our characterization of NVIDIA Transformer Engine on Blackwell identifies two sources of intermediate global-memory traffic: a numerical boundary, where unavailable scaling information forces gradient materialization, and a kernel boundary, where separate microbatch GEMMs repeatedly store and reload FP32 accumulators. Together, these create a global-memory boundary not inherently required by FP4 arithmetic. We address the numerical boundary through \emph{producer-local FP4 quantization}, converting gradients within their producing kernels to avoid intermediate BF16 transfers. We address the kernel boundary through register-resident FP32 accumulation across microbatch GEMMs, preserving accumulation order. Under a fixed operand-memory budget, two-microbatch windows across all projections recover 69% of the training-step time savings of four-microbatch accumulation across all projections with roughly one-third of the additional operand storage. On Blackwell, our implementation reduces GPU kernel time by 9.28\% and improves CUDA Graph training throughput by 9.63%, with a sustained 9.7% improvement over 20 million training tokens and comparable validation perplexity to Transformer Engine NVFP4. FP32 accumulation matches the sequential reference bit for bit across more than 1.2 billion elements. On AMD MI210, optimized software-emulated MXFP4 execution using BF16 GEMMs improves training throughput by 30.9% over the corresponding MXFP4 reference.

cs.AR↗

MaskPE: One Mask, Two Roles: Weight Placement and MAC Gating in Systolic Arrays

Unstructured pruning reduces weight storage but does not inherently reduce execution cost in conventional weight-stationary systolic arrays. Packed nonzero weights must be restored to fixed processing-element positions, while zero-weight positions must preserve data forwarding. This paper presents MaskPE, a mask-directed systolic architecture that uses positional masks to steer nonzero weights during preload and clock-gate arithmetic registers in zero-weight processing elements during execution, reducing dynamic power while preserving systolic dataflow. At 50% sparsity, MaskPE reduces compressed weight storage by 34.9%, including metadata overhead. RTL validation confirms exact execution with no additional steady-state tile stalls, while gate-level simulations demonstrate 12.5--14.4% lower execution energy across samples of seven LLM projections.

cs.AR↗

Resurrection Attack: Defeating Xilinx MPU's Memory Protection

Memory protection units (MPUs) are hardware-assisted security features that are commonly used in embedded processors such as the ARM 940T, Infineon TC1775, and Xilinx Zynq. MPUs partition the memory statically, and set individual protection attributes for each partition. MPUs typically define two protection domains: user mode and supervisor mode. Normally, this is sufficient for protecting the kernel and applications. However, we have discovered a way to access a process memory due to a vulnerability in Xilinx MPU (XMPU) implementation that we call Resurrection Attack. We find that XMPU security policy protects user memory from unauthorized access when the user is active. However, when a user's session is terminated, the contents of the memory region of the terminated process are not cleared. An attacker can exploit this vulnerability by gaining access to the memory region after it has been reassigned. The attacker can read the data from the previous user's memory region, thereby compromising the confidentiality. To prevent the Resurrection Attack, the memory region of a terminated process must be cleared. However, this is not the case in the XMPU implementation, which allows our attack to succeed. The Resurrection Attack is a serious security flaw that could be exploited to steal sensitive data or gain unauthorized access to a system. It is important for users of Xilinx FPGAs to be aware of this vulnerability until this flaw is addressed.

cs.CR↗