Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@9f1677f0ab0c:/# ./start.sh
- Container Started
- Starting api
- starting worker
- credentials.py :1123 2023-07-24 01:11:56,173 Found credentials in environment variables.
- run handler – from 18 May 2023 02:08
- API is not available, retrying in 200ms... (HTTPConnectionPool(host='127.0.0.1', port=3000): Max retries exceeded with url: /queue/status (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0600dbe950>: Failed to establish a new connection: [Errno 111] Connection refused')))
- API is not available, retrying in 200ms... (HTTPConnectionPool(host='127.0.0.1', port=3000): Max retries exceeded with url: /queue/status (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0600dbca30>: Failed to establish a new connection: [Errno 111] Connection refused')))
- API is not available, retrying in 200ms... (HTTPConnectionPool(host='127.0.0.1', port=3000): Max retries exceeded with url: /queue/status (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0600dbd360>: Failed to establish a new connection: [Errno 111] Connection refused')))
- API is not available, retrying in 200ms... (HTTPConnectionPool(host='127.0.0.1', port=3000): Max retries exceeded with url: /queue/status (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0600dbc4c0>: Failed to establish a new connection: [Errno 111] Connection refused')))
- API is not available, retrying in 200ms... (HTTPConnectionPool(host='127.0.0.1', port=3000): Max retries exceeded with url: /queue/status (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0600dbcb80>: Failed to establish a new connection: [Errno 111] Connection refused')))
- API is not available, retrying in 200ms... (HTTPConnectionPool(host='127.0.0.1', port=3000): Max retries exceeded with url: /queue/status (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0600dbdbd0>: Failed to establish a new connection: [Errno 111] Connection refused')))
- API is not available, retrying in 200ms... (HTTPConnectionPool(host='127.0.0.1', port=3000): Max retries exceeded with url: /queue/status (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0600dbdc90>: Failed to establish a new connection: [Errno 111] Connection refused')))
- API is not available, retrying in 200ms... (HTTPConnectionPool(host='127.0.0.1', port=3000): Max retries exceeded with url: /queue/status (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0600d78b80>: Failed to establish a new connection: [Errno 111] Connection refused')))
- API is not available, retrying in 200ms... (HTTPConnectionPool(host='127.0.0.1', port=3000): Max retries exceeded with url: /queue/status (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0600dbe320>: Failed to establish a new connection: [Errno 111] Connection refused')))
- API is not available, retrying in 200ms... (HTTPConnectionPool(host='127.0.0.1', port=3000): Max retries exceeded with url: /queue/status (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0600dbda50>: Failed to establish a new connection: [Errno 111] Connection refused')))
- API is not available, retrying in 200ms... (HTTPConnectionPool(host='127.0.0.1', port=3000): Max retries exceeded with url: /queue/status (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0600dbe6e0>: Failed to establish a new connection: [Errno 111] Connection refused')))
- API is not available, retrying in 200ms... (HTTPConnectionPool(host='127.0.0.1', port=3000): Max retries exceeded with url: /queue/status (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0600dbc790>: Failed to establish a new connection: [Errno 111] Connection refused')))
- API is not available, retrying in 200ms... (HTTPConnectionPool(host='127.0.0.1', port=3000): Max retries exceeded with url: /queue/status (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0600dbd1e0>: Failed to establish a new connection: [Errno 111] Connection refused')))
- API is not available, retrying in 200ms... (HTTPConnectionPool(host='127.0.0.1', port=3000): Max retries exceeded with url: /queue/status (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0600d7b2e0>: Failed to establish a new connection: [Errno 111] Connection refused')))
- API is not available, retrying in 200ms... (HTTPConnectionPool(host='127.0.0.1', port=3000): Max retries exceeded with url: /queue/status (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0600dbd420>: Failed to establish a new connection: [Errno 111] Connection refused')))
- API is not available, retrying in 200ms... (HTTPConnectionPool(host='127.0.0.1', port=3000): Max retries exceeded with url: /queue/status (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0600dbc2b0>: Failed to establish a new connection: [Errno 111] Connection refused')))
- API is not available, retrying in 200ms... (HTTPConnectionPool(host='127.0.0.1', port=3000): Max retries exceeded with url: /queue/status (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0600dbd540>: Failed to establish a new connection: [Errno 111] Connection refused')))
- API is not available, retrying in 200ms... (HTTPConnectionPool(host='127.0.0.1', port=3000): Max retries exceeded with url: /queue/status (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0600dbdd80>: Failed to establish a new connection: [Errno 111] Connection refused')))
- API is not available, retrying in 200ms... (HTTPConnectionPool(host='127.0.0.1', port=3000): Max retries exceeded with url: /queue/status (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0600d78d90>: Failed to establish a new connection: [Errno 111] Connection refused')))
- API is not available, retrying in 200ms... (HTTPConnectionPool(host='127.0.0.1', port=3000): Max retries exceeded with url: /queue/status (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0600dbe500>: Failed to establish a new connection: [Errno 111] Connection refused')))
- API is not available, retrying in 200ms... (HTTPConnectionPool(host='127.0.0.1', port=3000): Max retries exceeded with url: /queue/status (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0600dbd8a0>: Failed to establish a new connection: [Errno 111] Connection refused')))
- API is not available, retrying in 200ms... (HTTPConnectionPool(host='127.0.0.1', port=3000): Max retries exceeded with url: /queue/status (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0600dbea40>: Failed to establish a new connection: [Errno 111] Connection refused')))
- API is not available, retrying in 200ms... (HTTPConnectionPool(host='127.0.0.1', port=3000): Max retries exceeded with url: /queue/status (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0600dbc7f0>: Failed to establish a new connection: [Errno 111] Connection refused')))
- API is not available, retrying in 200ms... (HTTPConnectionPool(host='127.0.0.1', port=3000): Max retries exceeded with url: /queue/status (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0600dbd030>: Failed to establish a new connection: [Errno 111] Connection refused')))
- API is not available, retrying in 200ms... (HTTPConnectionPool(host='127.0.0.1', port=3000): Max retries exceeded with url: /queue/status (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0600d78ee0>: Failed to establish a new connection: [Errno 111] Connection refused')))
- API is not available, retrying in 200ms... (HTTPConnectionPool(host='127.0.0.1', port=3000): Max retries exceeded with url: /queue/status (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0600dbd0f0>: Failed to establish a new connection: [Errno 111] Connection refused')))
- API is not available, retrying in 200ms... (HTTPConnectionPool(host='127.0.0.1', port=3000): Max retries exceeded with url: /queue/status (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0600dbc1f0>: Failed to establish a new connection: [Errno 111] Connection refused')))
- API is not available, retrying in 200ms... (HTTPConnectionPool(host='127.0.0.1', port=3000): Max retries exceeded with url: /queue/status (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0600dbcbb0>: Failed to establish a new connection: [Errno 111] Connection refused')))
- 2023-07-24 01:12:01,866 - ControlNet - INFO - ControlNet v1.1.233
- API is not available, retrying in 200ms... (HTTPConnectionPool(host='127.0.0.1', port=3000): Max retries exceeded with url: /queue/status (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0600dbdc30>: Failed to establish a new connection: [Errno 111] Connection refused')))
- ControlNet preprocessor location: /workspace/stable-diffusion-webui/extensions/sd-webui-controlnet/annotator/downloads
- API is not available, retrying in 200ms... (HTTPConnectionPool(host='127.0.0.1', port=3000): Max retries exceeded with url: /queue/status (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0600dbe020>: Failed to establish a new connection: [Errno 111] Connection refused')))
- 2023-07-24 01:12:02,150 - ControlNet - INFO - ControlNet v1.1.233
- API is not available, retrying in 200ms... (HTTPConnectionPool(host='127.0.0.1', port=3000): Max retries exceeded with url: /queue/status (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0600d637f0>: Failed to establish a new connection: [Errno 111] Connection refused')))
- API is not available, retrying in 200ms... (HTTPConnectionPool(host='127.0.0.1', port=3000): Max retries exceeded with url: /queue/status (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0600dbdde0>: Failed to establish a new connection: [Errno 111] Connection refused')))
- API is not available, retrying in 200ms... (HTTPConnectionPool(host='127.0.0.1', port=3000): Max retries exceeded with url: /queue/status (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0600dbd480>: Failed to establish a new connection: [Errno 111] Connection refused')))
- API is not available, retrying in 200ms... (HTTPConnectionPool(host='127.0.0.1', port=3000): Max retries exceeded with url: /queue/status (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0600dbc370>: Failed to establish a new connection: [Errno 111] Connection refused')))
- API is not available, retrying in 200ms... (HTTPConnectionPool(host='127.0.0.1', port=3000): Max retries exceeded with url: /queue/status (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0600dbd0c0>: Failed to establish a new connection: [Errno 111] Connection refused')))
- preload_extensions_git_metadata for 8 extensions took 0.13s
- API is not available, retrying in 200ms... (HTTPConnectionPool(host='127.0.0.1', port=3000): Max retries exceeded with url: /queue/status (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0600dbcca0>: Failed to establish a new connection: [Errno 111] Connection refused')))
- API is not available, retrying in 200ms... (HTTPConnectionPool(host='127.0.0.1', port=3000): Max retries exceeded with url: /queue/status (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0600d63f10>: Failed to establish a new connection: [Errno 111] Connection refused')))
- API is not available, retrying in 200ms... (HTTPConnectionPool(host='127.0.0.1', port=3000): Max retries exceeded with url: /queue/status (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0600dbccd0>: Failed to establish a new connection: [Errno 111] Connection refused')))
- API is not available, retrying in 200ms... (HTTPConnectionPool(host='127.0.0.1', port=3000): Max retries exceeded with url: /queue/status (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0600dbc430>: Failed to establish a new connection: [Errno 111] Connection refused')))
- API is not available, retrying in 200ms... (HTTPConnectionPool(host='127.0.0.1', port=3000): Max retries exceeded with url: /queue/status (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0600dbe9b0>: Failed to establish a new connection: [Errno 111] Connection refused')))
- run handler
- --- Starting Serverless Worker ---
- WARN | test_input set, using test_input as job input
- DEBUG | test_input_provided | Job Confirmed
- DEBUG | test_input_provided | Set Job ID
- INFO | test_input_provided | Started
- event: {'input': {'payload': {'prompt': '(Best quality, 8k, 32k, Masterpiece, UHD:1.2),Photo of Pretty Japanese woman, 1girl, with a huge diamond necklace, front view, with pink short ponytail, ((big warm grin)), wearing a white tulle suspender wedding dress with flower-shaped lace and pearl embellishments and a short sleeve, (medium short [dark brown} hair), (big breasts:1.4), double eyelid, front shot, stare into the distance', 'negative_prompt': 'sfw ng_deepnegative_v1_75t, ((badhandv4)), (worst quality:2), (low quality:2), (normal quality:2), lowres, bad anatomy, bad hands, normal quality, ((monochrome)), ((grayscale)) watermark, bad legs, bad arms', 'inference_steps': 20, 'cfg_scale': 7, 'seed': -1, 'enable_hr': True, 'hr_upscaler': 'Latent', 'sampler_name': 'DPM++ 2M Karras', 'denoising_strength': 0.7, 'width': 512, 'height': 512, 'n_iter': 1}, 'timestamp_request_sent': 0, 'model_name': 'v1-5-pruned-emaonly.safetensors'}, 'webhook': 'https://webhook.site/71233761-790c-4712-bde1-56cdcb5c0b4c', 'id': 'test_input_provided'}
- http://127.0.0.1:3000/sdapi/v1/options: 404 {"detail":"Not Found"}
- http://127.0.0.1:3000/sdapi/v1/options: 404 {"detail":"Not Found"}
- http://127.0.0.1:3000/sdapi/v1/options: 404 {"detail":"Not Found"}
- http://127.0.0.1:3000/sdapi/v1/options: 404 {"detail":"Not Found"}
- http://127.0.0.1:3000/sdapi/v1/options: 404 {"detail":"Not Found"}
- http://127.0.0.1:3000/sdapi/v1/options: 404 {"detail":"Not Found"}
- Running on local URL: http://127.0.0.1:3000
- To create a public link, set `share=True` in `launch()`.
- Startup time: 8.8s (import torch: 1.4s, import gradio: 1.0s, import ldm: 1.0s, other imports: 1.3s, setup codeformer: 0.2s, api.py: 0.7s, controlnet.py: 0.3s, lora_script.py: 0.2s, create ui: 1.5s, gradio launch: 0.8s).
- http://127.0.0.1:3000/sdapi/v1/options: 200 null
- Elapsed time: 0.6852085590362549 seconds
- http://127.0.0.1:3000/sdapi/v1/refresh-checkpoints: 200 null
- Elapsed time: 0.35150909423828125 seconds
- Loading weights [6ce0161689] from /workspace/stable-diffusion-webui/models/Stable-diffusion/v1-5-pruned-emaonly.safetensors
- Creating model from config: /workspace/stable-diffusion-webui/configs/v1-inference.yaml
- LatentDiffusion: Running in eps-prediction mode
- DiffusionWrapper has 859.52 M params.
- Textual inversion embeddings loaded(0):
- Model loaded in 12.5s (create model: 0.4s, apply weights to model: 9.7s, apply half(): 0.5s, load VAE: 0.9s, move model to device: 0.3s, calculate empty prompt: 0.5s).
- http://127.0.0.1:3000/sdapi/v1/reload-checkpoint: 200 {}
- Elapsed time: 13.682453870773315 seconds
- 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 50/50 [00:05<00:00, 8.39it/s]
- 0%| | 0/50 [00:00<?, ?it/s]
- *** API error: POST: http://127.0.0.1:3000/sdapi/v1/txt2img {'error': 'OutOfMemoryError', 'detail': '', 'body': '', 'errors': 'CUDA out of memory. Tried to allocate 8.00 GiB (GPU 0; 23.65 GiB total capacity; 6.12 GiB already allocated; 7.93 GiB free; 14.12 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation. See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF'}
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/anyio/streams/memory.py", line 98, in receive
- return self.receive_nowait()
- File "/usr/local/lib/python3.10/dist-packages/anyio/streams/memory.py", line 93, in receive_nowait
- raise WouldBlock
- anyio.WouldBlock
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/base.py", line 78, in call_next
- message = await recv_stream.receive()
- File "/usr/local/lib/python3.10/dist-packages/anyio/streams/memory.py", line 118, in receive
- raise EndOfStream
- anyio.EndOfStream
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/workspace/stable-diffusion-webui/modules/api/api.py", line 153, in exception_handling
- return await call_next(request)
- File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/base.py", line 84, in call_next
- raise app_exc
- File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/base.py", line 70, in coro
- await self.app(scope, receive_or_disconnect, send_no_error)
- File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/base.py", line 108, in __call__
- response = await self.dispatch_func(request, call_next)
- File "/workspace/stable-diffusion-webui/modules/api/api.py", line 117, in log_and_time
- res: Response = await call_next(req)
- File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/base.py", line 84, in call_next
- raise app_exc
- File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/base.py", line 70, in coro
- await self.app(scope, receive_or_disconnect, send_no_error)
- File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/cors.py", line 83, in __call__
- await self.app(scope, receive, send)
- File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/gzip.py", line 24, in __call__
- await responder(scope, receive, send)
- File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/gzip.py", line 44, in __call__
- await self.app(scope, receive, self.send_with_gzip)
- File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/exceptions.py", line 79, in __call__
- raise exc
- File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/exceptions.py", line 68, in __call__
- await self.app(scope, receive, sender)
- File "/usr/local/lib/python3.10/dist-packages/fastapi/middleware/asyncexitstack.py", line 20, in __call__
- raise e
- File "/usr/local/lib/python3.10/dist-packages/fastapi/middleware/asyncexitstack.py", line 17, in __call__
- await self.app(scope, receive, send)
- File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 718, in __call__
- await route.handle(scope, receive, send)
- File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 276, in handle
- await self.app(scope, receive, send)
- File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 66, in app
- response = await func(request)
- File "/usr/local/lib/python3.10/dist-packages/fastapi/routing.py", line 273, in app
- raw_response = await run_endpoint_function(
- File "/usr/local/lib/python3.10/dist-packages/fastapi/routing.py", line 192, in run_endpoint_function
- return await run_in_threadpool(dependant.call, **values)
- File "/usr/local/lib/python3.10/dist-packages/starlette/concurrency.py", line 41, in run_in_threadpool
- return await anyio.to_thread.run_sync(func, *args)
- File "/usr/local/lib/python3.10/dist-packages/anyio/to_thread.py", line 33, in run_sync
- return await get_asynclib().run_sync_in_worker_thread(
- File "/usr/local/lib/python3.10/dist-packages/anyio/_backends/_asyncio.py", line 877, in run_sync_in_worker_thread
- return await future
- File "/usr/local/lib/python3.10/dist-packages/anyio/_backends/_asyncio.py", line 807, in run
- result = context.run(func, *args)
- File "/workspace/stable-diffusion-webui/modules/api/api.py", line 338, in text2imgapi
- processed = process_images(p)
- File "/workspace/stable-diffusion-webui/modules/processing.py", line 620, in process_images
- res = process_images_inner(p)
- File "/workspace/stable-diffusion-webui/extensions/sd-webui-controlnet/scripts/batch_hijack.py", line 42, in processing_process_images_hijack
- return getattr(processing, '__controlnet_original_process_images_inner')(p, *args, **kwargs)
- File "/workspace/stable-diffusion-webui/modules/processing.py", line 739, in process_images_inner
- samples_ddim = p.sample(conditioning=p.c, unconditional_conditioning=p.uc, seeds=p.seeds, subseeds=p.subseeds, subseed_strength=p.subseed_strength, prompts=p.prompts)
- File "/workspace/stable-diffusion-webui/modules/processing.py", line 1077, in sample
- samples = self.sampler.sample_img2img(self, samples, noise, self.hr_c, self.hr_uc, steps=self.hr_second_pass_steps or self.steps, image_conditioning=image_conditioning)
- File "/workspace/stable-diffusion-webui/modules/sd_samplers_kdiffusion.py", line 409, in sample_img2img
- samples = self.launch_sampling(t_enc + 1, lambda: self.func(self.model_wrap_cfg, xi, extra_args=extra_args, disable=False, callback=self.callback_state, **extra_params_kwargs))
- File "/workspace/stable-diffusion-webui/modules/sd_samplers_kdiffusion.py", line 278, in launch_sampling
- return func()
- File "/workspace/stable-diffusion-webui/modules/sd_samplers_kdiffusion.py", line 409, in <lambda>
- samples = self.launch_sampling(t_enc + 1, lambda: self.func(self.model_wrap_cfg, xi, extra_args=extra_args, disable=False, callback=self.callback_state, **extra_params_kwargs))
- File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
- return func(*args, **kwargs)
- File "/workspace/stable-diffusion-webui/repositories/k-diffusion/k_diffusion/sampling.py", line 594, in sample_dpmpp_2m
- denoised = model(x, sigmas[i] * s_in, **extra_args)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/workspace/stable-diffusion-webui/modules/sd_samplers_kdiffusion.py", line 177, in forward
- x_out[a:b] = self.inner_model(x_in[a:b], sigma_in[a:b], cond=make_condition_dict(c_crossattn, image_cond_in[a:b]))
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/workspace/stable-diffusion-webui/repositories/k-diffusion/k_diffusion/external.py", line 112, in forward
- eps = self.get_eps(input * c_in, self.sigma_to_t(sigma), **kwargs)
- File "/workspace/stable-diffusion-webui/repositories/k-diffusion/k_diffusion/external.py", line 138, in get_eps
- return self.inner_model.apply_model(*args, **kwargs)
- File "/workspace/stable-diffusion-webui/modules/sd_hijack_utils.py", line 17, in <lambda>
- setattr(resolved_obj, func_path[-1], lambda *args, **kwargs: self(*args, **kwargs))
- File "/workspace/stable-diffusion-webui/modules/sd_hijack_utils.py", line 28, in __call__
- return self.__orig_func(*args, **kwargs)
- File "/workspace/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/ldm/models/diffusion/ddpm.py", line 858, in apply_model
- x_recon = self.model(x_noisy, t, **cond)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/workspace/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/ldm/models/diffusion/ddpm.py", line 1335, in forward
- out = self.diffusion_model(x, t, context=cc)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/workspace/stable-diffusion-webui/modules/sd_unet.py", line 91, in UNetModel_forward
- return ldm.modules.diffusionmodules.openaimodel.copy_of_UNetModel_forward_for_webui(self, x, timesteps, context, *args, **kwargs)
- File "/workspace/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/ldm/modules/diffusionmodules/openaimodel.py", line 797, in forward
- h = module(h, emb, context)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/workspace/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/ldm/modules/diffusionmodules/openaimodel.py", line 84, in forward
- x = layer(x, context)
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/workspace/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/ldm/modules/attention.py", line 334, in forward
- x = block(x, context=context[i])
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/workspace/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/ldm/modules/attention.py", line 269, in forward
- return checkpoint(self._forward, (x, context), self.parameters(), self.checkpoint)
- File "/workspace/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/ldm/modules/diffusionmodules/util.py", line 121, in checkpoint
- return CheckpointFunction.apply(func, len(inputs), *args)
- File "/usr/local/lib/python3.10/dist-packages/torch/autograd/function.py", line 506, in apply
- return super().apply(*args, **kwargs) # type: ignore[misc]
- File "/workspace/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/ldm/modules/diffusionmodules/util.py", line 136, in forward
- output_tensors = ctx.run_function(*ctx.input_tensors)
- File "/workspace/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/ldm/modules/attention.py", line 272, in _forward
- x = self.attn1(self.norm1(x), context=context if self.disable_self_attn else None) + x
- File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1501, in _call_impl
- return forward_call(*args, **kwargs)
- File "/workspace/stable-diffusion-webui/modules/hypernetworks/hypernetwork.py", line 412, in attention_CrossAttention_forward
- attn = sim.softmax(dim=-1)
- torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 8.00 GiB (GPU 0; 23.65 GiB total capacity; 6.12 GiB already allocated; 7.93 GiB free; 14.12 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation. See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF
- ---
- DEBUG | test_input_provided | Handler output: {'error': 'AUTOMATIC_ERROR', 'statusCode': 500, 'body': '{"error":"OutOfMemoryError","detail":"","body":"","errors":"CUDA out of memory. Tried to allocate 8.00 GiB (GPU 0; 23.65 GiB total capacity; 6.12 GiB already allocated; 7.93 GiB free; 14.12 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation. See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF"}'}
- DEBUG | test_input_provided | run_job return: {'error': 'AUTOMATIC_ERROR'}
- DEBUG | rp_debugger | Flag not set, skipping debugger output.
- WARN | Local test job results for test_input_provided: {"error": "AUTOMATIC_ERROR"}
- INFO | test_input_provided | Finished
- ERROR | Job test_input_provided failed with error: AUTOMATIC_ERROR
- root@9f1677f0ab0c:/# Connection to 100.65.14.54 closed.██████████████████████████████████████████ | 50/100 [00:50<00:04, 10.70it/s]
- Connection to ssh.runpod.io closed.
- Olehs-MacBook-Prod:Downloads olehkopyl$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement