Skip to content

clone_reset support for DeterministicGenerationNode #4134

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
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

hvarfner
Copy link

Summary:
clone_reset currently does not work for DeterministicGenerationNode, as the iterator is not reset when the method is called on the generation strategy.

This causes issues unittesting benchmarking functionality, such as benchmark_replication.

Rollback Plan:

Differential Revision: D80093006

@meta-cla meta-cla bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Aug 12, 2025
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D80093006

hvarfner pushed a commit to hvarfner/Ax that referenced this pull request Aug 12, 2025
Summary:

clone_reset currently does not work for DeterministicGenerationNode, as the iterator is not reset when the method is called on the generation strategy.

This causes issues unittesting benchmarking functionality, such as benchmark_replication.

Differential Revision: D80093006
@codecov-commenter
Copy link

codecov-commenter commented Aug 12, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.04%. Comparing base (c414026) to head (aef0a4f).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4134   +/-   ##
=======================================
  Coverage   96.04%   96.04%           
=======================================
  Files         566      567    +1     
  Lines       57129    57159   +30     
=======================================
+ Hits        54869    54899   +30     
  Misses       2260     2260           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

hvarfner pushed a commit to hvarfner/Ax that referenced this pull request Aug 12, 2025
Summary:

clone_reset currently does not work for DeterministicGenerationNode, as the iterator is not reset when the method is called on the generation strategy.

This causes issues unittesting benchmarking functionality, such as benchmark_replication.

Differential Revision: D80093006
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D80093006

hvarfner pushed a commit to hvarfner/Ax that referenced this pull request Aug 12, 2025
Summary:
Pull Request resolved: facebook#4134

clone_reset currently does not work for DeterministicGenerationNode, as the iterator is not reset when the method is called on the generation strategy.

This causes issues when unittesting benchmarking functionality, such as benchmark_replication. Currently, run orchestrator benchmarking tests on a clone of an unused GS, which keeps the issue in this diff from getting exposed. However, This means that we don't have access to the GS's state when computing `BenchmarkResult`s - an issue that is addressed in the subsequent diff.

Differential Revision: D80093006
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D80093006

hvarfner pushed a commit to hvarfner/Ax that referenced this pull request Aug 12, 2025
Summary:
Pull Request resolved: facebook#4134

clone_reset currently does not work for DeterministicGenerationNode, as the iterator is not reset when the method is called on the generation strategy.

This causes issues when unittesting benchmarking functionality, such as benchmark_replication. Currently, run orchestrator benchmarking tests on a clone of an unused GS, which keeps the issue in this diff from getting exposed. However, This means that we don't have access to the GS's state when computing `BenchmarkResult`s - an issue that is addressed in the subsequent diff.

Differential Revision: D80093006
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D80093006

hvarfner pushed a commit to hvarfner/Ax that referenced this pull request Aug 12, 2025
Summary:
Pull Request resolved: facebook#4134

clone_reset currently does not work for DeterministicGenerationNode, as the iterator is not reset when the method is called on the generation strategy.

This causes issues when unittesting benchmarking functionality, such as benchmark_replication. Currently, run orchestrator benchmarking tests on a clone of an unused GS, which keeps the issue in this diff from getting exposed. However, This means that we don't have access to the GS's state when computing `BenchmarkResult`s - an issue that is addressed in the subsequent diff.

Differential Revision: D80093006
Carl Gustav Georg Hvarfner and others added 2 commits August 13, 2025 06:03
Summary: Pull Request resolved: facebook#4137

Differential Revision: D80117995
Summary:
Pull Request resolved: facebook#4134

clone_reset currently does not work for DeterministicGenerationNode, as the iterator is not reset when the method is called on the generation strategy.

This causes issues when unittesting benchmarking functionality, such as benchmark_replication. Currently, run orchestrator benchmarking tests on a clone of an unused GS, which keeps the issue in this diff from getting exposed. However, This means that we don't have access to the GS's state when computing `BenchmarkResult`s - an issue that is addressed in the subsequent diff.

Differential Revision: D80093006
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D80093006

hvarfner pushed a commit to hvarfner/Ax that referenced this pull request Aug 13, 2025
Summary:

clone_reset currently does not work for DeterministicGenerationNode, as the iterator is not reset when the method is called on the generation strategy.

This causes issues when unittesting benchmarking functionality, such as benchmark_replication. Currently, run orchestrator benchmarking tests on a clone of an unused GS, which keeps the issue in this diff from getting exposed. However, This means that we don't have access to the GS's state when computing `BenchmarkResult`s - an issue that is addressed in the subsequent diff.

Differential Revision: D80093006
hvarfner pushed a commit to hvarfner/Ax that referenced this pull request Aug 13, 2025
Summary:

clone_reset currently does not work for DeterministicGenerationNode, as the iterator is not reset when the method is called on the generation strategy.

This causes issues when unittesting benchmarking functionality, such as benchmark_replication. Currently, run orchestrator benchmarking tests on a clone of an unused GS, which keeps the issue in this diff from getting exposed. However, This means that we don't have access to the GS's state when computing `BenchmarkResult`s - an issue that is addressed in the subsequent diff.

Differential Revision: D80093006
hvarfner pushed a commit to hvarfner/Ax that referenced this pull request Aug 14, 2025
Summary:

clone_reset currently does not work for DeterministicGenerationNode, as the iterator is not reset when the method is called on the generation strategy.

This causes issues when unittesting benchmarking functionality, such as benchmark_replication. Currently, run orchestrator benchmarking tests on a clone of an unused GS, which keeps the issue in this diff from getting exposed. However, This means that we don't have access to the GS's state when computing `BenchmarkResult`s - an issue that is addressed in the subsequent diff.

Differential Revision: D80093006
hvarfner pushed a commit to hvarfner/Ax that referenced this pull request Aug 14, 2025
Summary:

clone_reset currently does not work for DeterministicGenerationNode, as the iterator is not reset when the method is called on the generation strategy.

This causes issues when unittesting benchmarking functionality, such as benchmark_replication. Currently, run orchestrator benchmarking tests on a clone of an unused GS, which keeps the issue in this diff from getting exposed. However, This means that we don't have access to the GS's state when computing `BenchmarkResult`s - an issue that is addressed in the subsequent diff.

Differential Revision: D80093006
hvarfner pushed a commit to hvarfner/Ax that referenced this pull request Aug 15, 2025
Summary:

clone_reset currently does not work for DeterministicGenerationNode, as the iterator is not reset when the method is called on the generation strategy.

This causes issues when unittesting benchmarking functionality, such as benchmark_replication. Currently, run orchestrator benchmarking tests on a clone of an unused GS, which keeps the issue in this diff from getting exposed. However, This means that we don't have access to the GS's state when computing `BenchmarkResult`s - an issue that is addressed in the subsequent diff.

Differential Revision: D80093006
hvarfner pushed a commit to hvarfner/Ax that referenced this pull request Aug 15, 2025
Summary:

clone_reset currently does not work for DeterministicGenerationNode, as the iterator is not reset when the method is called on the generation strategy.

This causes issues when unittesting benchmarking functionality, such as benchmark_replication. Currently, run orchestrator benchmarking tests on a clone of an unused GS, which keeps the issue in this diff from getting exposed. However, This means that we don't have access to the GS's state when computing `BenchmarkResult`s - an issue that is addressed in the subsequent diff.

Differential Revision: D80093006
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Do not delete this pull request or issue due to inactivity. fb-exported
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants