Running examples on CPU #427
Unanswered
uturuncoglu
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to get familiar to
NVIDIA/modulus
but I have no access to any GPU. Is it possible to run the tests (likeexamples/cfd/darcy_fno
) on CPU? I have just download the Docker container and started with thedocker run --shm-size=1g --ulimit memlock=-1 --ulimit stack=67108864 --rm -it nvcr.io/nvidia/modulus/modulus:24.01 bash
command since I have no GPU access on my local laptop. It seems I could run very simpletorch
code which is available in the documentation. But I am getting runtime error likeRuntimeError: "cuda" device requested but CUDA is not supported by the hardware or driver
fromdarcy_fno
test. I think I need to modify the code to work on CPU (probablyDistributedManager
indarcy_trainer
) but don't know how. Anyway, if you guide me about that that would be great.Beta Was this translation helpful? Give feedback.
All reactions