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

cannot import name '_ignored_ops' from 'torch.utils.checkpoint' #320

Open
kkkwjr opened this issue Dec 13, 2024 · 1 comment
Open

cannot import name '_ignored_ops' from 'torch.utils.checkpoint' #320

kkkwjr opened this issue Dec 13, 2024 · 1 comment

Comments

@kkkwjr
Copy link

kkkwjr commented Dec 13, 2024

Traceback (most recent call last):
File "/workspace/kkkjr/Item/LiveTalking/app.py", line 568, in
from musereal import MuseReal
File "/workspace/kkkjr/Item/LiveTalking/musereal.py", line 21, in
from musetalk.utils.utils import get_file_type,get_video_fps,datagen
File "/workspace/kkkjr/Item/LiveTalking/musetalk/utils/utils.py", line 15, in
from musetalk.models.vae import VAE
File "/workspace/kkkjr/Item/LiveTalking/musetalk/models/vae.py", line 1, in
from diffusers import AutoencoderKL
File "", line 1075, in _handle_fromlist
File "/home/wpg/anaconda3/envs/livestream/lib/python3.10/site-packages/diffusers/utils/import_utils.py", line 844, in getattr
value = getattr(module, name)
File "/home/wpg/anaconda3/envs/livestream/lib/python3.10/site-packages/diffusers/utils/import_utils.py", line 843, in getattr
module = self._get_module(self._class_to_module[name])
File "/home/wpg/anaconda3/envs/livestream/lib/python3.10/site-packages/diffusers/utils/import_utils.py", line 855, in _get_module
raise RuntimeError(
RuntimeError: Failed to import diffusers.models.autoencoders.autoencoder_kl because of the following error (look up to see its traceback):
cannot import name '_ignored_ops' from 'torch.utils.checkpoint' (/home/wpg/anaconda3/envs/livestream/lib/python3.10/site-packages/torch/utils/checkpoint.py)

之前都没有问题,今天进环境突然发现启动不了,有人知道怎么解决吗?

@chhandsomed
Copy link

pip install ./ernerf/gridencoder ./ernerf/shencoder ./ernerf/raymarching

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