Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #10682

Anyone interested in Tensorflow packaging? Makefile available now.

Path csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod
From Lumin <cdluminate@gmail.com>
Newsgroups linux.debian.maint.python
Subject Anyone interested in Tensorflow packaging? Makefile available now.
Date Thu, 05 Jul 2018 16:30:02 +0200
Message-ID <w8dqG-7hM-13@gated-at.bofh.it> (permalink)
X-Mailbox-Line From debian-python-request@lists.debian.org Thu Jul 5 14:24:31 2018
Old-Return-Path <cdluminate@gmail.com>
X-Amavis-Spam-Status No, score=-5.979 tagged_above=-10000 required=5.3 tests=[AVAILABLENOW=1, BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FOURLA=0.1, FREEMAIL_FROM=0.001, LDO_WHITELIST=-5, MURPHY_DRUGS_REL8=0.02, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=no autolearn_force=no
X-Policyd-Weight using cached result; rate: -7
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mime-version:content-disposition :user-agent; bh=8clx95WK8OiEo+Qegs46g7qSlB112vEnXY28hWPCrWQ=; b=kDwAs8w0hj8PEKDAFiwsj0VfrC7mPiGWVcjQPVsmVtkzSDbmiloIVpBMRUOTc/s3G+ HGdcHDw+vllY1n4WGAk/WyAtZdcvgxn8Vlnd3o2ZjmovkdN295dsnxZZtnY8TVlK9qh+ sAPM+RzshmyWr6wSwS1/BPJ0av+NvXiQSI+3+PFWKpWPmm8irHmW06s627EoEsGSru8g b5S1o1Oj9Iny10qv7iqk7wjqfeuhlSnJDHk+O4gMJi6JOzkI7+KaszV10p/HhaL1sYkj KnCeJpu2U31UP3hujPjcaVFhqWFNaZi6wBS03yqRASvAyJJXGodsvlc/j9yickBT10rf fCdg==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-disposition:user-agent; bh=8clx95WK8OiEo+Qegs46g7qSlB112vEnXY28hWPCrWQ=; b=InKAD/TzNTsrhgzZ9oUCBD2atKyV+D9Hf/ZBPqTmGQUGvVxvMCRYKD4saBaEZXUKA9 Vxfxs+gPnJ868xpE9vUXI8j8/t+TstAedGTFFRu2+WkXVrYKnGycMDxg8erOPAQxxP4U VfTx9DQpm+TGhSIinOvt2XjqAiHSZxWzNWQlGfVNaBLfeQH5gv3WxaxTyKjaaOrhSbFp 3i/xCXoxDxv3FD/zh1pA2KLjFDDwYMZM5jdS+7mXjVY7Y+nhrecsvOT3z4nLp7RYRE/O 6WkZ2mk1I/8GbETxuINxmyx+5BMLTy429FwX5amrZ2BJ6E6tB6PwXWUXNOzw5zxXQtC2 qQ4g==
X-Gm-Message-State APt69E2o0t3RiQhwVV5ilyiMwV8vu1Ovk6RUwOhDBEvuJOVkXBRjE/ng n8LTgLXgbA30UzZj9CFW87Aq3g==
X-Google-SMTP-Source AAOMgpdoq+jB3u5nH22NJgvGwi+zWjsOQJt8K1LUbqcjAm4FMvKGjA4F2mwlPdnHKwK9ZRSVgq8mWA==
X-Received by 2002:a62:a312:: with SMTP id s18-v6mr6478469pfe.13.1530799546410; Thu, 05 Jul 2018 07:05:46 -0700 (PDT)
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Disposition inline
User-Agent Mutt/1.10.0 (2018-05-17)
X-Mailing-List <debian-python@lists.debian.org> archive/latest/16098
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/20180705140542.GA29546@Asuna
Approved robomod@news.nic.it
Lines 43
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Thu, 5 Jul 2018 14:05:42 +0000
X-Original-Message-ID <20180705140542.GA29546@Asuna>
Xref csiph.com linux.debian.maint.python:10682

Show key headers only | View raw


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

Back to linux.debian.maint.python | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

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

csiph-web