Does a pinned model get automatically updated?
When we push a model to a repo, and we have a pinned model on that repo, does the pinned model get updated automatically and immediately?
2022-10-04T07:33:34Z
No, the endpoint is not automatically updated when you push a new revision.We are working on adding the „revision“ to the update capabilities to have seamless, rollback tolerant updates of model revisions.This would allow you to easily update the endpoint with using the HTTP API and a webhook for example when you upload a new model.
2022-10-04T08:08:17Z
Thanks for the response@philschmid. So just to make sure I’m 100% clear: at present we would need to manually unpin and re-pin the model after each update to the repository?
2022-10-04T08:21:19Z
Ah no i see that we can specify pinned models in an API call here:Detailed usage and pinned models
2022-10-04T08:22:03Z
What do you mean withup-pinandpin? Are you talking about theInference Endpoints
2022-10-04T08:27:41Z
I mean the Accelerated Inference API:Dashboard - Hosted API - HuggingFace
2022-10-26T17:16:20Z
For clarity if people stumble on this thread:the Inference API is a free service for the community to test and evaluate models on the Hub, it works on shared infrastructure and is rate limited. It used to be a paid solution, with the ability for users to “pin models” to avoid load times.Inference Endpointsis a new paid service designed for production use cases, where models are deployed on dedicated infrastructure. There is no concept of “pinning models” as each created endpoint is created from scratch for/by the customer with its own compute resources.By the way@mattupsontheHF Inference Endpoint CLI toolis super cool thanks for building it!
2022-10-27T16:56:48Z
Yes it will great if the pinned model get updated when  a new version of the model in the repo is pushed!
2022-11-08T07:59:32Z
As far as I understand, with HF inference endpoint,  If i  want to update a running endpoint with another version of the model i need to create a new endpoint, and delete the old one after I’ve made the transition.In my case the request endpoint URL needs to be the same. My Sentiment Analysis API model will be integrated in a forum. It is not possible  to modify URL endpoint each time we push a new version. How i can handle this?Thanks for your help