Replies: 2 comments 8 replies
-
I managed to get pyFAST working on CoLab using the same install setup as I used for setting up I made the gist openly available for others to try. But of course, we do not have access to a GPU when running pyFASTs on CPU clusters such as using GitHub-hosted containers through GitHub Actions. Any alternative to PoCL that I could try? |
Beta Was this translation helpful? Give feedback.
-
The errors you get with pocl are build errors. Meaning that pocl fails to compile some of FAST's OpenCL code during execution. This is most likely due to bugs in pocl. You can try newer versions of pocl (build yourself or use newer Ubuntu) or you can try Intel's CPU only OpenCL runtime |
Beta Was this translation helpful? Give feedback.
-
I have previously been able to use pyFAST in Docker containers, meaning that pyFAST can be used on headless servers.
Deployment was then performed in pyFAST using
fast.Pipeline
.Recently, FAST added headless support to
runPipeline
which would mean that I could replace the temporary custom pyFASTfast.Pipeline
approach I had with a more generalized CLI method.I therefore wanted to test using this CLI in two relevant use cases:
For the first one, as there is no GPU available, I used PoCL, which at least made it possible for me to import pyFAST without any errors. However, when running some simple tests, I got some errors, which I did not get on my local setup - likely due to the usage of PoCL. I therefore put my focus on CoLab instead.
For the latter, I tried to use PoCL as well (also choosing CPU runtime), just to see if I could get a CPU-only approach working. I ran some simple
runPipeline
and python tutorial tests. None of these worked. One of them executed without errors, but it did not seem like it actually started running.I have made a gist to reproduce these experiments, which could be valuable to test PoCL further with pyFAST on CoLab.
Of course, in CoLab, we do actually have access to a GPU, so PoCL may not be required, however, setting up OpenCL/OpenGL in CoLab seemed tricky. I could make a proper attempt though, but I was not tempted.
I guess the main reason is that pyFAST is not really compatible with PoCL, which may not be that surprising.
Anyways, I'm making this thread for discussion as I'm debugging this further.
Beta Was this translation helpful? Give feedback.
All reactions