flaport / inverse_design

https://flaport.github.io/inverse_design
Apache License 2.0
16 stars 5 forks source link

MemoryError in 10_inverse_design_local.ipynb #12

Open flaport opened 1 year ago

flaport commented 1 year ago

Currently I get a MemoryError when trying to run 10_inverse_design_local.ipynb

image

@Jan-David-Black , any idea why that is? Or does my computer just not have enough RAM?

jan-david-fischbach commented 1 year ago

It is the same error, that caused the gh actions to fail earlier. I believe it might actually be about running out of RAM, as it runs just fine on my machine. These cells are just tests, that the jacobian matrices are not empty, as I had problems with that previously when using the 'np.where' clause to convert from the design mask to the epsilon distribution. I am actually still not sure what the problem was there.

lucasgrjn commented 1 year ago

No issue on my MacBook Pro 2019 (Intel).

Are both of you using a Silicon Mac ?

flaport commented 1 year ago

No, I'm on a dell XPS with 16Gb Memory