Commit Graph

2 Commits

Author SHA1 Message Date
David Corvoysier
49dfdc3f8a
fix(neuron): export models from container in test fixtures
The neuron tests require models to have been previously exported and
cached on the hub. This is done automatically by the neuron.model
fixture the first time the tests are ran for a specific version.
This fixture used to export the models using optimum-neuron directly,
but this package is not necessarily present on the system.
Instead, it is now done through the neuron TGI itself, since it
contains all the tools required to export the models.
Note that since the CI runs docker in docker (dind) it does not seem
possible to share a volume between the CI container and the container
used to export the model.
For that reason, a specific image with a modified entrypoint is built
on-the-fly when a model export is required.
2025-02-20 16:14:42 +01:00
David Corvoysier
2c37e8acbe
test(neuron): merge integration tests and fixtures 2025-02-20 16:14:41 +01:00