gizatechxyz / giza-agents

Easy to use Verifiable AI and smart contracts interoperability.
https://docs.gizatech.xyz/products/ai-agents
MIT License
15 stars 10 forks source link

Add a cache for already downloaded models #37

Closed Gonmeso closed 6 months ago

Gonmeso commented 7 months ago

When we create a model we have multiple places where the original model (onnx) could be downloaded. Currently, these downloads happen again and again as there is no cache or we dont look if we already downloaded it.

Some functions that download a model:

Prior to download the model we should check if we have the model already downloaded locally.

shivam6862 commented 6 months ago

@Gonmeso @raphaelDkhn I would like to work on this issue!