-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Milestone
Description
Hi,
I have an improvement for OllamaAutoConfigurationIT which can help when working locally. The current issue as described in the test is the model is around 3GB which can take quite a while depending on internet speed.
My approach using the Testcontainers lifecycle:
First test execution
- Pull image from registry
- Start container
- Once the container has started, pull the model
- Test execution
- When test is finishing, commit the changes in the container and create a local image.
- Stop container, stop test
Second test execution
- Start container using the local image that already contains the model
- Test execution
- Stop container, stop test
If there is interest on this, I can provide the PR.
Metadata
Metadata
Assignees
Labels
No labels