Skip to content

Commit

Permalink
security issues (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
truskovskiyk authored Jul 1, 2024
1 parent 1dc0093 commit c154853
Show file tree
Hide file tree
Showing 11 changed files with 26 additions and 28 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -161,4 +161,5 @@ cython_debug/
taskfile.yml
TODO.md
README.p.md
.DS_Store
.DS_Store
README.private.md
1 change: 0 additions & 1 deletion README copy.md

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# ml-in-production-practice
# ml-in-production-practice
2 changes: 1 addition & 1 deletion module-1/k8s-resources/pod-app-web.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ metadata:
spec:
containers:
- image: ghcr.io/kyryl-opens-ml/app-web:latest
name: pod-app-web
name: pod-app-web
18 changes: 9 additions & 9 deletions module-2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,37 +2,37 @@

![alt text](./../docs/data.jpg)

# Practice
# Practice

[Practice task](./PRACTICE.md)

***
***

# Reference implementation

***
***


# Minio


## Setup
## Setup

Create kind cluster
Create kind cluster

```
```bash
kind create cluster --name ml-in-production
```

Run k9s
Run k9s

```
```bash
k9s -A
```

Install libraries.

```
```bash
pip install -r minio_storage/requirements.txt
```

Expand Down
4 changes: 2 additions & 2 deletions module-2/processing/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
numpy==1.22.3
scikit-learn==1.1.2
scikit-learn==1.5.0
typer==0.7.0
ray==2.3.1
ray==2.31.0
dask==2023.4.0
distributed==2023.4.0
pydantic==1.10.13
6 changes: 2 additions & 4 deletions module-3/nlp-sample/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
transformers==4.35.2
transformers==4.42.3
datasets==2.15.0
accelerate==0.24.1
# peft==0.6.2
typer==0.6.1
wandb==0.13.3
black==22.3.0
isort==5.10.1
flake8==5.0.4
ruff==0.5.0
great-expectations==0.15.25
pytest-cov==3.0.0
# bitsandbytes==0.41.2
2 changes: 1 addition & 1 deletion module-4/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
kfp==1.8.9
apache-airflow==2.3.0
apache-airflow==2.9.2
apache-airflow-providers-cncf-kubernetes==1.0.0
cached-property==1.5.2
6 changes: 3 additions & 3 deletions module-5/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
gunicorn==21.2.0
gunicorn==22.0.0
streamlit==1.29.0
uvicorn==0.24.0.post1
fastapi==0.104.1
transformers==4.35.2
fastapi==0.111.0
transformers==4.42.3
datasets==2.14.6
typer==0.9.0
wandb==0.16.1
Expand Down
6 changes: 3 additions & 3 deletions module-6/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
gunicorn==20.1.0
gunicorn==22.0.0
uvicorn==0.18.3
fastapi==0.85.1
transformers==4.21.1
fastapi==0.111.0
transformers==4.42.3
datasets==2.4.0
typer==0.6.1
wandb==0.13.3
Expand Down
4 changes: 2 additions & 2 deletions module-7/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
gunicorn==20.1.0
gunicorn==22.0.0
streamlit==1.13.0
uvicorn==0.18.3
fastapi==0.85.1
transformers==4.21.1
transformers==4.42.3
datasets==2.4.0
typer==0.6.1
wandb==0.13.3
Expand Down

0 comments on commit c154853

Please sign in to comment.