Xilinx / inference-server

https://xilinx.github.io/inference-server/
Apache License 2.0
43 stars 13 forks source link

Add a test for the VCK5000 #214

Closed varunsh-xilinx closed 1 year ago

varunsh-xilinx commented 1 year ago

Summary of Changes

Motivation

We need a test for the VCK5000 to expand the test coverage to more boards.

Implementation

Implementation is similar to that of the tests on U250 FPGA boards: pre-process the data and construct a request -> load the resnet50 model -> send the request to the server -> get the response and post-process.

The addition here is to allow Pytest to set a custom environment per test which can be configured by the test. For now, the default environment for U250 is unchanged. It should be updated to match the latest released device (currently V70).

Notes

This PR requires existing users to redownload the test assets (resnet50 models for U250 and VCK5000 boards) or this test will give an error about missing assets.

It is an updated version of #206

gbuildx commented 1 year ago

Build successful!