Skip to content

Conversation

@Narsil
Copy link
Contributor

@Narsil Narsil commented Jul 3, 2025

What does this PR do?

Fixes # (issue) or description of the problem this PR solves.

@Narsil Narsil requested a review from McPatate July 3, 2025 15:17
@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@Narsil Narsil merged commit 8814598 into main Jul 3, 2025
23 checks passed
@Narsil Narsil deleted the restore_uint_16_32_64_torch branch July 3, 2025 18:22
@BenjaminBossan
Copy link
Member

@Narsil What are the supported PyTorch versions? In v2.2.0, which is still supported by transformers, there is no torch.uint64, resulting in a failure to import safetensors.torch.

@surojit-ts
Copy link

@Narsil What are the supported PyTorch versions? In v2.2.0, which is still supported by transformers, there is no torch.uint64, resulting in a failure to import safetensors.torch.

Second this, I am also facing the same issue.

@zhichao-aws
Copy link

In v2.2.0, which is still supported by transformers, there is no torch.uint64, resulting in a failure to import safetensors.torch

Get the same exception when import PretrainedModel from transformers. I'm using transformers 4.44.1 and torch 2.0

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

Successfully merging this pull request may close these issues.

7 participants