File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
tests/gpu/torch/prune/plugins Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -93,13 +93,13 @@ def _get_model(initialize_megatron=True):
9393
9494 model = _get_model ()
9595
96- # Set seeds for deterministic dummy input generation AFTER model initialization
97- # (get_mcore_gpt_model calls initialize_for_megatron which sets seed=1234)
98- torch .manual_seed (1234 )
99- torch .cuda .manual_seed_all (1234 )
100- # Enable deterministic behavior for cuDNN
101- torch .backends .cudnn .deterministic = True
102- torch .backends .cudnn .benchmark = False
96+ # # Set seeds for deterministic dummy input generation AFTER model initialization
97+ # # (get_mcore_gpt_model calls initialize_for_megatron which sets seed=1234)
98+ # torch.manual_seed(1234)
99+ # torch.cuda.manual_seed_all(1234)
100+ # # Enable deterministic behavior for cuDNN
101+ # torch.backends.cudnn.deterministic = True
102+ # torch.backends.cudnn.benchmark = False
103103
104104 sd = model .state_dict ()
105105
You can’t perform that action at this time.
0 commit comments