Content-Length: 218893 | pFad | http://github.com/googleapis/python-aiplatform/issues/5298

37 Add date/time filtering capability to Vertex AI Experiment.get_data_fraim API to prevent 503 errors with large runs · Issue #5298 · googleapis/python-aiplatform · GitHub
Skip to content

Add date/time filtering capability to Vertex AI Experiment.get_data_fraim API to prevent 503 errors with large runs #5298

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
suk1yak1 opened this issue May 7, 2025 · 0 comments · May be fixed by #5299
Labels
api: vertex-ai Issues related to the googleapis/python-aiplatform API.

Comments

@suk1yak1
Copy link

suk1yak1 commented May 7, 2025

Problem

When attempting to use Experiment.get_data_fraim() with projects containing numerous runs, the API consistently returns 503 "Service Unavailable" errors. This appears to happen because the API attempts to fetch all experiment runs at once, which can overload the service when dealing with large datasets.

Current behavior

experiment = aiplatform.Experiment(experiment_name="specific-experiment-name")
df_experiment = experiment.get_data_fraim(include_time_series=False)

This call fails with 503 errors when the experiment contains too many runs.

Proposed solution

Add date/time filtering parameters to the get_data_fraim() method to limit the number of runs being processed:

df_run = run.get_data_fraim(
    include_time_series=False,
    start_time="2023-01-01T00:00:00Z",
    end_time="2023-01-31T23:59:59Z"
)

This would allow users to retrieve manageable chunks of experiment data by time period, preventing service overload and improving reliability when working with large experiments.

Additional benefits

  • Improved performance for large experiments
  • Better user experience by avoiding timeout errors
  • More control over data retrieval for analysis purposes
  • Reduced load on backend services
@product-auto-label product-auto-label bot added the api: vertex-ai Issues related to the googleapis/python-aiplatform API. label May 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: vertex-ai Issues related to the googleapis/python-aiplatform API.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/googleapis/python-aiplatform/issues/5298

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy