-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CD pipeline does not work #9
Comments
That is really strange. I'll look into it. The Mac one is really bizarre...it fails to find the git tool using GitHub's own action to check out the repo? How can that happen? I kind of hope that is a transient problem with their container. But I will check. |
Taking a look at the logs another issue is that it does not find CUDA |
I simplified the build-upload.yaml 6ed6419 |
To summarise:
I tried to do a local build with CUDA but I now get:
I think I have seen this issue before ... |
This is for the pip Linux build. If you change the runner to an older version, specifically to My theory is that something updated recently on the runner. On the Ubuntu 20 (ubuntu-latest) runner, if I was very explicit about telling cmake where to find the CUDA compiler, the build would then fail because the version of cudatoolkit we use could not handle gcc 9 (only 8 or earlier). I have not merged this change into master yet. I was working on two branches, and they have a bunch of testing stuff that should not be merged. But it's just that one line, so you can make the change on master by hand. That's all I can do today; I'll check in again on Monday morning (Eastern time). |
Hey @olbris , thanks! That was an easy solution. I refactored the build a bit so that it is more maintainable. |
I will check that on my local Windows computer and see what's happening. |
The conda build seemed to work properly on my Windows 10 computer. I was able to import spline, and CUDA was compiled and available. So I think overall the build works and it must be something about the environment in the GitHub runner. I suppose that's not really a surprise. I did notice one strange thing, though. I think the Python version matrixing might not be quite right, at least for Windows. I found that the four tar.bz2 archives produced by the Windows build, at least on my computer, all contained the Python 3.7 binary extension. It would not import on 3.9, only 3.7 (I didn't try the other versions) Unfortunately, I have to switch over to another project today. I will read any updates you add here, and I should be able to spend some more time tomorrow or Thursday. |
Yeah same observation for me ... This is however not related to Github but happens locally. Any idea where this could come from? We kind of need to solve this before we can submit ... |
Python version is fixed. CUDA still not found. |
Unfortunately, the build pipeline does not work when I triggered it. Could you have a look?
https://github.com/TuragaLab/SplinePSF/actions/runs/651998012
The text was updated successfully, but these errors were encountered: