Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

[4/N] Dynalab-cli test-local #7

Closed
mazhiyi opened this issue Dec 3, 2020 · 0 comments · Fixed by #9
Closed

[4/N] Dynalab-cli test-local #7

mazhiyi opened this issue Dec 3, 2020 · 0 comments · Fixed by #9

Comments

@mazhiyi
Copy link
Contributor

mazhiyi commented Dec 3, 2020

  • Check the setup_config includes all required keys and values. Check all the files exist.
  • Check that handler file and all extra files are under the same root directory (requirement from torchserve archive, is this sufficient? Note we don’t use model file here.).
  • Check validity of file size and ask to remove large files.
  • Check that handler inherits from the correct task base handler.
  • Run preliminary checks to see if this looks like it might work (basically like our current testhandler.py). Call the testhandler of the specific task with example data to check that it’s expecting and returning the right things. This should print a message like “local test passed” or “something went wrong”.
@mazhiyi mazhiyi linked a pull request Dec 3, 2020 that will close this issue
@mazhiyi mazhiyi closed this as completed in #9 Dec 8, 2020
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 a pull request may close this issue.

1 participant