Repository: stable-diffusion-webui
Issue: [Bug]:Issue after install new version of webui
Labels: bug-report

### Checklist

- [X] The issue exists after disabling all extensions
- [X] The issue exists on a clean installation of webui
- [ ] The issue is caused by an extension, but I believe it is caused by a bug in the webui
- [X] The issue exists in the current version of the webui
- [ ] The issue has not been reported before recently
- [ ] The issue has been reported before but has not been fixed yet

### What happened?

after installing webui I get an error which doesn't let me use it, I had the old webui which was working fine but I decide to do a fresh install and it's not working anymore
![Screenshot 2024-02-07 at 15-28-05 Stable Diffusion](https://github.com/AUTOMATIC1111/stable-diffusion-webui/assets/136396810/a6b4551a-0110-4927-ad57-a0708bf06bc5)
![Screenshot 2024-02-07 at 15-30-46 Stable Diffusion](https://github.com/AUTOMATIC1111/stable-diffusion-webui/assets/136396810/c0b67bcc-17e4-4a0b-b6cc-74d86e180b6d)


### Steps to reproduce the problem

1. went to AUTOMATIC1111 github
2. went to Installation and Running and clicked amd
3. copy and pasted the git clone in cmd
4. added  --skip-torch-cuda-test to webui-user.bat to get it to launch 
5. got to the webui and got the error

### What should have happened?

For it to launch and work like before 

### What browsers do you use to access the UI ?

Mozilla Firefox

### Sysinfo

Internal Server Error

### Console logs

```Shell
venv "C:\G\sd\stable-diffusion-webui-directml\venv\Scripts\Python.exe"
fatal: No names found, cannot describe anything.
Python 3.10.6 | packaged by conda-forge | (main, Oct 24 2022, 16:02:16) [MSC v.1916 64 bit (AMD64)]
Version: 1.7.0
Commit hash: adaea46e1c19d9a7091f89b0a7c6e66dfa732528
no module 'xformers'. Processing without...
no module 'xformers'. Processing without...
No module 'xformers'. Proceeding without it.
C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\pytorch_lightning\utilities\distributed.py:258: LightningDeprecationWarning: `pytorch_lightning.utilities.distributed.rank_zero_only` has been deprecated in v1.8.1 and will be removed in v2.0.0. You can import it from `pytorch_lightning.utilities` instead.
  rank_zero_deprecation(
Launching Web UI with arguments: --opt-sub-quad-attention --medvram --disable-nan-check --autolaunch --skip-torch-cuda-test
Style database not found: C:\G\sd\stable-diffusion-webui-directml\styles.csv
Warning: caught exception 'Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed a driver from http://www.nvidia.com/Download/index.aspx', memory monitor disabled
C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\diffusers\utils\outputs.py:63: UserWarning: torch.utils._pytree._register_pytree_node is deprecated. Please use torch.utils._pytree.register_pytree_node instead.
  torch.utils._pytree._register_pytree_node(
ONNX: selected=CUDAExecutionProvider, available=['AzureExecutionProvider', 'CPUExecutionProvider']
loading stable diffusion model: FileNotFoundError
Traceback (most recent call last):
  File "C:\Users\Admin\miniconda3\envs\Automatic1111_olive\lib\threading.py", line 973, in _bootstrap
    self._bootstrap_inner()
  File "C:\Users\Admin\miniconda3\envs\Automatic1111_olive\lib\threading.py", line 1016, in _bootstrap_inner
    self.run()
  File "C:\Users\Admin\miniconda3\envs\Automatic1111_olive\lib\threading.py", line 953, in run
    self._target(*self._args, **self._kwargs)
  File "C:\G\sd\stable-diffusion-webui-directml\modules\initialize.py", line 147, in load_model
    shared.sd_model  # noqa: B018
  File "C:\G\sd\stable-diffusion-webui-directml\modules\shared_items.py", line 143, in sd_model
    return modules.sd_models.model_data.get_sd_model()
  File "C:\G\sd\stable-diffusion-webui-directml\modules\sd_models.py", line 537, in get_sd_model
    load_model()
  File "C:\G\sd\stable-diffusion-webui-directml\modules\sd_models.py", line 608, in load_model
    checkpoint_info = checkpoint_info or select_checkpoint()
  File "C:\G\sd\stable-diffusion-webui-directml\modules\sd_models.py", line 230, in select_checkpoint
    raise FileNotFoundError(error_message)
FileNotFoundError: No checkpoints found. When searching for checkpoints, looked at:
 - file C:\G\sd\stable-diffusion-webui-directml\model.ckpt
 - directory C:\G\sd\stable-diffusion-webui-directml\models\Stable-diffusionCan't run without a checkpoint. Find and place a .ckpt or .safetensors file into any of those locations.


Stable diffusion model failed to load
Applying attention optimization: sub-quadratic... done.
Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.
Startup time: 2.9s (prepare environment: 6.3s, initialize shared: 1.3s, load scripts: 0.6s, create ui: 0.5s, gradio launch: 0.1s).
ERROR:    Exception in ASGI application
Traceback (most recent call last):
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\fastapi\encoders.py", line 152, in jsonable_encoder
    data = dict(obj)
TypeError: '_abc._abc_data' object is not iterable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\fastapi\encoders.py", line 157, in jsonable_encoder
    data = vars(obj)
TypeError: vars() argument must have __dict__ attribute

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 404, in run_asgi
    result = await app(  # type: ignore[func-returns-value]
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 84, in __call__
    return await self.app(scope, receive, send)
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\fastapi\applications.py", line 273, in __call__
    await super().__call__(scope, receive, send)
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\starlette\applications.py", line 122, in __call__
    await self.middleware_stack(scope, receive, send)
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\starlette\middleware\errors.py", line 184, in __call__
    raise exc
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\starlette\middleware\errors.py", line 162, in __call__
    await self.app(scope, receive, _send)
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\starlette\middleware\cors.py", line 92, in __call__
    await self.simple_response(scope, receive, send, request_headers=headers)
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\starlette\middleware\cors.py", line 147, in simple_response
    await self.app(scope, receive, send)
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\starlette\middleware\gzip.py", line 24, in __call__
    await responder(scope, receive, send)
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\starlette\middleware\gzip.py", line 44, in __call__
    await self.app(scope, receive, self.send_with_gzip)
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\starlette\middleware\exceptions.py", line 79, in __call__
    raise exc
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\starlette\middleware\exceptions.py", line 68, in __call__
    await self.app(scope, receive, sender)
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 21, in __call__
    raise e
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 18, in __call__
    await self.app(scope, receive, send)
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\starlette\routing.py", line 718, in __call__
    await route.handle(scope, receive, send)
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\starlette\routing.py", line 276, in handle
    await self.app(scope, receive, send)
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\starlette\routing.py", line 66, in app
    response = await func(request)
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\fastapi\routing.py", line 255, in app
    content = await serialize_response(
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\fastapi\routing.py", line 152, in serialize_response
    return jsonable_encoder(response_content)
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\fastapi\encoders.py", line 117, in jsonable_encoder
    encoded_value = jsonable_encoder(
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\fastapi\encoders.py", line 131, in jsonable_encoder
    jsonable_encoder(
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\fastapi\encoders.py", line 117, in jsonable_encoder
    encoded_value = jsonable_encoder(
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\fastapi\encoders.py", line 117, in jsonable_encoder
    encoded_value = jsonable_encoder(
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\fastapi\encoders.py", line 161, in jsonable_encoder
    return jsonable_encoder(
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\fastapi\encoders.py", line 161, in jsonable_encoder
    return jsonable_encoder(
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\fastapi\encoders.py", line 117, in jsonable_encoder
    encoded_value = jsonable_encoder(
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\fastapi\encoders.py", line 160, in jsonable_encoder
    raise ValueError(errors) from e
ValueError: [TypeError("'_abc._abc_data' object is not iterable"), TypeError('vars() argument must have __dict__ attribute')]
loading stable diffusion model: FileNotFoundError
Traceback (most recent call last):
  File "C:\Users\Admin\miniconda3\envs\Automatic1111_olive\lib\threading.py", line 973, in _bootstrap
    self._bootstrap_inner()
  File "C:\Users\Admin\miniconda3\envs\Automatic1111_olive\lib\threading.py", line 1016, in _bootstrap_inner
    self.run()
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 807, in run
    result = context.run(func, *args)
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\gradio\utils.py", line 707, in wrapper
    response = f(*args, **kwargs)
  File "C:\G\sd\stable-diffusion-webui-directml\modules\ui_extra_networks.py", line 419, in pages_html
    return refresh()
  File "C:\G\sd\stable-diffusion-webui-directml\modules\ui_extra_networks.py", line 425, in refresh
    pg.refresh()
  File "C:\G\sd\stable-diffusion-webui-directml\modules\ui_extra_networks_textual_inversion.py", line 15, in refresh
    sd_hijack.model_hijack.embedding_db.load_textual_inversion_embeddings(force_reload=True)
  File "C:\G\sd\stable-diffusion-webui-directml\modules\textual_inversion\textual_inversion.py", line 224, in load_textual_inversion_embeddings
    self.expected_shape = self.get_expected_shape()
  File "C:\G\sd\stable-diffusion-webui-directml\modules\textual_inversion\textual_inversion.py", line 156, in get_expected_shape
    vec = shared.sd_model.cond_stage_model.encode_embedding_init_text(",", 1)
  File "C:\G\sd\stable-diffusion-webui-directml\modules\shared_items.py", line 143, in sd_model
    return modules.sd_models.model_data.get_sd_model()
  File "C:\G\sd\stable-diffusion-webui-directml\modules\sd_models.py", line 537, in get_sd_model
    load_model()
  File "C:\G\sd\stable-diffusion-webui-directml\modules\sd_models.py", line 608, in load_model
    checkpoint_info = checkpoint_info or select_checkpoint()
  File "C:\G\sd\stable-diffusion-webui-directml\modules\sd_models.py", line 230, in select_checkpoint
    raise FileNotFoundError(error_message)
FileNotFoundError: No checkpoints found. When searching for checkpoints, looked at:
 - file C:\G\sd\stable-diffusion-webui-directml\model.ckpt
 - directory C:\G\sd\stable-diffusion-webui-directml\models\Stable-diffusionCan't run without a checkpoint. Find and place a .ckpt or .safetensors file into any of those locations.


Stable diffusion model failed to load
loading stable diffusion model: FileNotFoundError
Traceback (most recent call last):
  File "C:\Users\Admin\miniconda3\envs\Automatic1111_olive\lib\threading.py", line 973, in _bootstrap
    self._bootstrap_inner()
  File "C:\Users\Admin\miniconda3\envs\Automatic1111_olive\lib\threading.py", line 1016, in _bootstrap_inner
    self.run()
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 807, in run
    result = context.run(func, *args)
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\gradio\utils.py", line 707, in wrapper
    response = f(*args, **kwargs)
  File "C:\G\sd\stable-diffusion-webui-directml\modules\ui_extra_networks.py", line 419, in pages_html
    return refresh()
  File "C:\G\sd\stable-diffusion-webui-directml\modules\ui_extra_networks.py", line 425, in refresh
    pg.refresh()
  File "C:\G\sd\stable-diffusion-webui-directml\modules\ui_extra_networks_textual_inversion.py", line 15, in refresh
    sd_hijack.model_hijack.embedding_db.load_textual_inversion_embeddings(force_reload=True)
  File "C:\G\sd\stable-diffusion-webui-directml\modules\textual_inversion\textual_inversion.py", line 224, in load_textual_inversion_embeddings
    self.expected_shape = self.get_expected_shape()
  File "C:\G\sd\stable-diffusion-webui-directml\modules\textual_inversion\textual_inversion.py", line 156, in get_expected_shape
    vec = shared.sd_model.cond_stage_model.encode_embedding_init_text(",", 1)
  File "C:\G\sd\stable-diffusion-webui-directml\modules\shared_items.py", line 143, in sd_model
    return modules.sd_models.model_data.get_sd_model()
  File "C:\G\sd\stable-diffusion-webui-directml\modules\sd_models.py", line 537, in get_sd_model
    load_model()
  File "C:\G\sd\stable-diffusion-webui-directml\modules\sd_models.py", line 608, in load_model
    checkpoint_info = checkpoint_info or select_checkpoint()
  File "C:\G\sd\stable-diffusion-webui-directml\modules\sd_models.py", line 230, in select_checkpoint
    raise FileNotFoundError(error_message)
Traceback (most recent call last):
FileNotFoundError: No checkpoints found. When searching for checkpoints, looked at:
 - file C:\G\sd\stable-diffusion-webui-directml\model.ckpt
 - directory C:\G\sd\stable-diffusion-webui-directml\models\Stable-diffusionCan't run without a checkpoint. Find and place a .ckpt or .safetensors file into any of those locations.
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\gradio\routes.py", line 488, in run_predict
    output = await app.get_blocks().process_api(

  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\gradio\blocks.py", line 1431, in process_api
    result = await self.call_function(

  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\gradio\blocks.py", line 1103, in call_function
    prediction = await anyio.to_thread.run_sync(
Stable diffusion model failed to load
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\anyio\to_thread.py", line 33, in run_sync
    return await get_asynclib().run_sync_in_worker_thread(
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 877, in run_sync_in_worker_thread
    return await future
loading stable diffusion model: FileNotFoundError
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 807, in run
    result = context.run(func, *args)
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\gradio\utils.py", line 707, in wrapper
    response = f(*args, **kwargs)
  File "C:\G\sd\stable-diffusion-webui-directml\modules\ui_extra_networks.py", line 419, in pages_html
    return refresh()
  File "C:\G\sd\stable-diffusion-webui-directml\modules\ui_extra_networks.py", line 425, in refresh
    pg.refresh()
  File "C:\G\sd\stable-diffusion-webui-directml\modules\ui_extra_networks_textual_inversion.py", line 15, in refresh
    sd_hijack.model_hijack.embedding_db.load_textual_inversion_embeddings(force_reload=True)
  File "C:\G\sd\stable-diffusion-webui-directml\modules\textual_inversion\textual_inversion.py", line 224, in load_textual_inversion_embeddings
    self.expected_shape = self.get_expected_shape()
  File "C:\G\sd\stable-diffusion-webui-directml\modules\textual_inversion\textual_inversion.py", line 156, in get_expected_shape
    vec = shared.sd_model.cond_stage_model.encode_embedding_init_text(",", 1)
AttributeError: 'NoneType' object has no attribute 'cond_stage_model'
Traceback (most recent call last):
  File "C:\Users\Admin\miniconda3\envs\Automatic1111_olive\lib\threading.py", line 973, in _bootstrap
    self._bootstrap_inner()
  File "C:\Users\Admin\miniconda3\envs\Automatic1111_olive\lib\threading.py", line 1016, in _bootstrap_inner
    self.run()
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 807, in run
    result = context.run(func, *args)
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\gradio\utils.py", line 707, in wrapper
    response = f(*args, **kwargs)
Traceback (most recent call last):
  File "C:\G\sd\stable-diffusion-webui-directml\modules\ui.py", line 1816, in <lambda>
    visible=shared.sd_model and shared.sd_model.cond_stage_key == "edit"
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\gradio\routes.py", line 488, in run_predict
    output = await app.get_blocks().process_api(
  File "C:\G\sd\stable-diffusion-webui-directml\modules\shared_items.py", line 143, in sd_model
    return modules.sd_models.model_data.get_sd_model()
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\gradio\blocks.py", line 1431, in process_api
    result = await self.call_function(
  File "C:\G\sd\stable-diffusion-webui-directml\modules\sd_models.py", line 537, in get_sd_model
    load_model()
  File "C:\G\sd\stable-diffusion-webui-directml\modules\sd_models.py", line 608, in load_model
    checkpoint_info = checkpoint_info or select_checkpoint()
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\gradio\blocks.py", line 1103, in call_function
    prediction = await anyio.to_thread.run_sync(
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\anyio\to_thread.py", line 33, in run_sync
    return await get_asynclib().run_sync_in_worker_thread(
  File "C:\G\sd\stable-diffusion-webui-directml\modules\sd_models.py", line 230, in select_checkpoint
    raise FileNotFoundError(error_message)
FileNotFoundError: No checkpoints found. When searching for checkpoints, looked at:
 - file C:\G\sd\stable-diffusion-webui-directml\model.ckpt
 - directory C:\G\sd\stable-diffusion-webui-directml\models\Stable-diffusionCan't run without a checkpoint. Find and place a .ckpt or .safetensors file into any of those locations.
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 877, in run_sync_in_worker_thread
    return await future
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 807, in run
    result = context.run(func, *args)

  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\gradio\utils.py", line 707, in wrapper
    response = f(*args, **kwargs)

  File "C:\G\sd\stable-diffusion-webui-directml\modules\ui_extra_networks.py", line 419, in pages_html
    return refresh()
Stable diffusion model failed to load
  File "C:\G\sd\stable-diffusion-webui-directml\modules\ui_extra_networks.py", line 425, in refresh
    pg.refresh()
  File "C:\G\sd\stable-diffusion-webui-directml\modules\ui_extra_networks_textual_inversion.py", line 15, in refresh
    sd_hijack.model_hijack.embedding_db.load_textual_inversion_embeddings(force_reload=True)
  File "C:\G\sd\stable-diffusion-webui-directml\modules\textual_inversion\textual_inversion.py", line 224, in load_textual_inversion_embeddings
    self.expected_shape = self.get_expected_shape()
  File "C:\G\sd\stable-diffusion-webui-directml\modules\textual_inversion\textual_inversion.py", line 156, in get_expected_shape
    vec = shared.sd_model.cond_stage_model.encode_embedding_init_text(",", 1)
AttributeError: 'NoneType' object has no attribute 'cond_stage_model'
ERROR:    Exception in ASGI application
Traceback (most recent call last):
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 404, in run_asgi
    result = await app(  # type: ignore[func-returns-value]
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 84, in __call__
    return await self.app(scope, receive, send)
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\fastapi\applications.py", line 273, in __call__
    await super().__call__(scope, receive, send)
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\starlette\applications.py", line 122, in __call__
    await self.middleware_stack(scope, receive, send)
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\starlette\middleware\errors.py", line 184, in __call__
    raise exc
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\starlette\middleware\errors.py", line 162, in __call__
    await self.app(scope, receive, _send)
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\starlette\middleware\cors.py", line 84, in __call__
    await self.app(scope, receive, send)
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\starlette\middleware\gzip.py", line 24, in __call__
    await responder(scope, receive, send)
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\starlette\middleware\gzip.py", line 44, in __call__
    await self.app(scope, receive, self.send_with_gzip)
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\starlette\middleware\exceptions.py", line 79, in __call__
    raise exc
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\starlette\middleware\exceptions.py", line 68, in __call__
    await self.app(scope, receive, sender)
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 21, in __call__
    raise e
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 18, in __call__
    await self.app(scope, receive, send)
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\starlette\routing.py", line 718, in __call__
    await route.handle(scope, receive, send)
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\starlette\routing.py", line 276, in handle
    await self.app(scope, receive, send)
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\starlette\routing.py", line 66, in app
    response = await func(request)
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\fastapi\routing.py", line 237, in app
    raw_response = await run_endpoint_function(
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\fastapi\routing.py", line 165, in run_endpoint_function
    return await run_in_threadpool(dependant.call, **values)
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\starlette\concurrency.py", line 41, in run_in_threadpool
    return await anyio.to_thread.run_sync(func, *args)
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\anyio\to_thread.py", line 33, in run_sync
    return await get_asynclib().run_sync_in_worker_thread(
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 877, in run_sync_in_worker_thread
    return await future
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 807, in run
    result = context.run(func, *args)
  File "C:\G\sd\stable-diffusion-webui-directml\modules\ui.py", line 1892, in download_sysinfo
    text = sysinfo.get()
  File "C:\G\sd\stable-diffusion-webui-directml\modules\sysinfo.py", line 49, in get
    res = get_dict()
  File "C:\G\sd\stable-diffusion-webui-directml\modules\sysinfo.py", line 75, in get_dict
    gpu = DeviceProperties(devices.device)
  File "C:\G\sd\stable-diffusion-webui-directml\modules\dml\device_properties.py", line 13, in __init__
    self.name = torch.dml.get_device_name(device)
  File "C:\G\sd\stable-diffusion-webui-directml\venv\lib\site-packages\torch\__init__.py", line 1932, in __getattr__
    raise AttributeError(f"module '{__name__}' has no attribute '{name}'")
AttributeError: module 'torch' has no attribute 'dml'
```


### Additional information

win11 6700xt