Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions scripts/performance/perf_plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,11 @@ def _set_model_specific_environment_variables(
if "NVTE_NORM_BWD_USE_CUDNN" in executor.env_vars:
executor.env_vars.pop("NVTE_NORM_BWD_USE_CUDNN")

if model_recipe_name in ["nemotron_3_nano"] and compute_dtype == "nvfp4":
executor.env_vars["NVTE_NVFP4_DISABLE_RHT"] = "1"
executor.env_vars["NVTE_NVFP4_DISABLE_STOCHASTIC_ROUNDING"] = "1"
executor.env_vars["NVTE_NVFP4_DISABLE_2D_QUANTIZATION"] = "1"

def _set_layernorm_sm_margin(
self,
task: Union["run.Partial", "run.Script"],
Expand Down