-
Notifications
You must be signed in to change notification settings - Fork 245
Delete a model #173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
+1 for this. |
Nevermind, I just found out what +1 meant. |
I also want to know it. I saw the API docs of replicate and found a method to delete a model version. But there is no API to delete full model. How can I delete replicate model that created by API permanently? |
Did anyone find a way? Because I am seeing an unbilled charges piling up even though I don't have active deployments |
+1 |
I am facing the same issue. Has anyone found any solution to this? |
Thanks to @satellitebryn you can delete a model using this code written in CURL:
|
Hey everyone. Sorry for not responding to this sooner. Replicate's API doesn't currently have an endpoint for deleting models. But as @satellitebryn correctly pointed out, it does have an endpoint for deleting model versions. The Python client doesn't have a corresponding method for that API, and that was an oversight. I just opened #234, which resolves that. |
Got it, thanks 🙏 |
In #173, @satellitebryn mentioned the [`models.versions.delete`](https://replicate.com/docs/reference/http#models.versions.delete) endpoint, which currently doesn't have a corresponding method in the Python client. This PR adds a `delete` and `async_delete` method to the `versions` namespace. ```python model = client.models.get("your-username/model-name") model.versions.delete(model.latest_version.id) ``` Signed-off-by: Mattt Zmuda <[email protected]>
In #173, @satellitebryn mentioned the [`models.versions.delete`](https://replicate.com/docs/reference/http#models.versions.delete) endpoint, which currently doesn't have a corresponding method in the Python client. This PR adds a `delete` and `async_delete` method to the `versions` namespace. ```python model = client.models.get("your-username/model-name") model.versions.delete(model.latest_version.id) ``` Signed-off-by: Mattt Zmuda <[email protected]>
In replicate/replicate-python#173, @satellitebryn mentioned the [`models.versions.delete`](https://replicate.com/docs/reference/http#models.versions.delete) endpoint, which currently doesn't have a corresponding method in the Python client. This PR adds a `delete` and `async_delete` method to the `versions` namespace. ```python model = client.models.get("your-username/model-name") model.versions.delete(model.latest_version.id) ``` Signed-off-by: Mattt Zmuda <[email protected]>
Hi, I recently just started using Replicate and I'm working on fine-tuning models. However, does anyone know how to delete a model on the platform?
The text was updated successfully, but these errors were encountered: