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

Refactor cfg #18

Merged
merged 3 commits into from
Mar 5, 2024
Merged

Refactor cfg #18

merged 3 commits into from
Mar 5, 2024

Conversation

aquaorifice
Copy link
Collaborator

Restructured files to infra directory
Pass individual config to job

@aquaorifice aquaorifice requested a review from ephoris March 5, 2024 19:42
Copy link
Collaborator

@ephoris ephoris left a comment

Choose a reason for hiding this comment

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

LGTM! Double check that things run and then squash merge.

Comment on lines 57 to 60
workload = generator._sample_workload(4)
bo_design, bo_cost = bayesian_optimizer.run(system, workload)
analytical_design, analytical_cost = bayesian_optimizer._find_analytical_results(system, z0, z1, q, w)
writer.writerow([system.E, system.B, system.s, system.H, system.N, z0, z1, q, w,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Double check this still works. I think z0, z1, q, and w are now undefined. You'll need to write something like

write.writerow([system.E, system.B, system.s, system.H, workload.z0, workload.z1, workload.q, workload.w])

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes, I missed that. Thanks!

@aquaorifice aquaorifice merged commit 3d0ec44 into main Mar 5, 2024
3 checks passed
ephoris pushed a commit that referenced this pull request Apr 23, 2024
* refactor to separate cfg

* added job cfg

* fixed issues for multijob run
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.

2 participants