You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 6a96243
Browse filesBrowse the repository at this point in the historyBrowse files
Address CodeRabbit review feedback on GDN FLOPs calculator
- Make GDN config strict: raise ValueError when linear_attention_freq is
None, raise TypeError on invalid types, assert list length matches
num_layers (mirrors existing MoE validation pattern)
- Replace getattr fallbacks for GDN dims with direct attribute access so
missing fields fail explicitly
- Add @pytest.mark.unit to TestGDNLayerFlops class
- Strengthen test_gdn_layer_freq_list to verify 6/2 split by comparing
against equivalent int freq=3 and against pure-standard baseline
Signed-off-by: Chen Cui <chcui@nvidia.com>
0 commit comments