Error message about Langchain project startup (Python startup. py - a)

PedroNeal: <p>2024-02-08 15:05:47 | ERROR | stderr | INFO:     Started server process [7926]<br>
2024-02-08 15:05:47 | ERROR | stderr | INFO:     Waiting for application startup.<br>
2024-02-08 15:05:47 | ERROR | stderr | INFO:     Application startup complete.<br>
2024-02-08 15:05:47 | ERROR | stderr | INFO:     Uvicorn running on <a href="http://127.0.0.1:20000" rel="noopener nofollow ugc">http://127.0.0.1:20000</a> (Press CTRL+C to quit)<br>
2024-02-08 15:05:48 | INFO | model_worker | Loading the model [‘chatglm3-6b’] on worker da1dc11a …<br>
Loading checkpoint shards:   0%|                                                                                         | 0/7 [00:00&lt;?, ?it/s]<br>
2024-02-08 15:05:48 | ERROR | stderr | /home/david/anaconda3/envs/chat/lib/python3.11/site-packages/torch/_utils.py:831: UserWarning: TypedStor         age is deprecated. It will be removed in the future and UntypedStorage will be the only storage class. This should only matter to you if you ar         e using storages directly.  To access UntypedStorage directly, use tensor.untyped_storage() instead of tensor.storage()<br>
2024-02-08 15:05:48 | ERROR | stderr |   return self.fget.<strong>get</strong>(instance, owner)()<br>
Loading checkpoint shards:  14%|███████████▌                                                                     | 1/7 [00:01&lt;00:09,  1.60s/it]<br>
Loading checkpoint shards:  29%|███████████████████████▏                                                         | 2/7 [00:02&lt;00:07,  1.47s/it]<br>
Loading checkpoint shards:  43%|██████████████████████████████████▋                                              | 3/7 [00:04&lt;00:06,  1.60s/it]<br>
Loading checkpoint shards:  57%|██████████████████████████████████████████████▎                                  | 4/7 [00:06&lt;00:05,  1.86s/it]<br>
Loading checkpoint shards:  71%|█████████████████████████████████████████████████████████▊                       | 5/7 [00:09&lt;00:03,  1.93s/it]<br>
Loading checkpoint shards:  86%|█████████████████████████████████████████████████████████████████████▍           | 6/7 [00:10&lt;00:01,  1.77s/it]<br>
Loading checkpoint shards: 100%|█████████████████████████████████████████████████████████████████████████████████| 7/7 [00:11&lt;00:00,  1.44s/it]<br>
Loading checkpoint shards: 100%|█████████████████████████████████████████████████████████████████████████████████| 7/7 [00:11&lt;00:00,  1.61s/it]<br>
2024-02-08 15:06:00 | ERROR | stderr |<br>
2024-02-08 15:06:00 | ERROR | stderr | Process model_worker - chatglm3-6b:<br>
2024-02-08 15:06:00 | ERROR | stderr | Traceback (most recent call last):<br>
2024-02-08 15:06:00 | ERROR | stderr |   File “/home/david/anaconda3/envs/chat/lib/python3.11/site-packages/torch/cuda/<strong>init</strong>.py”, line 311,          in _lazy_init<br>
2024-02-08 15:06:00 | ERROR | stderr |     queued_call()<br>
2024-02-08 15:06:00 | ERROR | stderr |   File “/home/david/anaconda3/envs/chat/lib/python3.11/site-packages/torch/cuda/<strong>init</strong>.py”, line 180,          in _check_capability<br>
2024-02-08 15:06:00 | ERROR | stderr |     capability = get_device_capability(d)<br>
2024-02-08 15:06:00 | ERROR | stderr |                  ^^^^^^^^^^^^^^^^^^^^^^^^<br>
2024-02-08 15:06:00 | ERROR | stderr |   File “/home/david/anaconda3/envs/chat/lib/python3.11/site-packages/torch/cuda/<strong>init</strong>.py”, line 435,          in get_device_capability<br>
2024-02-08 15:06:00 | ERROR | stderr |     prop = get_device_properties(device)<br>
2024-02-08 15:06:00 | ERROR | stderr |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^<br>
2024-02-08 15:06:00 | ERROR | stderr |   File “/home/david/anaconda3/envs/chat/lib/python3.11/site-packages/torch/cuda/<strong>init</strong>.py”, line 453,          in get_device_properties<br>
2024-02-08 15:06:00 | ERROR | stderr |     return _get_device_properties(device)  # type: ignore[name-defined]<br>
2024-02-08 15:06:00 | ERROR | stderr |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^<br>
2024-02-08 15:06:00 | ERROR | stderr | RuntimeError: device &gt;= 0 &amp;&amp; device &lt; num_gpus INTERNAL ASSERT FAILED at “…/aten/src/ATen/cuda/CUDACont         ext.cpp”:50, please report a bug to PyTorch. device=1, num_gpus=<br>
······<br>
2024-02-08 15:06:00 | ERROR | stderr |     raise DeferredCudaCallError(msg) from e<br>
2024-02-08 15:06:00 | ERROR | stderr | torch.cuda.DeferredCudaCallError: CUDA call failed lazily at initialization with error: device &gt;= 0 &amp;&amp; d         evice &lt; num_gpus INTERNAL ASSERT FAILED at “…/aten/src/ATen/cuda/CUDAContext.cpp”:50, please report a bug to PyTorch. device=1, num_gpus=</p>
<p>nvidia-smi<br>
Thu Feb  8 15:10:12 2024<br>
±----------------------------------------------------------------------------------------+<br>
| NVIDIA-SMI 550.40.06              Driver Version: 551.23         CUDA Version: 12.4     |<br>
|-----------------------------------------±-----------------------±---------------------+<br>
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |<br>
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |<br>
|                                         |                        |               MIG M. |<br>
|=========================================+========================+======================|<br>
|   0  NVIDIA GeForce RTX 3090        On  |   00000000:AF:00.0 Off |                  N/A |<br>
| 32%   22C    P8              6W /  350W |      17MiB /  24576MiB |      0%      Default |<br>
|                                         |                        |                  N/A |<br>
±----------------------------------------±-----------------------±---------------------+<br>
|   1  NVIDIA GeForce RTX 3090        On  |   00000000:D8:00.0 Off |                  N/A |<br>
| 32%   20C    P8             11W /  350W |     162MiB /  24576MiB |      0%      Default |<br>
|                                         |                        |                  N/A |<br>
±----------------------------------------±-----------------------±---------------------+</p>
<p>±----------------------------------------------------------------------------------------+<br>
| Processes:                                                                              |<br>
|  GPU   GI   CI        PID   Type   Process name                              GPU Memory |<br>
|        ID   ID                                                               Usage      |<br>
|=========================================================================================|<br>
|    0   N/A  N/A        35      G   /Xwayland                                   N/A      |<br>
|    1   N/A  N/A        35      G   /Xwayland                                   N/A      |<br>
±----------------------------------------------------------------------------------------+</p>
<blockquote>
<blockquote>
<blockquote>
<p>import torch<br>
torch.<strong>version</strong><br>
‘2.1.2+cu121’<br>
torch.version.cuda<br>
‘12.1’<br>
torch.cuda.is_available()<br>
True<br>
torch.cuda.current_device()<br>
0</p>
</blockquote>
</blockquote>
</blockquote>