Commit Graph

5 Commits

Author SHA1 Message Date
Cloud User 9b1cd02a87 Fix Pod naming pattern and TF_CONFIG initialization order
1. Pod hostname 패턴 수정: node-{i}-0 → node-0-{i}
   mlPolicy에 framework 없으면 numNodes가 completions로 매핑됨
   (단일 Job, completions=numNodes)

2. TF_CONFIG를 import tensorflow 전에 설정
   TF는 import 시 GPU 감지 + gRPC 서버 시작하므로
   TF_CONFIG가 없는 상태에서 import하면 incarnation 에러 발생

3. CIFAR-10 로컬 hostPath 볼륨 마운트 추가
   tf.keras.datasets.cifar10.load_data() 대신 로컬 pickle 파일 로드

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 15:07:57 +09:00
Cloud User 9e92f2e3d4 Revert "Revert "Remove NUM_WORKERS env var, auto-detect workers via DNS probing""
This reverts commit 5f6dec6799.
2026-03-03 13:25:01 +09:00
Cloud User 5f6dec6799 Revert "Remove NUM_WORKERS env var, auto-detect workers via DNS probing"
This reverts commit 0428780d9b.
2026-03-03 13:15:20 +09:00
Cloud User 0428780d9b Remove NUM_WORKERS env var, auto-detect workers via DNS probing
numNodes 변경 시 NUM_WORKERS를 수동 동기화해야 하는 문제 해결.
discover_workers()가 DNS 프로빙으로 워커 수를 자동 감지하므로
TrainJob에서 numNodes만 변경하면 됨.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 11:34:07 +09:00
Cloud User 63fbcf8085 Add TensorFlow custom runtime for Kubeflow Trainer v2 with Volcano integration
Trainer v2에는 TensorFlow runtime이 기본 제공되지 않으므로
Custom ClusterTrainingRuntime을 생성하여 MultiWorkerMirroredStrategy 기반
분산학습을 지원한다. Pod hostname + Headless Service DNS로 TF_CONFIG를 자동 구성.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 10:24:13 +09:00