Skip to content

Error on Apple M1 #13

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

Open
gzjaychen opened this issue Aug 27, 2023 · 0 comments
Open

Error on Apple M1 #13

gzjaychen opened this issue Aug 27, 2023 · 0 comments

Comments

@gzjaychen
Copy link

return torch._C._cuda_resetPeakMemoryStats(device)
AttributeError: module 'torch._C' has no attribute '_cuda_resetPeakMemoryStats'
[VRAMEstimator] Starting benchmark...
Traceback (most recent call last):
File "/Users/xxx/github/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/routes.py", line 422, in run_predict
output = await app.get_blocks().process_api(
File "/Users/xxx/github/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/blocks.py", line 1323, in process_api
result = await self.call_function(
File "/Users/xxx/github/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/blocks.py", line 1051, in call_function
prediction = await anyio.to_thread.run_sync(
File "/Users/xxx/github/stable-diffusion-webui/venv/lib/python3.10/site-packages/anyio/to_thread.py", line 33, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "/Users/xxx/github/stable-diffusion-webui/venv/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 877, in run_sync_in_worker_thread
return await future
File "/Users/xxx/github/stable-diffusion-webui/venv/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 807, in run
result = context.run(func, *args)
File "/Users/xxx/github/stable-diffusion-webui/extensions/a1111-stable-diffusion-webui-vram-estimator/scripts/vram_estimator.py", line 119, in run_benchmark
mem_stats = get_memory_stats()
File "/Users/xxx/github/stable-diffusion-webui/extensions/a1111-stable-diffusion-webui-vram-estimator/scripts/vram_estimator.py", line 92, in get_memory_stats
torch.cuda.reset_peak_memory_stats()
File "/Users/xxx/github/stable-diffusion-webui/venv/lib/python3.10/site-packages/torch/cuda/memory.py", line 281, in reset_peak_memory_stats

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

1 participant