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

Update Ax multitask generator for Ax > 0.4.0 #1508

Merged
merged 8 commits into from
Feb 14, 2025
Merged

Conversation

shuds13
Copy link
Member

@shuds13 shuds13 commented Feb 4, 2025

  • Implement a custom get_MTGP function
  • Use register_metrics for serialization of output
  • Use gen_on_manager in test? Make adjustments to TESTSUITE_NPROCS
  • Update Ax version requirements for CI testing (run in full tests)
    - [ ] Can we make work with async_return as True
  • Update the Ax generator in community examples
  • Update gpCAM version for numpy2 in extra tests*
  • Ah! they just released 0.5.0 - its going to break again!!! (MT_MTGP_trans gone from Models)**

*Extra testing needs some updates -  we should be on numpy 2.
Collecting numpy~=1.26.4 (from gpcam==8.1.6->-r install/ubuntu_no312.txt (line 1))

**New docs as of Feb 4 2025 (Ax v0.5.0): https://ax.dev/docs/tutorials/multi_task/

* Implemented a custom get_MTGP function
* Use register_metrics for serialization of output
@shuds13 shuds13 self-assigned this Feb 4, 2025
@shuds13 shuds13 added the Testing label Feb 4, 2025
Copy link

codecov bot commented Feb 4, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.42%. Comparing base (fa3b2ab) to head (5bd1de2).
Report is 12 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #1508   +/-   ##
========================================
  Coverage    78.42%   78.42%           
========================================
  Files           76       76           
  Lines         7690     7690           
  Branches      1142     1142           
========================================
  Hits          6031     6031           
  Misses        1465     1465           
  Partials       194      194           

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

@shuds13 shuds13 requested review from jlnav and jmlarson1 and removed request for jlnav February 11, 2025 16:58
@@ -50,6 +50,7 @@ def run_simulation(H, persis_info, sim_specs, libE_info):
z = 8
elif task == "cheap_model":
z = 1
print('in sim', task)
Copy link
Member

Choose a reason for hiding this comment

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

Do you want this print to remain? (It's fine with me, but I wanted to point it out.)

Copy link
Member Author

Choose a reason for hiding this comment

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

I did originally leave that print in by accident but then I thought it's actually kind of useful to see that it's doing both models.

@shuds13 shuds13 merged commit b9cda70 into develop Feb 14, 2025
18 of 19 checks passed
@shuds13 shuds13 deleted the tests/ax_update branch February 14, 2025 15:25
@shuds13 shuds13 mentioned this pull request Feb 14, 2025
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: In progress
Development

Successfully merging this pull request may close these issues.

3 participants