Skip to content

module 'torch' has no attribute 'uint64' #21

@coding12345671234567

Description

@coding12345671234567

Couldn't load dpretrieval. It may not be installed.
Error importing huggingface_hub.hub_mixin: module 'torch' has no attribute 'uint64'
Error importing huggingface_hub.hub_mixin: module 'torch' has no attribute 'uint64'
Traceback (most recent call last):
File "/home/VGGT-Long/vggt_long.py", line 21, in
from vggt.models.vggt import VGGT
File "/home/VGGT-Long/vggt/models/vggt.py", line 9, in
from huggingface_hub import PyTorchModelHubMixin # used for model hub
ImportError: cannot import name 'PyTorchModelHubMixin' from 'huggingface_hub'

error!!!

pip list:
Package Version


aiohappyeyeballs 2.6.1
aiohttp 3.12.15
aiosignal 1.4.0
async-timeout 5.0.1
attrs 25.3.0
certifi 2022.12.7
charset-normalizer 2.1.1
coloredlogs 15.0.1
einops 0.8.1
faiss-gpu 1.7.2
filelock 3.13.1
flatbuffers 25.2.10
frozenlist 1.7.0
fsspec 2024.6.1
hf-xet 1.1.7
huggingface-hub 0.34.3
humanfriendly 10.0
idna 3.4
importlib_metadata 8.7.0
Jinja2 3.1.4
joblib 1.5.1
lightning-utilities 0.15.2
llvmlite 0.44.0
MarkupSafe 2.1.5
mpmath 1.3.0
multidict 6.6.3
networkx 3.3
numba 0.61.2
numpy 1.26.1
nvidia-cublas-cu11 11.11.3.6
nvidia-cuda-cupti-cu11 11.8.87
nvidia-cuda-nvrtc-cu11 11.8.89
nvidia-cuda-runtime-cu11 11.8.89
nvidia-cudnn-cu11 8.7.0.84
nvidia-cufft-cu11 10.9.0.58
nvidia-curand-cu11 10.3.0.86
nvidia-cusolver-cu11 11.4.1.48
nvidia-cusparse-cu11 11.7.5.86
nvidia-nccl-cu11 2.19.3
nvidia-nvtx-cu11 11.8.86
onnxruntime 1.22.1
packaging 25.0
pandas 2.3.1
pillow 11.0.0
pip 25.1
prettytable 3.16.0
propcache 0.3.2
protobuf 6.31.1
pyparsing 3.2.3
python-dateutil 2.9.0.post0
pytorch-lightning 2.5.2
pytorch-metric-learning 2.8.1
pytz 2025.2
PyYAML 6.0.2
requests 2.28.1
safetensors 0.6.1
scikit-learn 1.7.1
scipy 1.15.3
setuptools 78.1.1
six 1.17.0
sympy 1.13.3
threadpoolctl 3.6.0
torch 2.2.0+cu118
torchaudio 2.2.0+cu118
torchmetrics 1.8.0
torchvision 0.17.0+cu118
tqdm 4.67.1
triton 2.2.0
typing_extensions 4.12.2
tzdata 2025.2
urllib3 1.26.13
wcwidth 0.2.13
wheel 0.45.1
xformers 0.0.24
yarl 1.20.1
zipp 3.23.0

nvcc -V
Cuda compilation tools, release 11.8, V11.8.89

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions