Describe the bug
Getting the following error:
ImportError: cannot import name 'is_torch_greater_or_equal_than_1_13' from 'transformers.pytorch_utils' (/home/user/miniconda3/envs/venv/lib/python3.12/site-packages/transformers/pytorch_utils.py). Did you mean: 'is_torch_greater_or_equal_than_2_1'?
To Reproduce
Following the code example on https://huggingface.co/deepseek-ai/DeepSeek-V3
# Load model directly
from transformers import AutoModelForCausalLM
model = AutoModelForCausalLM.from_pretrained("deepseek-ai/DeepSeek-V3", trust_remote_code=True)
Additional context
Refer to this PR: huggingface/transformers#35734