Closed snargleplax closed 1 year ago
Fixed sorry about that, please update the extension again
On Tue, Jan 31, 2023, 12:47 PM Luke Meyers @.***> wrote:
I am getting this error consistently after installing the extension and attempting to do a test run:
Processing 1 image(s) Traceback (most recent call last): File "/home/snargleplax/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/routes.py", line 337, in run_predict output = await app.get_blocks().process_api( File "/home/snargleplax/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/blocks.py", line 1015, in process_api result = await self.call_function( File "/home/snargleplax/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/blocks.py", line 833, in call_function prediction = await anyio.to_thread.run_sync( File "/home/snargleplax/stable-diffusion-webui/venv/lib/python3.10/site-packages/anyio/to_thread.py", line 31, in run_sync return await get_asynclib().run_sync_in_worker_thread( File "/home/snargleplax/stable-diffusion-webui/venv/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 937, in run_sync_in_worker_thread return await future File "/home/snargleplax/stable-diffusion-webui/venv/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 867, in run result = context.run(func, *args) File "/home/snargleplax/stable-diffusion-webui/extensions/stable-diffusion-webui-instruct-pix2pix/scripts/instruct-pix2pix.py", line 306, in generate raise e File "/home/snargleplax/stable-diffusion-webui/extensions/stable-diffusion-webui-instruct-pix2pix/scripts/instruct-pix2pix.py", line 263, in generate sigmas = model_wrap.get_sigmas(steps) File "/home/snargleplax/stable-diffusion-webui/repositories/k-diffusion/k_diffusion/external.py", line 63, in get_sigmas t = torch.linspace(t_max, 0, n, device=self.sigmas.device) TypeError: linspace(): argument 'steps' (position 3) must be int, not str
System info:
webui commit: 2c1bb46c7ad5b4536f6587d327a03f0ff7811c5d extension commit: 6e7cb7236756cf67d3bad53eae3200f4f72b76de GPU/VRAM: NVIDIA GeForce RTX 3080 12GB CPU: Intel Core i9-13900K
— Reply to this email directly, view it on GitHub https://github.com/Klace/stable-diffusion-webui-instruct-pix2pix/issues/53, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGGO6IZPVDD6LNFJBZXOZUTWVFFZJANCNFSM6AAAAAAUMXMVR4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Fantastic, works great now! Thanks so much for the prompt (no pun) fix.
I am getting this error consistently after installing the extension and attempting to do a test run:
System info: