You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
to implement the desired functionality. All required code is marked with `IMPLEMENT_THIS` markup.
19
20
3. Remove:
20
21
- Any pipeline files in `docker_images/example/app/pipelines/` that are not used.
21
22
- Any tests associated with deleted pipelines in `docker_images/example/tests`.
22
23
- Any imports of the pipelines you deleted from `docker_images/example/app/pipelines/__init__.py`
24
+
23
25
4. Feel free to customize anything required by your lib everywhere you want. The only real requirements, are to honor the HTTP endpoints, in the same fashion as the `common` folder for all your supported tasks.
24
26
5. Edit `example/tests/test_api.py` to add TESTABLE_MODELS.
25
27
6. Pass the test suite `pytest -sv --rootdir docker_images/example/ docker_images/example/`
@@ -58,7 +60,6 @@ Edit the `tests/test_dockers.py` file to add a new test with your new framework
58
60
in it (`def test_{framework}(self):` for instance). As a basic you should have 1 line per task in this test function with a real working model on the hub. Those tests are relatively slow but will check automatically that correct errors are replied by your API and that the cache works properly. To run those tests your can simply do:
0 commit comments