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

Fix continuous batching unit test #2847

Merged
merged 1 commit into from
Dec 11, 2023
Merged

Conversation

mreso
Copy link
Collaborator

@mreso mreso commented Dec 11, 2023

Description

This PR fixes a test related to continuous batching

Fixes #(issue)

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

Feature/Issue validation/testing

Please describe the Unit or Integration tests that you ran to verify your changes and relevant result summary. Provide instructions so it can be reproduced.
Please also list any relevant details for your test configuration.

  • pytest test/pytest/test_continuous_batching.py


============================================================================================================== warnings summary ==============================================================================================================
ts/torch_handler/base_handler.py:13
  /home/ubuntu/serve/ts/torch_handler/base_handler.py:13: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
    from pkg_resources import packaging

../miniconda3/envs/serve2/lib/python3.10/site-packages/pkg_resources/__init__.py:2871
../miniconda3/envs/serve2/lib/python3.10/site-packages/pkg_resources/__init__.py:2871
  /home/ubuntu/miniconda3/envs/serve2/lib/python3.10/site-packages/pkg_resources/__init__.py:2871: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('ruamel')`.
  Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
    declare_namespace(pkg)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
======================================================================================================= 3 passed, 3 warnings in 11.48s =======================================================================================================

Checklist:

  • Did you have fun?
  • Have you added tests that prove your fix is effective or that this feature works?

@mreso mreso requested a review from sachanub December 11, 2023 21:54
@mreso mreso enabled auto-merge December 11, 2023 22:05
@mreso mreso added this pull request to the merge queue Dec 11, 2023
Merged via the queue into master with commit 7322bbd Dec 11, 2023
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants