Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jun 3, 2025. It is now read-only.

Using system_logging_config directly instead of using Depends#858

Merged
corey-nm merged 1 commit into
mainfrom
fix-system-logging-config
Jan 10, 2023
Merged

Using system_logging_config directly instead of using Depends#858
corey-nm merged 1 commit into
mainfrom
fix-system-logging-config

Conversation

@corey-nm

@corey-nm corey-nm commented Jan 9, 2023

Copy link
Copy Markdown
Contributor

To resolve issue of

  File "/home/ubuntu/workspace/Github/TestDeepsparse/runtests/lib/python3.8/site-packages/deepsparse/server/server.py", line 266, in _predict
    system_logging_config=params.get("system_logging_config"),
AttributeError: 'Depends' object has no attribute 'get'

Testing plan

Ran commands in yolo README.md

@dbarbuzzi dbarbuzzi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can confirm that these changes resolve the issue that was occurring when testing the YOLO server example within the src/deepsparse/yolo/README.md.

@bfineran bfineran left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tentatively approving. @corey-nm do you know if there was a specific reason why Depends was needed? Otherwise would be good to check in with @dbogunowicz

@corey-nm

corey-nm commented Jan 9, 2023

Copy link
Copy Markdown
Contributor Author

Not sure, will wait on info from @dbogunowicz

@dbogunowicz

Copy link
Copy Markdown
Contributor

Taking a look.

@corey-nm corey-nm merged commit 8ed298f into main Jan 10, 2023
@corey-nm corey-nm deleted the fix-system-logging-config branch January 10, 2023 14:40
bfineran added a commit that referenced this pull request Mar 22, 2023
…epends (#858) (1.4.2) (#973)

* Using system_logging_config directly instead of using Depends (#858)

* Update version.py

---------

Co-authored-by: corey-nm <[email protected]>
Co-authored-by: Benjamin Fineran <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants