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
`ml-cellar` provides a CLI to support model registry, storing ML models like a wine cellar and enabling minimal MLOps.
6
-
By using GitLFS, `ml-cellar` offers essential MLOps functions including Artifact Store, Model Registry, and Serving.
6
+
By using Git LFS, `ml-cellar` offers essential MLOps functions including Artifact Store, Model Registry, and Serving.
7
7
8
8
If MLOps at BigTech companies can be compared to a large-scale winery, `ml-cellar` functions like a wine cellar in a small brewery.
9
9
While AI projects should ideally adopt software like MLflow for MLOps, many projects and organizations cannot afford the development resources that BigTech companies have.
10
10
As a result, existing MLOps software has primarily targeted companies that can allocate significant development costs to MLOps (like BigTech).
11
11
`ml-cellar` makes "compromises" on MLOps by focusing only on the essential functions, enabling easy adoption of minimal MLOps.
12
12
13
+
- Feature
14
+
-[ ][Custom Transfer Agent](docs/docs_custom_transfer_agent.md)
15
+
16
+
## GitHub Git LFS usage & billing notice
17
+
18
+
This repository uses Git LFS (Large File Storage) to manage large files.
19
+
Please note that **GitHub Git LFS has storage and bandwidth limits**.
20
+
If the free quota included in your GitHub plan is exceeded, **you may incur additional charges**, or LFS uploads and downloads may be restricted depending on your billing settings.
21
+
Before cloning or pushing large files, check your GitHub plan and the repository’s current Git LFS usage.
22
+
If you need to handle many large files in your model registry, consider using a [Custom Transfer Agent](docs/docs_custom_transfer_agent.md) to replace the storage backend with AWS S3 or a similar service.
23
+
13
24
## Contribution
14
25
15
26
If you want to contribute this project, please see the documents.
@@ -23,19 +34,21 @@ If you want to see example of the usage of `ml-cellar` as minimum MLOps, please
23
34
24
35
### 1. Install
25
36
26
-
- Install Rust
27
-
- See [the official document](https://doc.rust-lang.org/cargo/getting-started/installation.html).
37
+
- Install GitLFS
38
+
- See [the official document](https://github.com/git-lfs/git-lfs/wiki/Installation)
- See [the official document](https://doc.rust-lang.org/cargo/getting-started/installation.html).
34
49
35
50
```sh
36
-
sudo apt install git-lfs awscli
37
-
pip install aws2-wrap
38
-
cargo install lfs-dal
51
+
curl https://sh.rustup.rs -sSf | sh
39
52
```
40
53
41
54
- Install `ml-cellar`
@@ -68,39 +81,29 @@ cd {your_ml_registry}
68
81
ml-cellar init
69
82
```
70
83
71
-
- Edit `.ml_cellar.toml`
84
+
- Edit `.gitattributes` if you want to add for GitLFS
72
85
73
-
```toml
74
-
[ml_cellar]
75
-
custom_transfer_agent = false
76
-
```
77
-
78
-
### 3. (Option) Setup with AWS S3
86
+
```txt
87
+
# --- Log ---
88
+
*.log filter=lfs diff=lfs merge=lfs -text
79
89
80
-
Git LFS on GitHub has about 1 GB limit.
81
-
If you need to handle files larger than 1 GB in the repository, I recommend integrating with AWS S3.
90
+
# --- Your data ---
91
+
*.db filter=lfs diff=lfs merge=lfs -text
92
+
```
82
93
83
-
- Edit `.ml_cellar.toml` and change to `custom_transfer_agent = true`.
94
+
- Edit `.mlcellar.toml`
84
95
85
96
```toml
86
97
[ml_cellar]
87
-
custom_transfer_agent = true
88
-
```
98
+
use_custom_transfer_agent = false
89
99
90
-
- Edit `.lfsdalconfig` if you use AWS S3.
100
+
[aws]
91
101
92
-
```txt
93
-
[lfs-dal]
94
-
scheme = s3
95
-
bucket = your_bucket
96
-
region = your_region
97
102
```
98
103
99
-
- Run setup command
104
+
### 3. (Option) Setup with AWS S3
100
105
101
-
```sh
102
-
ml-cellar setup
103
-
```
106
+
If you need to handle many large files in your model registry, consider using a [Custom Transfer Agent](docs/docs_custom_transfer_agent.md) to replace the storage backend with AWS S3 or a similar service.
0 commit comments