Skip to main content

W-Train Utils for MLflow

Project description

wtrainclient

가상환경 설정

pyenv install 3.8.18
pyenv virtualenv 3.8.18 wtrainclient3.8
pyenv activate wtrainclient3.8

mlflow, minio 실행

cd docker
docker-compose up -d --build

환경 변수 설정

프로젝트를 실행하기 전에 아래의 환경 변수들을 설정해야 합니다:

환경변수 설명 예시
PROFILE 개발/운영 환경설정, 개발환경에서는 모델을 실제로 업르도하지 않는다 운영: "prod" or "production", 개발: 그 외
MLFLOW_S3_ENDPOINT_URL MLflow가 저장소로 사용하고있는 MinIO 엔드포인트 URL http://localhost:9000
MLFLOW_TRACKING_URI MLflow 트래킹 서버의 URI http://localhost:5001
AWS_ACCESS_KEY_ID MinIO 서버 접근을 위한 AWS 호환 액세스 키 minio
AWS_SECRET_ACCESS_KEY MinIO 서버 접근을 위한 AWS 호환 시크릿 액세스 키 miniostorage
RABBIT_ENDPOINT_URL MinIO 서버에 모델 업로드 후 path 를 발행할 RMQ 엔드포인트 URL amqp://guest:guest@localhost:5672/
RABBIT_MODEL_UPLOAD_TOPIC 모델 업로드 path 를 전달할 토픽 train.model.uploaded
TRAIN_ID train_id (학습 서버에서 넣어주는 값) 1
MODEL_NAME model_name (학습 서버에서 넣어주는 값) my_model

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wtu-mlflow-0.1.2.tar.gz (11.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wtu_mlflow-0.1.2-py3-none-any.whl (14.4 kB view details)

Uploaded Python 3

File details

Details for the file wtu-mlflow-0.1.2.tar.gz.

File metadata

  • Download URL: wtu-mlflow-0.1.2.tar.gz
  • Upload date:
  • Size: 11.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.8.18

File hashes

Hashes for wtu-mlflow-0.1.2.tar.gz
Algorithm Hash digest
SHA256 8c287e390e29029e1a5ffbe4b6b4c6497b6c4901cbf2023fde154bb8af285ed6
MD5 08f85b43db5d75f795406cb0b59d8068
BLAKE2b-256 4d1010067c8d9dcbc4ceb7a1c6148e8180c07402b55e646fd7bc498a40b0c754

See more details on using hashes here.

File details

Details for the file wtu_mlflow-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: wtu_mlflow-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 14.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.8.18

File hashes

Hashes for wtu_mlflow-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1673efaf49e7c0d2b7e9802f5c82782b711d80873ea4f14b5720aab22e091604
MD5 b5d59fb7d9a9e6bc356118b9a052d0a7
BLAKE2b-256 bbdfacd5d2bfc08d8a7a2bd895dd1b832f0a018a9cb56cce4497fab17a77917e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page