Date: Mon, 26 Oct 2020 18:39:32 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 250646] science/py-tensorflow: Update to 1.15.4 Message-ID: <bug-250646-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250646 Bug ID: 250646 Summary: science/py-tensorflow: Update to 1.15.4 Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: ashafer@badland.io CC: amzo1337@gmail.com Flags: maintainer-feedback?(amzo1337@gmail.com) CC: amzo1337@gmail.com Created attachment 219115 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D219115&action= =3Dedit py-tensorflow 1.15.4 svn diff - Fix and update science/py-tensorflow and science/py-tensorflow-estimator Tensorflow is marked broken and is at 1.14. This is my initial attempt at updating it to 1.15.4 so that I could use GPT-2 on FreeBSD. I'm no expert on porting or tensorflow so I'm sure I made some mistakes. This also re-adds science/py-tensorflow-estimator which was marked broken as well. I didn't have any problems building it so it should be the same as before. This patch sets --jobs to 1 to try to guarantee that it will build. There w= as one kernel that required a huge amount of memory to compile which was why o= nly one core could be used while building. For everything else I could set it to --jobs 5+ and it would run fine. If you build this yourself try building wi= th as many jobs as you can want it gets to that one file. The only portlint errors I saw were complaints about not using make makepat= ch, which is really weird because that is what I used. I fixed all other warnin= gs. I've launched some testport poudriere stuff but it is going to take a long = time for that to finish, so I'm going ahead and posting the bug to get feedback. Changes made: - Using the host jsoncpp was causing compatibility issues, so I think I hav= e it marked to grab it from git instead. - Changed the do-install to copy all of the correct folders to go in /usr/local/lib/python* - Changed lots of patch files, mostly to add -lexecinfo - Lots of places complained about errors similar to the following: this rule is missing dependency declarations for the following files ...: 'tensorflow/contrib/makefile/downloads/absl/absl/strings/string_view.h' 'tensorflow/contrib/makefile/downloads/absl/absl/types/optional.h' - I had to add the following lines in a lot of bazel deps in the patches to= fix this: "@com_google_absl//absl/strings", "@com_google_absl//absl/base:core_headers", I've been using the version I built with this port to run some GPT-2 text generation stuff for a few days and haven't had any problems at all. Hopefu= lly this works for others and helps the official port get fixed. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-250646-7788>