Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #10682 > unrolled thread
| Started by | Lumin <cdluminate@gmail.com> |
|---|---|
| First post | 2018-07-05 16:30 +0200 |
| Last post | 2018-07-05 17:10 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.debian.maint.python
Anyone interested in Tensorflow packaging? Makefile available now. Lumin <cdluminate@gmail.com> - 2018-07-05 16:30 +0200
Re: Anyone interested in Tensorflow packaging? Makefile available now. Anton Gladky <gladk@debian.org> - 2018-07-05 17:10 +0200
| From | Lumin <cdluminate@gmail.com> |
|---|---|
| Date | 2018-07-05 16:30 +0200 |
| Subject | Anyone interested in Tensorflow packaging? Makefile available now. |
| Message-ID | <w8dqG-7hM-13@gated-at.bofh.it> |
Hello d-Science and d-Python team,
Long time ago, TensorFlow packaging was blocked by bazel,
a google's java-based building system which is hard to harness.
At that time, cmake build was available but it's written for
windows.
However, by chance I discovered that tensorflow now ships
a set of makefiles[1], which is explicitly saying "support Ubuntu".
That means packaging TensorFlow is now viable, as long as we patch
the build system to prevent it from downloading tarballs.
If you are looking for things to do, or interested in machine learning
or deep learning applications, you might want to have a look at it.
However, I'm not working on it because:
1. I'm a bit overload these days, working on the Julia package.
2. unfortunately I don't like TensorFlow. I like it's main
competitor -- PyTorch.
But if someone is going to do something about it, I'd be happy to help.
Let's have a look at the dependencies:
* eigen [OK]
* gemmlowp [OK, maintained by me]
* googletest [OK]
* nsync [missing]
* protobuf [OK]
* re2 [OK]
* fft2d [missing]
* abseil [missing]
* cub [missing, NVIDIA's BSD-3-clause software that depends on CUDA]
We don't need this pile of code when compiling CPU-only tensorflow.
If someone is going to hack the makefiles, I'd suggest that,
try building a CPU-only version first.
Best,
[1] https://salsa.debian.org/science-team/tensorflow/blob/master/tensorflow/contrib/makefile/build_all_linux.sh
[2] https://salsa.debian.org/science-team/tensorflow/blob/master/tensorflow/contrib/makefile/download_dependencies.sh
[toc] | [next] | [standalone]
| From | Anton Gladky <gladk@debian.org> |
|---|---|
| Date | 2018-07-05 17:10 +0200 |
| Message-ID | <w8e3n-7Kp-1@gated-at.bofh.it> |
| In reply to | #10682 |
Hello Lumin, just my 2 cts. Cmake is usually crossplatform. So it should not be too difficult to adopt it for Linux. It would be much better as a set of hardcoded makefiles which can be a nightmare in a long perspective. > * abseil [missing] I have started to prepare a package of it [1]. But there are a couple of principal questions which need to be discussed with upstream. [1] https://salsa.debian.org/debian/abseil Regards Anton 2018-07-05 16:05 GMT+02:00 Lumin <cdluminate@gmail.com>: > Hello d-Science and d-Python team, > > Long time ago, TensorFlow packaging was blocked by bazel, > a google's java-based building system which is hard to harness. > At that time, cmake build was available but it's written for > windows. > > However, by chance I discovered that tensorflow now ships > a set of makefiles[1], which is explicitly saying "support Ubuntu". > That means packaging TensorFlow is now viable, as long as we patch > the build system to prevent it from downloading tarballs. > > If you are looking for things to do, or interested in machine learning > or deep learning applications, you might want to have a look at it. > > However, I'm not working on it because: > 1. I'm a bit overload these days, working on the Julia package. > 2. unfortunately I don't like TensorFlow. I like it's main > competitor -- PyTorch. > But if someone is going to do something about it, I'd be happy to help. > > > Let's have a look at the dependencies: > > * eigen [OK] > * gemmlowp [OK, maintained by me] > * googletest [OK] > * nsync [missing] > * protobuf [OK] > * re2 [OK] > * fft2d [missing] > * abseil [missing] > * cub [missing, NVIDIA's BSD-3-clause software that depends on CUDA] > We don't need this pile of code when compiling CPU-only tensorflow. > > If someone is going to hack the makefiles, I'd suggest that, > try building a CPU-only version first. > > Best, > > > [1] https://salsa.debian.org/science-team/tensorflow/blob/master/tensorflow/contrib/makefile/build_all_linux.sh > [2] https://salsa.debian.org/science-team/tensorflow/blob/master/tensorflow/contrib/makefile/download_dependencies.sh >
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.maint.python
csiph-web