Replies: 3 comments 3 replies
|
Hi @remypa I think this is actually an oversight on our part. Probably the is this what you did? # construct JaxSimulationData with no data (yet)
self_dict["simulation"] = jax_sim
self_dict["data"] = ()
self_dict["task_id"] = task_id # <- Add this lineI can add this fix for a future version, thanks for bringing this to our attention! You can submit a form here to get some free credits for the bug find :).
|
|
Hello, is there any solution to this same issue in the latest versions that are no longer using Jax? I see a comment on #1674 that there was no way (at the time) to retrieve task_id of completed web.run calls? Is that still the case? Simulation data from adjoint runs with permittivity grids for topology optimization seem to occupy several GBs on web storage even for relatively small design region (~5000 variables) so it would be nice to delete these during each optimization iteration. |
|
Thank you! This is working well for me. However the second suggestion using: The first method using task ids from the folder works great. |
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I am using the adjoint plugin, and I'm looking for the way to collect the task_ids of the forward and backward runs. I would need it to be able to use web.delete to delete the data stored server-side (and avoid paying the corresponding storage fees....).
I could not find any other way than patching tidy3d/plugins/adjoint/web.py to add the task_id to the calls to JaxSimulationData.from_sim_data().
Am I missing the normal / non-hacky way of doing this ?
Thanks
All reactions