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


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

Re: Anyone interested in Tensorflow packaging? Makefile available now.

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Anton Gladky <gladk@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: Anyone interested in Tensorflow packaging? Makefile available now.
Date Thu, 05 Jul 2018 17:10:01 +0200
Message-ID <w8e3n-7Kp-1@gated-at.bofh.it> (permalink)
References <w8dqG-7hM-13@gated-at.bofh.it>
X-Original-To Lumin <cdluminate@gmail.com>
X-Mailbox-Line From debian-python-request@lists.debian.org Thu Jul 5 15:06:10 2018
Old-Return-Path <gladky.anton@gmail.com>
X-Amavis-Spam-Status No, score=-4.38 tagged_above=-10000 required=5.3 tests=[AVAILABLENOW=1, BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FOURLA=0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, GMAIL=1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, 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=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=IzkB4m6LlLyVEqJXymEiKkcGV3qsUZKijVvu0QxKPmk=; b=n5UvcUWG1MVGe4008aV6/Io5NZLBXCfMCiTaqdQiiZDrZJdS85FZpJ4uiPCCh0o/ox xqvpl96HRLe0KPbZWyBROD4eLs8/Ni2MW/Nf8HEt2IIk1+203IIQI880WdRVXPtndb0A St4z9wZ0WjS5jH7LWUtziv3y+pwtGlDWi25h5kK37R82qzaPeTgsyvvmwOSfUWCBsr3K coNjiaYbKTWZnSPdcZk/nXYaOOyzUJgtsbHKm54eB366BkBLxdKrb5wtjstpwUPxBQ0n Z3hdNG+qPrb+ifaV6qlWOUOP574lLoBSBflAUmFcENCC57VS0GoYdD4rQ/alU+JJ9tjE zlLA==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=IzkB4m6LlLyVEqJXymEiKkcGV3qsUZKijVvu0QxKPmk=; b=UxRYabo26me5YLn/rYLNmXZllvl+/EP9rrmzWTtG57J6rrt1q/OVo41N4qHdi+uHEb lUPREjBHUvLkq57tTZgrhdSabZO8kve8yF16v+NyvhG2yn6LgwyMouYxIME3ai//fcUT bv1qMdGzz308GEdZqDt78vguU56HhUGjdMpCxJZ5Z2mcDJ7eOGbWd+1GNA9I94HG77fV r7bIyOun+10xHFnmsxYkXzAc8eL2g0ZNA7n8IwJaWBhL3FJ6Jjvq9Q5xes6kQSFezIoL 7kHln0SpJWS4LA/DnO1dKLpweAQZAeG0f8kL74G6vw1aQnLT6xGmvXlXXjOznol7FqVF 5kCg==
X-Gm-Message-State APt69E2xQVaGOjAmDI0FswvNupqrHq5qcLE6ty/bmM554RPwmUOp/g9Y XlwAYH/p7x+RpjlupYVDl1Kckgn/dHDJ4qX7cNc=
X-Google-SMTP-Source AAOMgpezrrtGXMCwdWyNqHwn/91Y1Xxa+i4KGAGN2JN3gh8Fw2OSAM5BZaOI0emhdh4XJqqFnVQwInQS06B773aFb/U=
X-Received by 2002:a6b:d611:: with SMTP id w17-v6mr5327883ioa.216.1530802216535; Thu, 05 Jul 2018 07:50:16 -0700 (PDT)
MIME-Version 1.0
Sender robomod@news.nic.it
X-Google-Sender-Auth -gTQSEG0N1-_Tv_xLZYGSMpjVdA
Content-Type text/plain; charset="UTF-8"
X-Mailing-List <debian-python@lists.debian.org> archive/latest/16099
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/CALF6qJmg=QG9qhtRSA18SxvshbnV7=iNzXAW48K5nQ3mBc=OJQ@mail.gmail.com
Approved robomod@news.nic.it
Lines 64
Organization linux.* mail to news gateway
X-Original-Cc Debian Science List <debian-science@lists.debian.org>, debian-python@lists.debian.org
X-Original-Date Thu, 5 Jul 2018 16:49:56 +0200
X-Original-Message-ID <CALF6qJmg=QG9qhtRSA18SxvshbnV7=iNzXAW48K5nQ3mBc=OJQ@mail.gmail.com>
X-Original-References <20180705140542.GA29546@Asuna>
X-Original-Sender gladky.anton@gmail.com
Xref csiph.com linux.debian.maint.python:10683

Show key headers only | View raw


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
>

Back to linux.debian.maint.python | Previous | Next — Previous 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