mirror of
https://github.com/ghndrx/kubeflow-pipelines.git
synced 2026-02-10 06:45:13 +00:00
Fix Python/transformers version compatibility
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
FROM runpod/pytorch:2.1.0-py3.10-cuda11.8.0-devel-ubuntu22.04
|
||||
FROM runpod/pytorch:2.4.0-py3.11-cuda12.4.1-devel-ubuntu22.04
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
runpod>=1.6.0
|
||||
transformers>=4.36.0
|
||||
runpod>=1.7.0
|
||||
transformers==4.44.0
|
||||
datasets>=2.16.0
|
||||
accelerate>=0.25.0
|
||||
accelerate>=0.30.0
|
||||
boto3>=1.34.0
|
||||
scikit-learn>=1.3.0
|
||||
scipy>=1.11.0
|
||||
torch>=2.1.0
|
||||
safetensors>=0.4.0
|
||||
|
||||
@@ -178,6 +178,7 @@ def ddi_data_prep_pipeline(
|
||||
model_name: str = "emilyalsentzer/Bio_ClinicalBERT",
|
||||
epochs: int = 3,
|
||||
learning_rate: float = 2e-5,
|
||||
# NOTE: Using internal endpoint. For Tailscale, add ACL: tag:k8s → tagged-devices:*
|
||||
minio_endpoint: str = "http://minio.minio.svc.cluster.local:9000",
|
||||
):
|
||||
"""
|
||||
|
||||
@@ -198,8 +198,8 @@ def ddi_training_pipeline(
|
||||
learning_rate: float = 2e-5,
|
||||
model_version: str = "v1",
|
||||
|
||||
# MinIO settings - use Tailscale endpoint
|
||||
minio_endpoint: str = "https://minio.walleye-frog.ts.net",
|
||||
# MinIO settings - internal for now. For Tailscale, add ACL: tag:k8s → tagged-devices:*
|
||||
minio_endpoint: str = "http://minio.minio.svc.cluster.local:9000",
|
||||
):
|
||||
"""
|
||||
Full DDI training pipeline:
|
||||
|
||||
Reference in New Issue
Block a user