Trying to build pytorch on ubuntu 24.04 #1
Replies: 6 comments 60 replies
-
|
Getting an error while installing Looks like |
Beta Was this translation helpful? Give feedback.
-
|
Hi @thinkpractice, The yml files and dockerfile are still work in progress. A few seconds ago I corrected the swiftly issue, so the latest commit addresses this, now I am testing the pytorch cloning/build. This is an adventure on its own. Paths are messy, particularly if building with clang and not gcc. Will let you when torch build is successful (hopefully this weekend). |
Beta Was this translation helpful? Give feedback.
-
|
Ah thanks, yeah it's always an adventure when building things from source 😄 Good luck! |
Beta Was this translation helpful? Give feedback.
-
|
Hi @thinkpractice, I am now able to compile pytorch from source in Ubuntu. Please have a look at https://github.com/pedronahum/TaylorTorch/blob/main/.github/workflows/ubuntu-ci.yml. Now I need to fix in Ubuntu the flags to compile TaylorTorch. One step a time :) |
Beta Was this translation helpful? Give feedback.
-
|
@pedronahum thanks! Didn't have much time these last weeks to help you with that but hopefully will have some more time soon :) |
Beta Was this translation helpful? Give feedback.
-
|
@pedronahum I think I found the problem. I isolated the So, long story short, I think we will be able to use pre-build versions of pytorch. I'm assuming SwiftInterop on Linux is using If this assumption is true though, it would save us a lot of work 😄 as we can just grab the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
@pedronahum I've been trying to build
pytorchon Ubuntu (for now without the dockerfile you provided). I do use yourDockerfileas inspiration. At the moment the build fails because it cannot findpthread_createwhich I find hard to believe because if I remember it correctly it's a POSIX function and should be present. I think it's a problem like the one discussed here.Any ideas? Would also like to know how far you've come! Building your
DockerfileATM!Beta Was this translation helpful? Give feedback.
All reactions