Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: No Lazy Load for the image_gen files #1051

Open
RafaelJohn9 opened this issue Dec 24, 2024 · 0 comments
Open

[Bug]: No Lazy Load for the image_gen files #1051

RafaelJohn9 opened this issue Dec 24, 2024 · 0 comments
Labels
bug Something isn't working triage

Comments

@RafaelJohn9
Copy link
Contributor

Describe the Bug

 Exception ignored in: <function DeepInfraImgGenModel.__del__ at 0x7f82a3a01630>
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/swarmauri/llms/concrete/DeepInfraImgGenModel.py", line 192, in __del__
   self._client.close()
   File "/usr/local/lib/python3.10/site-packages/pydantic/main.py", line 871, in __getattr__
   return self.__pydantic_private__[item]  # type: ignore
   File "/usr/local/lib/python3.10/site-packages/pydantic/main.py", line 889, in __getattr__
    return super().__getattribute__(item)  # Raises AttributeError if appropriate
AttributeError: 'DeepInfraImgGenModel' object has no attribute '__pydantic_private__'
 INFO:gensim.utils:Doc2Vec lifecycle event {'params': 'Doc2Vec<dm/m,d3000,n5,w10,s0.001,t5>', 'datetime': '2024-12-23T22:15:46.991576', 'gensim': '4.3.3', 'python': '3.10.16 (main, Dec  4 2024, 20:37:01) [GCC 12.2.0]', 'platform': 'Linux-5.15.0-124-generic-x86_64-with-glibc2.36', 'event': 'created'}

This Error surfaces though there is no use of the ImgGenModel DeepInfra

Steps to Reproduce

When Trying to use Doc2Vec this error sprouts up.

Software Version

Latest (Nightly Build)

Python Version

Python 3.12

Environment Details

Ubuntu 22.04 lts

Relevant Logs or Error Output

edge_1               | Exception ignored in: <function DeepInfraImgGenModel.__del__ at 0x7f82a3a01630>
edge_1               | Traceback (most recent call last):
edge_1               |   File "/usr/local/lib/python3.10/site-packages/swarmauri/llms/concrete/DeepInfraImgGenModel.py", line 192, in __del__
edge_1               |     self._client.close()
edge_1               |   File "/usr/local/lib/python3.10/site-packages/pydantic/main.py", line 871, in __getattr__
edge_1               |     return self.__pydantic_private__[item]  # type: ignore
edge_1               |   File "/usr/local/lib/python3.10/site-packages/pydantic/main.py", line 889, in __getattr__
edge_1               |     return super().__getattribute__(item)  # Raises AttributeError if appropriate
edge_1               | AttributeError: 'DeepInfraImgGenModel' object has no attribute '__pydantic_private__'
edge_1               | INFO:gensim.utils:Doc2Vec lifecycle event {'params': 'Doc2Vec<dm/m,d3000,n5,w10,s0.001,t5>', 'datetime': '2024-12-23T22:15:46.991576', 'gensim': '4.3.3', 'python': '3.10.16 (main, Dec  4 2024, 20:37:01) [GCC 12.2.0]', 'platform': 'Linux-5.15.0-124-generic-x86_64-with-glibc2.36', 'event': 'created'}


### Additional Context (Optional)

_No response_

### Confirmation

- [X] I have searched the existing issues for this bug.
- [X] I have provided all necessary information to reproduce the bug.
@RafaelJohn9 RafaelJohn9 added bug Something isn't working triage labels Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage
Projects
None yet
Development

No branches or pull requests

1 participant