Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Not able to download model through HuggingFace #532

Open
rahulb99 opened this issue Feb 2, 2025 · 0 comments
Open

[BUG] Not able to download model through HuggingFace #532

rahulb99 opened this issue Feb 2, 2025 · 0 comments

Comments

@rahulb99
Copy link

rahulb99 commented Feb 2, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant