Sumukh Chaluvaraju

Results issues of Sumukh Chaluvaraju

## Problem In the GQA (Grouped Query Attention) reshape operations, the number of query heads per KV head group is computed as: ```python int(kg / self.num_kv_heads) # float division →...

## Summary Implements the **MARS** optimizer from [Hu et al., NeurIPS 2024](https://arxiv.org/abs/2411.10438) — *MARS: Unleashing the Power of Variance Reduction for Training Large Models*. Closes #1561. --- ### Algorithm MARS...

## Summary - Add `optax.contrib.cautious`, implementing the **Cautious Optimizer** ([Liang et al., 2024](https://arxiv.org/abs/2411.16085)) - A wrapper around **any** base optimizer that masks the coordinates of the update which would move...

## Problem In `trimap/trimap.py`, the `else` branch for input normalization (lines 447–450) was incorrectly paired with `if verbose` instead of `if dim > _DIM_PCA and apply_pca`. **Buggy logic:** ```python if...

## Summary Four data integrity bugs in `instruction_following_eval/data/input_data.jsonl` where the evaluation `kwargs` are inconsistent with the `prompt` text. These cause the IFEval evaluator to score model responses against incorrect criteria,...

## What `flax.nnx.nn.attention.dot_product_attention` (and `dot_product_attention_weights`) validate q/k/v rank and shape invariants with plain `assert` statements. Python strips `assert` under `-O` / `PYTHONOPTIMIZE=1`, which is common in production serving. On the...

## What does this PR do? `nnx.clone()` currently uses copy-on-write semantics: new `Variable` wrapper objects are created but the underlying `jax.Array` buffers are shared with the original. This works for...

## What `jax.scipy.stats.multinomial.logpmf` (and `.pmf`) return `-inf` / `0` for **every row** of a batched input, even when each row is individually a valid count vector summing to `n`: ```python...

## Description `jax.lax.zeta(s, q)` (Hurwitz zeta function) returns incorrect values for non-integer `q < 0` when `|q| ≳ 8`. The error grows catastrophically as `q` becomes more negative. This is...

# What does this PR do? Adds `loss_type="weighted_nll"` to `SFTTrainer`, letting each training example carry a float `"weight"` column that scales its contribution to the loss. This is a lightweight...