You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I run the gradio demo on both 4090 and A100. Both machines will encounter this error. Is there any solution for this?
File "/server/miniconda3/envs/anyv2v/lib/python3.10/site-packages/gradio/routes.py", line 523, in run_predict
output = await app.get_blocks().process_api(
File "/server/miniconda3/envs/anyv2v/lib/python3.10/site-packages/gradio/blocks.py", line 1437, in process_api
result = await self.call_function(
File "/server/miniconda3/envs/anyv2v/lib/python3.10/site-packages/gradio/blocks.py", line 1109, in call_function
prediction = await anyio.to_thread.run_sync(
File "/server/miniconda3/envs/anyv2v/lib/python3.10/site-packages/anyio/to_thread.py", line 56, in run_sync
return await get_async_backend().run_sync_in_worker_thread(
File "/server/miniconda3/envs/anyv2v/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2461, in run_sync_in_worker_thread
return await future
File "/server/miniconda3/envs/anyv2v/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 962, in run
result = context.run(func, *args)
File "/server/miniconda3/envs/anyv2v/lib/python3.10/site-packages/gradio/utils.py", line 865, in wrapper
response = f(*args, **kwargs)
File "/server/AnyV2V/gradio_demo.py", line 295, in btn_infer_fn
result_video_path = AnyV2V_Editor.perform_anyv2v(video_path=video_path,
File "/server/miniconda3/envs/anyv2v/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "/server/AnyV2V/gradio_demo.py", line 140, in perform_anyv2v
_ddim_latents = ddim_inversion(
File "/server/AnyV2V/i2vgen-xl/run_group_ddim_inversion.py", line 37, in ddim_inversion
ddim_latents = pipe.invert(
File "/server/miniconda3/envs/anyv2v/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "/server/AnyV2V/i2vgen-xl/pipelines/pipeline_i2vgen_xl.py", line 1418, in invert
latents = self.scheduler.step(noise_pred, t, latents, **extra_step_kwargs).prev_sample
File "/server/miniconda3/envs/anyv2v/lib/python3.10/site-packages/diffusers/schedulers/scheduling_ddim_inverse.py", line 337, in step
alpha_prod_t = self.alphas_cumprod[timestep] if timestep >= 0 else self.initial_alpha_cumprod
RuntimeError: indices should be either on cpu or on the same device as the indexed tensor (CPU)
Hi, I run the gradio demo on both 4090 and A100. Both machines will encounter this error. Is there any solution for this?
Conda environment:
The text was updated successfully, but these errors were encountered: