ehartford commited on
Commit
5873643
·
verified ·
1 Parent(s): 4575315

Update modeling_deepseek.py

Browse files
Files changed (1) hide show
  1. modeling_deepseek.py +2 -1
modeling_deepseek.py CHANGED
@@ -43,8 +43,9 @@ from transformers.modeling_outputs import (
43
  from transformers.modeling_utils import PreTrainedModel
44
  from transformers.pytorch_utils import (
45
  ALL_LAYERNORM_LAYERS,
46
- is_torch_greater_or_equal_than_1_13,
47
  )
 
 
48
  from transformers.utils import (
49
  add_start_docstrings,
50
  add_start_docstrings_to_model_forward,
 
43
  from transformers.modeling_utils import PreTrainedModel
44
  from transformers.pytorch_utils import (
45
  ALL_LAYERNORM_LAYERS,
 
46
  )
47
+ def is_torch_greater_or_equal_than_1_13():
48
+ return True
49
  from transformers.utils import (
50
  add_start_docstrings,
51
  add_start_docstrings_to_model_forward,