You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After you finish calling all your friends and telling them about Kit they can fetch your ModelKit and run it:
51
+
After you finish calling all your friends and telling them about Kit, they will want to fetch your ModelKit and run it. The `fetch`command is used to bring everything in the ModelKit to your local machine - the model, dataset(s), code, and the [Kitfile](../kitfile/overview.md) manifest.
Maybe one of your friends only wants the dataset you used:
57
+
However, Kit is a *modular package* so if someone only needs the model they can `pull` only that part:
59
58
60
59
```sh
61
-
$ ./kit pull -filter dataset
60
+
$ ./kit pull -filter model
62
61
```
63
62
64
-
Another friend only needs the model so they can integrate it with their application:
63
+
Or just the dataset:
65
64
66
65
```sh
67
-
$ ./kit pull -filter model
66
+
$ ./kit pull -filter dataset
68
67
```
69
68
70
-
To see the Kitfile associated with a ModelKit:
69
+
You can also use `pull` to filer for the `code` or the Kitfile `manifest`. When you pull any filtered part of a ModelKit you always get the Kitfile as well.
70
+
71
+
The `dev`command will automatically generate a RESTful API for the model and then run the model and API locally so anyone can use the model:
71
72
72
73
```sh
73
-
$ ./kit pull -filter kitfile
74
+
$ ./kit dev
74
75
```
76
+
77
+
So with a few easy commands you've been able to package up a model, share it with others, and run it locally...and you never needed to learn Dockerfile syntax or how to deal with a Helm chart or other proprietary packaging method.
0 commit comments