Traceback (most recent call last):
File "A:\AI\stable-diffusion-webui\venv\lib\site-packages\gradio\routes.py", line 408, in run_predict
output = await app.get_blocks().process_api(
File "A:\AI\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1315, in process_api
result = await self.call_function(
File "A:\AI\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1043, in call_function
prediction = await anyio.to_thread.run_sync(
File "A:\AI\stable-diffusion-webui\venv\lib\site-packages\anyio\to_thread.py", line 33, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "A:\AI\stable-diffusion-webui\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 877, in run_sync_in_worker_thread
return await future
File "A:\AI\stable-diffusion-webui\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 807, in run
result = context.run(func, *args)
File "A:\AI\stable-diffusion-webui\modules\call_queue.py", line 15, in f
res = func(*args, **kwargs)
File "A:\AI\stable-diffusion-webui\modules\ui.py", line 279, in update_token_counter
token_count, max_length = max([model_hijack.get_prompt_lengths(prompt) for prompt in prompts], key=lambda args: args[0])
File "A:\AI\stable-diffusion-webui\modules\ui.py", line 279, in <listcomp>
token_count, max_length = max([model_hijack.get_prompt_lengths(prompt) for prompt in prompts], key=lambda args: args[0])
File "A:\AI\stable-diffusion-webui\modules\sd_hijack.py", line 219, in get_prompt_lengths
_, token_count = self.clip.process_texts([text])
AttributeError: 'NoneType' object has no attribute 'process_texts'
Traceback (most recent call last):
File "A:\AI\stable-diffusion-webui\venv\lib\site-packages\gradio\routes.py", line 408, in run_predict
output = await app.get_blocks().process_api(
File "A:\AI\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1315, in process_api
result = await self.call_function(
File "A:\AI\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1043, in call_function
prediction = await anyio.to_thread.run_sync(
File "A:\AI\stable-diffusion-webui\venv\lib\site-packages\anyio\to_thread.py", line 33, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "A:\AI\stable-diffusion-webui\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 877, in run_sync_in_worker_thread
return await future
File "A:\AI\stable-diffusion-webui\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 807, in run
result = context.run(func, *args)
File "A:\AI\stable-diffusion-webui\modules\call_queue.py", line 15, in f
res = func(*args, **kwargs)
File "A:\AI\stable-diffusion-webui\modules\ui.py", line 279, in update_token_counter
token_count, max_length = max([model_hijack.get_prompt_lengths(prompt) for prompt in prompts], key=lambda args: args[0])
File "A:\AI\stable-diffusion-webui\modules\ui.py", line 279, in <listcomp>
token_count, max_length = max([model_hijack.get_prompt_lengths(prompt) for prompt in prompts], key=lambda args: args[0])
File "A:\AI\stable-diffusion-webui\modules\sd_hijack.py", line 219, in get_prompt_lengths
_, token_count = self.clip.process_texts([text])
AttributeError: 'NoneType' object has no attribute 'process_texts'
Traceback (most recent call last):
File "A:\AI\stable-diffusion-webui\venv\lib\site-packages\gradio\routes.py", line 408, in run_predict
output = await app.get_blocks().process_api(
File "A:\AI\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1315, in process_api
result = await self.call_function(
File "A:\AI\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1043, in call_function
prediction = await anyio.to_thread.run_sync(
File "A:\AI\stable-diffusion-webui\venv\lib\site-packages\anyio\to_thread.py", line 33, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "A:\AI\stable-diffusion-webui\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 877, in run_sync_in_worker_thread
return await future
File "A:\AI\stable-diffusion-webui\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 807, in run
result = context.run(func, *args)
File "A:\AI\stable-diffusion-webui\modules\call_queue.py", line 15, in f
res = func(*args, **kwargs)
File "A:\AI\stable-diffusion-webui\modules\ui.py", line 279, in update_token_counter
token_count, max_length = max([model_hijack.get_prompt_lengths(prompt) for prompt in prompts], key=lambda args: args[0])
File "A:\AI\stable-diffusion-webui\modules\ui.py", line 279, in <listcomp>
token_count, max_length = max([model_hijack.get_prompt_lengths(prompt) for prompt in prompts], key=lambda args: args[0])
File "A:\AI\stable-diffusion-webui\modules\sd_hijack.py", line 219, in get_prompt_lengths
_, token_count = self.clip.process_texts([text])
AttributeError: 'NoneType' object has no attribute 'process_texts'
Traceback (most recent call last):
File "A:\AI\stable-diffusion-webui\venv\lib\site-packages\gradio\routes.py", line 408, in run_predict
output = await app.get_blocks().process_api(
File "A:\AI\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1315, in process_api
result = await self.call_function(
File "A:\AI\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1043, in call_function
prediction = await anyio.to_thread.run_sync(
File "A:\AI\stable-diffusion-webui\venv\lib\site-packages\anyio\to_thread.py", line 33, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "A:\AI\stable-diffusion-webui\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 877, in run_sync_in_worker_thread
return await future
File "A:\AI\stable-diffusion-webui\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 807, in run
result = context.run(func, *args)
File "A:\AI\stable-diffusion-webui\modules\call_queue.py", line 15, in f
res = func(*args, **kwargs)
File "A:\AI\stable-diffusion-webui\modules\ui.py", line 279, in update_token_counter
token_count, max_length = max([model_hijack.get_prompt_lengths(prompt) for prompt in prompts], key=lambda args: args[0])
File "A:\AI\stable-diffusion-webui\modules\ui.py", line 279, in <listcomp>
token_count, max_length = max([model_hijack.get_prompt_lengths(prompt) for prompt in prompts], key=lambda args: args[0])
File "A:\AI\stable-diffusion-webui\modules\sd_hijack.py", line 219, in get_prompt_lengths
_, token_count = self.clip.process_texts([text])
AttributeError: 'NoneType' object has no attribute 'process_texts'
Is there an existing issue for this?
What happened?
when i start stable diffusion in the cmd i get a traceback most recent call
Steps to reproduce the problem
What should have happened?
it should just run normally
Commit where the problem happens
start of webui-user
What Python version are you running on ?
Python 3.10.x
What platforms do you use to access the UI ?
Windows
What device are you running WebUI on?
Nvidia GPUs (RTX 20 above)
What browsers do you use to access the UI ?
Google Chrome
Command Line Arguments
List of extensions
sd-webui-openpose-editor | sd-webui-text2video | LDSR |
Lora | ScuNET | SwinIR | prompt-bracket-checker
Console logs
Additional information
No response