You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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'?
# Load model directly
from transformers import AutoModelForCausalLM
model = AutoModelForCausalLM.from_pretrained("deepseek-ai/DeepSeek-V3", trust_remote_code=True)
Describe the bug
Getting the following error:
To Reproduce
Following the code example on https://huggingface.co/deepseek-ai/DeepSeek-V3
Additional context
Refer to this PR: huggingface/transformers#35734
The text was updated successfully, but these errors were encountered: