-
Notifications
You must be signed in to change notification settings - Fork 9
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see whatโs changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: State-of-The-MLOps/MLOps
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.0.0
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: State-of-The-MLOps/MLOps
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 2 commits
- 65 files changed
- 3 contributors
Commits on Oct 9, 2021
-
key-value ๊ตฌ์กฐ๋ก return๊ฐ์ ๋ณ๊ฒฝํ๋ฉด์ .tolist()๋ก ์ธํด ์ค๋ฅ๊ฐ ๋๋ ๋ถ๋ถ์ ์์ ํ์ต๋๋ค.
Configuration menu - View commit details
-
Copy full SHA for 22d57cb - Browse repository at this point
Copy the full SHA 22d57cbView commit details
Commits on Dec 9, 2021
-
* add atmos ETL process ETL DAG ์ถ๊ฐ DB engine๊ด๋ จ ์ค๋ฅ ๋ฐ์ ์์ ์ค * Add new train process MLflow & Prefect & Ray tune์ ์ ์ฉํ ์๋ก์ด training process ์ ๋๋ค. * Add save best model logic ์คํ์ด ๋๋ ๋ค์ ๊ฐ์ฅ ์ข์ ๋ชจ๋ธ์ ์ฐพ์ db์ ๊ทธ ์ ๋ณด๋ฅผ ๊ธฐ๋กํฉ๋๋ค. ์ดํ predict์์๋ db์กฐํ๋ก ๊ฐ์ฅ ์ข์ ๋ชจ๋ธ์ ์ฐพ์ predict๋ฅผ ์ํํฉ๋๋ค. * modify atmos ETL pipeline 1. ๋ฐ์ดํฐ ์์ฒญ ํ ๋ฐํ๋ฐ์ ๋ฐ์ดํฐ๊ฐ ์์ ์ flow๋ฅผ ์ข ๋ฃํ๋๋ก ์ค์ ํ์์ต๋๋ค. 2. ๋ฐ์ดํฐ ๊ฒ์ฆ ํ ์กฐ๊ฑด์ ๋ง์ง ์๋ ๋ฐ์ดํฐ๊ฐ ์์ ์ ์ ์ฅํ์ง ์๊ณ flow๋ฅผ ์ข ๋ฃํ๋๋ก ํ์์ต๋๋ค. 3. cron schedule์ ์ค์ ํ๋ ์ฝ๋๋ฅผ ์ถ๊ฐํ์ จ์ต๋๋ค. * Fix save model logic best๋ชจ๋ธ์ db์ ๊ธฐ๋กํ ๋ artifact_uri ๋ฅผ ์ ์ฅํ๋๋ฐ artifact_path๋ ํฌํจํ์ฌ ์ ์ฅํฉ๋๋ค. * Add redis redis๋ฅผ ์ด์ฉํด์ ๋นํจ์จ์ ์ธ ์ฝ์ด์ด์ ๊ฐ์ ํ์ต๋๋ค. * Add mnist training mnist classification training process๋ฅผ ์ถ๊ฐํ์์ต๋๋ค. * add training model process after data ETL ๋ฐ์ดํฐ ์์ง์ด ์ฑ๊ณต์ ์ผ๋ก ์ข ๋ฃ๋๋ฉด ์์ง๋ ๋ฐ์ดํฐ๋ฅผ ํฌํจํ์ฌ ํ์ต์ ์งํํ๊ณ ์ฑ๋ฅ์ด ์ข์ผ๋ฉด ๋ชจ๋ธ์ ๊ต์ฒดํ๋ ๊ณผ์ ์ ์ถ๊ฐํ์์ต๋๋ค. * Fix save logic ์ ์ฅ๋ run_id๋ฅผ ์ ์ฅ ํ๋๊ฒ์ผ๋ก ์์ ํ์์ต๋๋ค. * Fix save logic return true false๋ฅผ ์ํด์ ๋ก์ง ์์ ์ค์ ์์ต๋๋ค. * Add knn model train & save knn ๋ชจ๋ธ์ ํ์ตํ๊ณ ์ ์ฅํฉ๋๋ค. train_df ๋ ๊ณ ์ ๋์ด ์์ต๋๋ค. knn ๋ชจ๋ธ์ cnn ๋ชจ๋ธ์ด ์ ๋ฐ์ดํธ ๋ ๊ฒฝ์ฐ๋ง ํ์ต์ํ๊ณ ์ ์ฅํ๊ฒ๋ฉ๋๋ค. db์ ์ ์ฅํ๋ ๊ฒ์ ๊ฐ์ฅ ์ต๊ทผ์ logging๋ knn ๋ชจ๋ธ์ ์ ์ฅํ๊ฒ ๋ฉ๋๋ค. * add redis caching& modify load model process 1. predict API์ redis๋ฅผ ์ด์ฉํ์ฌ ๋ชจ๋ธ์ ์บ์ํ๋ ๋ฐฉ๋ฒ์ ์ถ๊ฐํ์์ต๋๋ค. ๋ชจ๋ธ์ด redis์ ์กด์ฌํ์ง ์์ผ๋ฉด database์์ ๋ฐ์์์ redis์ ์ ์ฅํ ํ ์ผ์ ์๊ฐ ๋์ ํด๋น ๋ชจ๋ธ์ ๋ํ ์์ธก์์ฒญ์ด ์์ผ๋ฉด ์ญ์ ํฉ๋๋ค. 2. artifact path ๋์ run id๋ฅผ ์ฌ์ฉํ์ฌ ๋ชจ๋ธ์ ๋ถ๋ฌ์ค๊ฒ ๋ณ๊ฒฝํ์์ต๋๋ค. * Modify predict redis ์ค์๋ํ๋๋ถ๋ถ ์์ * Add redis update time logic 1. redis๋ก ๋ชจ๋ธ์ ์บ์ฑํ๋ ์๊ณ ๋ฆฌ์ฆ์ ๊ฐ์ ํ์์ต๋๋ค. ๊ธฐ์กด๋ฐฉ์: ๋ชจ๋ธ์ ์บ์ฑํ ํ ์ผ์ ์๊ฐ์ด ์ง๋๋ฉด ์ญ์ ๋๊ฒ ํ์์ต๋๋ค. ๊ฐ์ ๋ฐฉ์: ์บ์ฑ๋ ๋ชจ๋ธ์ด ์์ธก์์ฒญ์ ๋ฐ์ผ๋ฉด ๋ง๋ฃ๋๋ ์๊ฐ์ด ์ด๊ธฐํ๋๊ฒ ํ์์ต๋๋ค. * Add mnist prediction route mnist ๋ชจ๋ธ์ ๋ถ๋ฌ์์ ์์ธกํ๋ route๋ฅผ ์ถ๊ฐํ์์ต๋๋ค. ์์์ ์ผ๋ก ๊ฐ์ง๊ณ ์๋ ํ์ผ์์ predict๋ฅผ ์งํํ์ง๋ง ์ถํ input๊ฐ์ ๋ฐ์์ ์์ธกํ๋๋ก ์์ ์์ ์ ๋๋ค. ++ model training process ์์ jit script๋ฅผ ์ฌ์ฉํ์ฌ์ ๋ถ๋ฌ์ ์ฌ์ฉํ๋๋ฐ์ ๋ฌธ์ ์๊ฒ ํ์์ต๋๋ค. ++ training process์์ taskํ์ผ ์์ model class๊ฐ ์กด์ฌํ๊ฒ๋๋ฉด model ์ฌ์ฉ์ ์๋ฌ๊ฐ ๋ฐ์ํด ๋ถ๋ฆฌํ์์ต๋๋ค. * Add redis at mnist prediction redis ์ฌ์ฉ์ ์์ด์ pickle๋ก ๋ฐ์ด๋ฃ์ ์ ์์ด์ save_to_buffer ๋ก ๋ฃ๊ณ bytes๋ก ์ฝ์ด์ต๋๋ค. * Add redis connection pool redis์ connection pool์ ๋์ ํ์์ต๋๋ค. * Fix data load & cleanup ํ๋์ฝ๋ฉ๋์ด์๋ ๋ถ๋ถ์ ์กฐ๊ธ ์์ ํ์ต๋๋ค. & ๋ถ๋ฌ์ค๋ ๋ก์ง์ ์ฌ์ฌ์ฉ์ฑ์ ๋์ด๊ธฐ์ํด ์์ ํ์ต๋๋ค. * Fix data path data ๋ฅผ storage์์ ์ฝ์ด์ค๋๊ฒ์ผ๋ก ๋ณ๊ฒฝํ์์ต๋๋ค. * Modify atmos predict api 1. redis์์ ML๋ชจ๋ธ์ ๋ถ๋ฌ์ค๋ ์ฝ๋๊ฐ ์ค์ฒฉ๋์ด ์๋ ๋ถ๋ถ์ ์ญ์ ํ์์ต๋๋ค. * Test performance according to method 1. postgres DB์์ ๋ชจ๋ธ ๋ก๋, redis์์ ๋ชจ๋ธ ๋ก๋, serialize, deserialize ๊ฐ๊ฐ์์ ์๊ฐ์ด ์ผ๋ง๋ ๊ฑธ๋ฆฌ๋์ง ํ ์คํธ ํ๊ธฐ ์ํ์ฌ ์๊ฐ ์ธก์ ์ฝ๋๋ฅผ ์ถ๊ฐํด ๋์์ต๋๋ค. * Modify caching algorithm 1. ๋ชจ๋ธ์ redis๋ ๊ธฐํ DB์ cachingํ์ง ์๋ ๋ฐฉ๋ฒ์ผ๋ก ๋ณ๊ฒฝํ์์ต๋๋ค. model_timer class๋ฅผ ๋ง๋ค์ด instance variable๋ก ์ ์ฅํ๊ณ ์ผ์ ์๊ฐ์ด ์ง๋๋ฉด ์ญ์ ๋๊ฒ ํ์์ต๋๋ค. ๋ชจ๋ธ์ ์ง๋ ฌํํ ํ์์ฑ์ด ์์ด์ ธ inference ์๋๊ฐ ํฌ๊ฒ ๊ฐ์ ๋์์ต๋๋ค. 2. caching๋์ง ์์ ๋ชจ๋ธ์ mlflow์์ ์ฒ์ ๋ถ๋ฌ์ค๋ ๋ถ๋ถ์ ์ฌ์ ํ ๋๋ฆฝ๋๋ค. * Modify cache class 1. cache class๋ฅผ ์ข ๋ ๋ฒ์ฉ์ ์ธ ์ด๋ฆ์ผ๋ก ๋ณ๊ฒฝํ์์ต๋๋ค. 2. ๊ธฐ๋ฅ์์ ๋ณ๊ฒฝ์ ์์ต๋๋ค. 3. predict method๋ฅผ ์ญ์ ํ์์ต๋๋ค. * Fix mnist model caching redis ์ฌ์ฉํด์ ์ฝ์ด์ค๋ ์ํฉ์์ ์ฝ๋๋ฅผ ๊ฐ์ ํ์ต๋๋ค. redis๋ฅผ ์ฌ์ฉํด ๋ชจ๋ธ์ ์บ์ฑํ๋ ค๋ฉด serialize, deserialize ํ๋ ๊ณผ์ ์ด ํ์ํฉ๋๋ค. ๊ทธ ๊ณผ์ ์์ ์๊ฐ์ด ๋๋ฌด ์ค๋ ๊ฑธ๋ฆฌ๊ธฐ ๋๋ฌธ์ ๊ฐ์ ์ ํ์์ฑ์ ๋๊ปด ์ง์ ๊ด๋ฆฌํ๋ ์ฝ๋๋ฅผ ์ฌ์ฉํฉ๋๋ค. ๋ชจ๋ธ์ ์ฝ์ด์ค๊ณ ์บ์ฑํ๋ ๋ถ๋ถ์ class๋ก ๋ฌถ์ด์ ๋ชจ์๋์์ต๋๋ค. * Fix load model load logic model loadํ๊ณ ์บ์ฑํ๋ ๋ถ๋ถ์์ lock์ ๊ฑธ๊ณ ์งํํฉ๋๋ค. data๋ ์์๋ก ์บ์ฑํด์ ์ฌ์ฉํ๋๋ก ํ์์ต๋๋ค. * Remove unnecessary code test๋ฅผ ์ํ ์ฝ๋๋ฅผ ์ญ์ ํ์์ต๋๋ค. * Delete redis ๋ ๋์ค ์ญ์ ํ์์ต๋๋ค. ๋น๋๊ธฐํจ์ ์๋ชป ์์ฑ๋ ๋ถ๋ถ ์์ ํ์์ต๋๋ค. * Update README * Add prefect working directory 1. prefect agent์ ์คํ ์์น์ ๋ฐ๋ผ ๊ฒฝ๋ก๋ฅผ ์ฐพ์ ์ ์๋ ๋ฌธ์ ๋ฅผ ํด๊ฒฐํ์์ต๋๋ค. 2. flow์ working directory๋ฅผ ๋ช ์ํด์ฃผ๋ฉด ๋ฉ๋๋ค. * Add more metrics to Mnist Mnist train๊ณผ์ ์์ class๋ณ accuracy๋ฅผ ์ธก์ ํ ์ ์๋๋ก ์ถ๊ฐํ์์ต๋๋ค. * Add pipeline option ์ฌ๋ฌ ํ์ดํ๋ผ์ธ์ด ๋์์ ์ ์ฉ๋ ์์๋๋ก insurance pipeline๋ ์ ๋ฐ์ดํธํ์์ต๋๋ค. * Update insurance save logic insurance ๋ถ๋ถ๋ ๋ค๋ฅธ๊ฒ๋ค๊ณผ ๋ง์ฐฌ๊ฐ์ง๋ก run_id๋ฅผ ์ ์ฅํ๋ ํ์์ผ๋ก ์ ๋ฐ์ดํธ ํ์์ต๋๋ค. * Add insuracne predict insurance predictํ๋๊ฒ๋ ๋ค๋ฅธ๊ฒ๊ณผ ๋์ผํ ๋ฐฉ๋ฒ์ผ๋ก ์งํํฉ๋๋ค. * Fix task decorator test์์ค์ ์ฃผ์์ฒ๋ฆฌ๋์๋ @task๋ฅผ ์ฃผ์ํด์ ํ์์ต๋๋ค. * Remove resource_per_trial resource_per_trial์ ๋ช ์ํ์๋ ๊ณ์ pending์ํ์ ๋จธ๋ฌด๋ฅด๋ ํ์์ด ์์ด ์ญ์ ํ์์ต๋๋ค. * Fix mlflow-url mlflow default url์ ์์ ํ์์ต๋๋ค. * Add git action to build docker containers 1. ๋์ปคํ์ผ์ ๋น๋ํ๊ธฐ ์ํ ๊น ์ก์ ์ ์ถ๊ฐํ์์ต๋๋ค. 2. ์ผ๋ถ ์๋ชป ์ค์ ๋์ด์๋ ํธ์คํธ ์ด๋ฆ์ ์์ ํ์์ต๋๋ค. 3. requirements.txt๋ฅผ ์ต์ ํ ํ์์ต๋๋ค. * Remove PR condition Build API server container ํ๋ ๋ถ๋ถ์์ PR์ผ๋ ์ํฉ์ ์ ๊ฑฐํ์์ต๋๋ค. * Modify mnist prediction Mnist prediction ๋ถ๋ถ์ input์ ๋ฐ์์ ์์ธกํ๋๋ก ๋ฐ๊พธ์์ต๋๋ค. run_in_threadpool๋ก predict๋ถ๋ถ์ ๋ฌถ์ด๋์์ต๋๋ค. return์ ์ธ๋ถํ ํ์์ต๋๋ค. * Add kubernetes yaml files 1. ์ฟ ๋ฒ๋คํฐ์ค ์ค์ ํ์ผ๋ค์ ์ถ๊ฐํ์์ต๋๋ค. 2. prefect_Dockerfile์ ์์ ํ์์ต๋๋ค. * Remove testing branch test์ฉ์ผ๋ก on push ํธ๋ฆฌ๊ฑฐ ๋ธ๋์น์ feature/kubernetes ๋ ํฌํจ์์ผ๋์ด์ ์ ์ธํ์์ต๋๋ค. * Add deprecated folder deprecated ๋ ๊ฒ๋ค์ ํด๋์ ๋ชจ์์ ๊ธฐ๋กํ์์ต๋๋ค. * Delete experiments and import train code 1. ํ์ฌ ์ฌ์ฉํ์ง ์๋ experiments ํด๋๋ฅผ ์ญ์ ํ์์ต๋๋ค. 2. main.py์์ train api๋ฅผ importํ์ฌ ์๋ฌ๊ฐ ๋๋ ๋ถ๋ถ์ ์์ ํ์์ต๋๋ค. * Modify Dockerfile name 1. ๊ธฐ์กด xxx_Dockerfile ํ์์ผ๋ก ๋์ด์๋ ํ์ผ ์ด๋ฆ์ Dockerfile.xxx ํ์์ผ๋ก ๋ฐ๊พธ์์ต๋๋ค. ์ด๋ฌํ ํ์์ผ๋ก ์ ์ฅํ๋ฉด ํ์ผ์ ๋ชฉ๋ก์ ์ถ๋ ฅํ์ ๋ ๋์ปคํ์ผ์ด ๋ชจ์ฌ์๊ฒ ๋๋ฏ๋ก ๊ฐ๋ ์ฑ์ด ์ฌ๋ผ๊ฐ ๊ฒ์ผ๋ก ์๊ฐ๋ฉ๋๋ค. * Add load type Model load ๋ฐฉ์์ ์ต๊ณ ์ฑ๋ฅ ๋ชจ๋ธ์ ๊ฐ์ ธ์ค๋๊ฒ ์ธ์ production์ผ๋ก ๋ฑ๋ก๋ ๋ชจ๋ธ์ ๊ฐ์ ธ์ค๋ ๋ฐฉ์์ ์ถ๊ฐํ์์ต๋๋ค. mlflow๋ก ๋ชจ๋ธ production ๋ฐ staging์ ๊ด๋ฆฌํ ๊ฒฝ์ฐ์ ์ด ๋ฐฉ๋ฒ์ด ์ฌ์ฉ๋ ์ ์์ต๋๋ค. * Fix data load logic data๋ก๋๋ฅผ ํ๊ฒฝ๋ณ์์์ ๊ฒฝ๋ก๋ฅผ ์ฝ์ด์ ํ์ง์๊ณ db์์ ๋ฒ์ ๋ณ ๊ทธ๋ฆฌ๊ณ ์คํ๋ณ๋ก ์ฝ์ ์ ์๋๋ก ํ์์ต๋๋ค. * Modify Mnist Train ์ถ๋ ฅ์ธต ์ด์ ๋ ์ด์ด์์ 64๊ฐ์ ํน์ง์ ์ถ์ถํฉ๋๋ค. model์ xai ํน์ง์ ๋ง๋ค๋ ์ถ๋ ฅ์ธต์ ์ ๊ฑฐํ์ง ์์ ๋ชจ๋ธ ์์ธก๋ ํจ๊ป ํน์ง์ผ๋ก ์ฌ์ฉํด์ 74๊ฐ์ ํน์ง์ knn์ผ๋ก ํ์ตํฉ๋๋ค. * Modify Mnist Predict train๋ถ๋ถ์ ๋ณํ์ ๋์ํด ์์ ๋์์ต๋๋ค. * Add mnist avg metadata pixel ํ๊ท ๊ฐ์ ๋ํ ์ ๋ณด๋ฅผ ์ถ๊ฐํ์์ต๋๋ค. prediction ๋์๋ input์ผ๋ก ๋ค์ด์จ ๋ฐ์ดํฐ์๋ํ pixel ํ๊ท ๊ฐ์ ๋ก๊น ํฉ๋๋ค. * Add is_cloud parameter is_cloud parameter๊ฐ ๋๋ฝ๋์ด์์ด ์ถ๊ฐํ์์ต๋๋ค. * Add Continuous deploy process - rollout ํด์ฃผ๋ ๋ถ๋ถ์ ์ถ๊ฐํจ์ผ๋ก์จ ๋ฌด์ค๋จ ๋ฐฐํฌํ ์ ์๊ฒ ๋์์ต๋๋ค. * Modify Git Action workflows - continuous deployments๋ฅผ ์ํด ํ์ํ deployments๋ง ์ฌ์์ ๋๋๋ก ๋ถ๋ฆฌํ์์ต๋๋ค. * Modify Git Action workflows - continuous deployments๋ฅผ ์ํด ํ์ํ kubernetes deployments๋ง ์ฌ์์ ๋๋๋ก ๋ถ๋ฆฌํ์์ต๋๋ค. * Feature/readme (#57) Update README * Feature/data load (#58) update data load * Update phase2.md * Feature/readme (#59) Update README * Feature/readme (#61) * Update README README์๋ด์ฉ์ ์ถ๊ฐํ์์ต๋๋ค. * Add phase1 info Phase1 ์ ๋ํ ๋ด์ฉ์ ์กฐ๊ธ ์ถ๊ฐํ์์ต๋๋ค. * Add phase1 info * Modify phase1 info * Add phase2-local * Add logos ๋ก๊ณ ์ถ๊ฐ * Resize images * Add requirements.sh * Modify main readme page ๊ทธ๋ฆผ๋ ๋ฃ๊ตฌ ๊ตฌ์กฐ๋ ์กฐ๊ธ ๋ฐ๊พธ์์ต๋๋น * Delete phase2.PNG * Add figure phase2 ๊ทธ๋ฆผ ์ถ๊ฐํ์์ต๋๋ค. * Modify readme file ๋ด์ฉ์ ์์๋ฅผ ๋ณ๊ฒฝํ์์ต๋๋ค. * Remove local.md * Add info phase2 * Add frontend link * Modify readme ํ๋ก์ ํธ ์๊ฐ๋ถ๋ถ ์์ ํ์์ต๋๋ค. * Modify readme ๋์ปค ์ปจํ ์ด๋๋ฅผ ์คํํ๋ ๋ถ๋ถ์ ๋ํ ์ค๋ช ์ ์ถ๊ฐํ์์ต๋๋ค. * Add readme * Update phase2.md * Update README.md * Delete kubernetes nodeselector 1. deployments์ nodeSelector๊ฐ ์ค์ ๋์ด์๋ ๋ถ๋ถ์ ์ญ์ ํ์ต๋๋ค. * Modify readme.md 1. readme file์ ์ ์ฒด์ ์ธ ๊ตฌ์กฐ๋ฅผ ๋ณ๊ฒฝํ์์ต๋๋ค. 2. Phase2์ ์ธ๋ถ๋ด์ฉ์ ๋ณ๊ฒฝ๋ ๊ตฌ์กฐ์ ๋ง์ถ์ด ๋ค์ ์์ฑํ์์ต๋๋ค. 3. ์์ง ์์ฑ์ค์ ๋๋คใ ใ * Modify README.md 1. readme ์์ phase2 ํ๋ก์ ํธ๋ฅผ ์ค๋ช ํ ๋ถ๋ถ์ ์์ ํ์์ต๋๋ค. Co-authored-by: ehddnr301 <[email protected]> Co-authored-by: ehddnr301 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 80866f5 - Browse repository at this point
Copy the full SHA 80866f5View commit details
Loading
This comparison is taking too long to generate.
Unfortunately it looks like we canโt render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v1.0.0...main