본문 바로가기

부스트캠프 AI Tech/Product Serving

(3)
Linux & Shell Linux Debian, Ubuntu, Redhat, CentOS 등 분파가 나뉨 Shell Command man : manual docstring echo 'shell command' : command의 결과 출력 bash '*.sh' : shell script 실행 cat a.txt b.txt > c.txt (overwrite), cat a.txt b.txt >> c.txt (append) find . -name "file_name" export : 환경 변수 ~/.bashrc 에 저장 후 source ~/.bashrc : 즉시 적용 alias : alias sort : 행 단위 정렬 uniq : 중복 제거 grep : 패턴과 매칭되는 라인 검색 (grep -option "pattern" file_n..
MLflow MLflow Experiment Management & Tracking - 실험 결과 공유 Model Registry - 공유, versioning Model Serving - REST API 형태로 serving MLflow Tracking - ML 코드 실행, 로깅 api, UI MLflow Project - ML 코드 패키징(코드, requirements, 모델 등) MLflow Model - 다양한 플랫폼에 배포 MLflow Registry - 중앙 저장소 MLProject - 프로젝트 정보 저장, 환경 설정 pytorch.nn.Module 지원 x Python code -> Tracking server -> artifact store mlflow run -> 기록 요청 -> 기록 -> 아티팩트 저장
Docker Docker Image : 컨테이너를 실행할 때 사용하는 템플릿, read only Container : Image를 활용해 실행된 Instance, readwrite 원격저장소 - docherhub, GCR, ECR docker pull "image_name:tag_num" : 가져오기 docker run --name "container_name" -e 환경변수 설정 -d(백그라운드 모드 설정) -p local_host_port:container_port image_name:tag docker ps : 실행 중인 컨테이너 (docker ps -a : 중지된 컨테이너도 보여줌) docker exec -it "container_name" /bin/bash : 컨테이너 진입 docker stop "conta..