Open josealvarez97 opened 1 month ago
Had the same issue while using version 1.7.0, but it works fine with the 1.6.0 in google colab.
Can install modulus sym as:
!pip install nvidia-modulus nvidia-modulus-sym==1.6.0
Had the same issue while using version 1.7.0, but it works fine with the 1.6.0 in google colab.
Can install modulus sym as:
!pip install nvidia-modulus nvidia-modulus-sym==1.6.0
Thank you very much, I have been troubled by this problem for a few days.
Had the same issue while using version 1.7.0, but it works fine with the 1.6.0 in google colab.
Can install modulus sym as:
!pip install nvidia-modulus nvidia-modulus-sym==1.6.0
Yeah, I forgot to reply. Thanks for the insight @pantaprince!
Version
1.5.0
On which installation method(s) does this occur?
No response
Describe the issue
The following code used to work on Google Colab for months, then it just stopped working. Not just for me, but for some colleagues as well. Did Google Colab (or the authors of Hydra or Nvidia Modulus) release an update that broke something?
It doesn't make sense that the library searches for
/tmp/ipykernel_3309
. That's not the current working directory, I already checked that in multiple ways. The default CWD in Google Colab is/content
(always).As I mentioned, I already checked the CWD on Google Colab and that's indeed
/content
.For example,
outputs
/content
and
outputs
/content
I would be happy to just set an absolute path and keep working, but Hydra doesn't allow that).
The following Modulus Guide for Jupyter Notebooks is therefore no longer applicable: https://docs.nvidia.com/deeplearning/modulus/modulus-sym-v110/notebook.nbconvert.html. There needs to be a fix or workaround to keep using the library in the way they recommend when working on Google Colab.
Minimum reproducible example
Here is a Google Colab Notebook that can serve as an example. It's a Gist that used to work (I created it months ago), but as of September 2024, it doesn't work anymore if one runs it normally because of this issue: https://colab.research.google.com/gist/josealvarez97/28c4a8ab0e6dbccd4cb5e9b27641858d/nvidia-modulus-navier-stokes-tutorial-physics-informed-neural-networks.ipynb
Relevant log output
No response
Environment details
No response
Other/Misc.
Has anyone come across this issue recently? Any workarounds? Is there actually a way to force Hydra to take an absolute path in the
compose
function? Any Google Colab experts who understand why Hydra could be pointint to the/tmp
folder and not the current working directory (which is/content
)?