Skip to content
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

Split test in prod or dev environment for resource limitation #551

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ManfeiBai
Copy link
Collaborator

Description

Split test in prod or dev environment for resource limitation

Checklist

Before submitting this PR, please make sure (put X in square brackets):

  • I have performed a self-review of my code.
  • I have necessary comments in my code, particularly in hard-to-understand areas.
  • I have run one-shot tests and provided workload links above if applicable.
  • I have made or will make corresponding changes to the doc if needed.

Copy link
Collaborator

@tengyifei tengyifei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need to run formatter plz

@@ -41,7 +41,7 @@
# merge all PyTorch/XLA tests ino one Dag
with models.DAG(
dag_id="pytorch_xla_model_regression_test_on_trillium",
schedule="0 0 * * *", # everyday at midnight # job["schedule"],
schedule="0 0 * * *" if composer_env.is_prod_env() else None, # everyday at midnight # job["schedule"],
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hi, @RissyRan, due to other test might been set with different schedule time, so I only update test for pytorch_xla_model_regression_test_on_trillium, and please let me know if I missed anything

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you upload to an test env, and see if other child dags get benefit? I think it should work properly.

@ManfeiBai ManfeiBai requested a review from RissyRan January 14, 2025 19:59
@ManfeiBai
Copy link
Collaborator Author

need to run formatter plz

thanks, do we mean the formatter in the CI?

@zpcore
Copy link
Collaborator

zpcore commented Jan 14, 2025

need to run formatter plz

thanks, do we mean the formatter in the CI?

I think he mean this command:

bash scripts/code-style.sh

from here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants