iterative / gto

🏷️ Git Tag Ops. Turn your Git repository into Artifact Registry or Model Registry.
https://dvc.org/doc/gto
Apache License 2.0
140 stars 16 forks source link

Deploy the same artifact to different endpoints #314

Closed aguschin closed 1 year ago

aguschin commented 1 year ago

This use case is reported by the client: deploying the same model (e.g. path: models/rf) as two different endpoints in the same stage. One way is to create two artifacts:

churn-classification-germany:
  path: models/rf
churn-classification-ireland:
  path: models/rf

Rn GTO prevents you from annotating two models with the same path. We can allow bypassing this limitation, e.g.:

$ gto annotate churn-classification-scotland --path models/rf --allow-path-reuse

Q: are there other solutions to the problem?