Skip to content

Commit

Permalink
commit change
Browse files Browse the repository at this point in the history
  • Loading branch information
Chuck Tang committed Jun 17, 2024
1 parent 412e0cd commit 9f00f61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/a_scripts/inference/test_convert_composer_to_hf.py
Original file line number Diff line number Diff line change
Expand Up @@ -928,7 +928,7 @@ def test_huggingface_conversion_callback(

context_manager = te.onnx_export(
True,
) if trainer_precision == 'amp_fp8' else contextlib.nullcontext()
) if trainer_precision == 'amp_fp8' else contextlib.nullcontext() # type: ignore
with context_manager:
with FSDP.summon_full_params(
trainer.state.model,
Expand Down

0 comments on commit 9f00f61

Please sign in to comment.