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

NotImplementedError #15

Open
Cyril-ljx opened this issue Nov 22, 2024 · 1 comment
Open

NotImplementedError #15

Cyril-ljx opened this issue Nov 22, 2024 · 1 comment

Comments

@Cyril-ljx
Copy link

I tried to use the code in Example Code and changed the path to mine, but there was an error:

File "/data/anaconda3/envs/videoxl/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1158, in convert
return t.to(device, dtype if t.is_floating_point() or t.is_complex() else None, non_blocking)
NotImplementedError: Cannot copy out of meta tensor; no data!
How to solve this problem?

@shuyansy
Copy link
Collaborator

I guess there is sth wrong with your environment. Here is mine, which you can take a reference.

accelerate 1.1.1
aiofiles 23.2.1
aiohappyeyeballs 2.4.3
aiohttp 3.11.7
aiosignal 1.3.1
altair 5.4.1
annotated-types 0.7.0
anyio 4.6.2.post1
appdirs 1.4.4
async-timeout 5.0.1
attrs 24.2.0
av 13.1.0
bitsandbytes 0.41.0
certifi 2022.12.7
charset-normalizer 2.1.1
click 8.1.7
contourpy 1.3.1
cycler 0.12.1
datasets 2.16.1
decord 0.6.0
deepspeed 0.12.2
dill 0.3.7
docker-pycreds 0.4.0
docstring_parser 0.16
einops 0.6.1
einops-exts 0.0.4
evaluate 0.4.3
exceptiongroup 1.2.2
fastapi 0.115.5
ffmpy 0.4.0
filelock 3.13.1
flash-attn 2.7.0.post2
fonttools 4.55.0
frozenlist 1.5.0
fsspec 2023.10.0
ftfy 6.3.1
gitdb 4.0.11
GitPython 3.1.43
gradio 3.50.2
gradio_client 0.6.1
h11 0.14.0
hf_transfer 0.1.8
hjson 3.1.0
httpcore 0.17.3
httpx 0.24.0
huggingface-hub 0.26.2
idna 3.4
importlib_resources 6.4.5
iniconfig 2.0.0
Jinja2 3.1.3
joblib 1.4.2
jsonschema 4.23.0
jsonschema-specifications 2024.10.1
kiwisolver 1.4.7
latex2mathml 3.77.0
loguru 0.7.2
longva 1.7.0.dev0 /share/junjie/shuyan/new2_beacon/longva
markdown-it-py 3.0.0
markdown2 2.5.1
MarkupSafe 2.1.5
matplotlib 3.9.2
mdurl 0.1.2
mpmath 1.3.0
msgpack 1.1.0
multidict 6.1.0
multiprocess 0.70.15
narwhals 1.14.1
networkx 3.2.1
ninja 1.11.1.1
numpy 1.26.4
nvidia-cublas-cu12 12.1.3.1
nvidia-cuda-cupti-cu12 12.1.105
nvidia-cuda-nvrtc-cu12 12.1.105
nvidia-cuda-runtime-cu12 12.1.105
nvidia-cudnn-cu12 8.9.2.26
nvidia-cufft-cu12 11.0.2.54
nvidia-curand-cu12 10.3.2.106
nvidia-cusolver-cu12 11.4.5.107
nvidia-cusparse-cu12 12.1.0.106
nvidia-ml-py 12.560.30
nvidia-nccl-cu12 2.19.3
nvidia-nvjitlink-cu12 12.1.105
nvidia-nvtx-cu12 12.1.105
open_clip_torch 2.29.0
opencv-python 4.10.0.84
orjson 3.10.11
packaging 24.2
pandas 2.2.3
peft 0.4.0
pillow 10.2.0
pip 24.2
pluggy 1.5.0
propcache 0.2.0
protobuf 4.25.5
psutil 6.1.0
py-cpuinfo 9.0.0
pyarrow 18.0.0
pyarrow-hotfix 0.6
pydantic 1.10.8
pydantic_core 2.27.1
pydub 0.25.1
Pygments 2.18.0
pynvml 11.5.3
pyparsing 3.2.0
pytest 8.3.3
python-dateutil 2.9.0.post0
python-multipart 0.0.17
pytz 2024.2
PyYAML 6.0.2
referencing 0.35.1
regex 2024.11.6
requests 2.32.3
rich 13.9.4
ring-flash-attn 0.1.1
rpds-py 0.21.0
ruff 0.8.0
safetensors 0.4.5
scikit-learn 1.2.2
scipy 1.14.1
seaborn 0.13.2
semantic-version 2.10.0
sentencepiece 0.1.99
sentry-sdk 2.19.0
setproctitle 1.3.4
setuptools 75.1.0
shellingham 1.5.4
shortuuid 1.0.13
shtab 1.7.1
six 1.16.0
smmap 5.0.1
sniffio 1.3.1
starlette 0.41.3
svgwrite 1.4.3
sympy 1.13.1
threadpoolctl 3.5.0
timm 1.0.11
tokenizers 0.19.1
tomli 2.1.0
tomlkit 0.12.0
torch 2.2.2+cu121
torchaudio 2.2.2+cu121
torchvision 0.17.2+cu121
tqdm 4.67.0
transformers 4.43.0
triton 2.2.0
typer 0.13.1
typing_extensions 4.12.2
tyro 0.9.1
tzdata 2024.2
urllib3 1.26.20
uvicorn 0.32.1
wandb 0.16.5
wavedrom 2.0.3.post3
wcwidth 0.2.13
websockets 11.0.3
wheel 0.44.0
xxhash 3.5.0
yarl 1.18.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

No branches or pull requests

2 participants