Closed aguschin closed 1 year ago
the repo can be re-generated already, although CI will fail
For studio, this wont be an issue since we use the frozen repo for tests. We can take care of the test cases in upgrade of GTO. I agree we can add mono repo for the test cases. But I think even with upgrade, the repo with the old artifacts.yaml and the information in dvc.yaml should both work. Or at the very least, when doing some action like registration and so on, it should migrate the data accordingly. WDYT?
I'm not sure demo-bank-customer-churn is a monorepo, so if you need one, we can do this ^
I don't think it is, it's adding different types of models on different branches, but everything is added to the root of the repository!
But I think even with upgrade, the repo with the old artifacts.yaml and the information in dvc.yaml should both work.
To smoothen migration, we can implement if-else, supporting both old-format GTO repo and new format. Something like:
artifacts = dvc.repo.Repo(".").artifacts
if not artifacts:
artifacts = gto.api.show(".")
Or at the very least, when doing some action like registration and so on, it should migrate the data accordingly. WDYT?
GTO API will not change regarding registrations/assignments, but annotation will be removed, so we'll need to use internal DVC API for that, or update dvc.yaml
manually.
So, what should be done in Studio (I'm surely missing something though):
artifacts.yaml
, GTO API) / new(dvc.yaml
, DVC API) formats for reading (this try..except
^)example-gto
)@amritghimire - I'm happy to start drafting this in BE, let's have a call so you can point me towards right modules/scripts? Thanks!
@omesser can you please approve and merge? Thanks!
example-gto
, one can ~generate monorepo with simplyNow you'll have a very simple monorepo 🙌🏻
cc @jellebouwman and @amritghimire re https://github.com/iterative/studio/issues/5504 - I'm not sure
demo-bank-customer-churn
is a monorepo, so if you need one, we can do this ^