[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2026-04-06 19:09:39 +00:00 committed by Roland Tannous
commit 67612861d6

View file

@ -1869,10 +1869,7 @@ def run_training_process(
# (Qwen3.5, Gemma 4, etc.) are native and do NOT need it — enabling it
# bypasses the compiler (disabling fused CE).
_lowered = model_name.lower()
if (
"nemotron" in _lowered
and not config.get("trust_remote_code", False)
):
if "nemotron" in _lowered and not config.get("trust_remote_code", False):
config["trust_remote_code"] = True
logger.info(
"Auto-enabled trust_remote_code for Nemotron model: %s",