googleapis / googleapis/python-aiplatform

Vertex AI Pipelines using TPUs Internal Error encountered

Aperta
#2,231 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
api: vertex-ai
Lingua principale
Python
Stelle
905
Fork
465
Merge medio
1g 13h
PR unite (30g)
44

Descrizione

#### Environment details

- Python version: 3.11
- pip version: 23.1
- `google-cloud-aiplatform` version: 1.25.0
- kfp=2.0.0rc1 (all versions tested up to 2.0.0b16)

#### Steps to reproduce

1. This pipeline:
```
from kfp import dsl
import google_cloud_pipeline_components.v1.custom_job as gcp_components_custom_job

@dsl.component
def print_test():
print("Hello World!")

# Using TPUs

printOp = gcp_components_custom_job.create_custom_training_job_from_component(
print_test,
display_name="Print Test",
machine_type="cloud-tpu",
accelerator_type="TPU_V3",
accelerator_count=8,
)

@dsl.pipeline
def pipeline():
print_task = printOp(
project="REDACTED",
location="us-central1",
)

if __name__ == "__main__":
import kfp.compiler as compiler

compiler.Compiler().compile(pipeline, "problem_pipeline.yaml")
```

2. send pipeline to run in vertex

I end up with 40 min laters with a lot of internal errors and contact Vertex:

![image](https://github.com/googleapis/python-aiplatform/assets/3343006/e7be22e6-1b3f-4a65-8695-39190ad394e7)

Thanks!

I have the quota for this machines and I have no idea what more to provide.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.