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

restrict number of adjoint input structures #970

Merged
merged 1 commit into from
Jun 23, 2023

Conversation

tylerflex
Copy link
Collaborator

@tylerflex tylerflex commented Jun 23, 2023

feel free to change the number, as long as the Metalens Demo supports it. I think it's currently 18x18 = 324 for the symmetry expanded one and under 100 without symmetry. However, we construct the symmetry expanded one for plotting at the end.. (even though we dont run it). Not really sure how to approach this. maybe a pre-upload validator? Note, if we go this route, we'll need to somehow ensure that the Simulation.validate_pre_upload() is still called.

@momchil-flex
Copy link
Collaborator

I'll test a bit when everything else is merged in and parallelization works, I'd think we can live with 1000.

@momchil-flex
Copy link
Collaborator

Yeah no it seems like we'd have to keep it lower for now. I'm thinking 400 so your notebook still works.

@momchil-flex momchil-flex force-pushed the tyler/adjoint/restrict_input_structures branch from d84fa3a to 501420f Compare June 23, 2023 21:10
@momchil-flex momchil-flex force-pushed the tyler/adjoint/restrict_input_structures branch from 501420f to 824c82b Compare June 23, 2023 21:10
@momchil-flex momchil-flex merged commit d7951fd into pre/2.3 Jun 23, 2023
0 of 11 checks passed
@momchil-flex momchil-flex deleted the tyler/adjoint/restrict_input_structures branch June 23, 2023 21:10
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.

None yet

2 participants