Package Details: tensorflow-computecpp 1:1.9-8

Git Clone URL: https://aur.archlinux.org/tensorflow-computecpp.git (read-only, click to copy)
Package Base: tensorflow-computecpp
Description: Library for computation using data flow graphs for scalable machine learning (backend with ComputeCpp)
Upstream URL: https://github.com/codeplaysoftware/tensorflow
Keywords: computecpp opencl sycl tensorflow-opencl
Licenses: Apache
Conflicts: tensorflow
Provides: tensorflow
Submitter: enihcam
Maintainer: mirh
Last Packager: mirh
Votes: 0
Popularity: 0.000000
First Submitted: 2018-04-25 12:51 (UTC)
Last Updated: 2023-05-02 13:56 (UTC)

Dependencies (12)

Required by (10)

Sources (12)

Latest Comments

« First ‹ Previous 1 2

ModYokosuka commented on 2019-01-20 23:01 (UTC) (edited on 2019-01-20 23:15 (UTC) by ModYokosuka)

I am getting a failed build from Bazel with

Starting local Bazel server and connecting to it...
INFO: Invocation ID: 26777de0-6da2-4c03-86f2-0d9954a81842
ERROR: error loading package '': Encountered error while reading extension file 'closure/defs.bzl': no such package '@io_bazel_rules_closure//closure': The native http_archive rule is deprecated. load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") for a drop-in replacement.
Use --incompatible_remove_native_http_archive=false to temporarily continue using the native rule.
ERROR: error loading package '': Encountered error while reading extension file 'closure/defs.bzl': no such package '@io_bazel_rules_closure//closure': The native http_archive rule is deprecated. load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") for a drop-in replacement.
Use --incompatible_remove_native_http_archive=false to temporarily continue using the native rule.
INFO: Elapsed time: 2.102s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)
    Fetching @io_bazel_rules_closure; fetching
==> ERROR: A failure occurred in build().
    Aborting...

I added these to commands to the PKGBUILD at build system suggestion.

--incompatible_remove_native_http_archive=false
--incompatible_package_name_is_a_function=false

That resolved that problem and caused a new one to crop up

ERROR: /home/greg/aur/tensorflow-computecpp/src/tensorflow/tensorflow/python/BUILD:5199:1: Executing genrule //tensorflow/python:framework/fast_tensor_util.pyx_cython_translation failed (Exit 1) bash failed: error executing command /bin/bash -c ... (remaining 1 argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox
Traceback (most recent call last):
  File "/home/greg/.cache/bazel/_bazel_greg/66bf520c021c71ae1c0d8833a4b2c2f1/sandbox/processwrapper-sandbox/748/execroot/org_tensorflow/bazel-out/host/bin/external/cython/cython_binary.runfiles/cython/cython.py", line 17, in <module>
    main(command_line = 1)
  File "/home/greg/.cache/bazel/_bazel_greg/66bf520c021c71ae1c0d8833a4b2c2f1/external/cython/Cython/Compiler/Main.py", line 720, in main
    result = compile(sources, options)
  File "/home/greg/.cache/bazel/_bazel_greg/66bf520c021c71ae1c0d8833a4b2c2f1/external/cython/Cython/Compiler/Main.py", line 695, in compile
    return compile_multiple(source, options)
  File "/home/greg/.cache/bazel/_bazel_greg/66bf520c021c71ae1c0d8833a4b2c2f1/external/cython/Cython/Compiler/Main.py", line 666, in compile_multiple
    context = options.create_context()
  File "/home/greg/.cache/bazel/_bazel_greg/66bf520c021c71ae1c0d8833a4b2c2f1/external/cython/Cython/Compiler/Main.py", line 590, in create_context
    self.cplus, self.language_level, options=self)
  File "/home/greg/.cache/bazel/_bazel_greg/66bf520c021c71ae1c0d8833a4b2c2f1/external/cython/Cython/Compiler/Main.py", line 75, in __init__
    from . import Builtin, CythonScope
  File "/home/greg/.cache/bazel/_bazel_greg/66bf520c021c71ae1c0d8833a4b2c2f1/external/cython/Cython/Compiler/CythonScope.py", line 5, in <module>
    from .UtilityCode import CythonUtilityCode
  File "/home/greg/.cache/bazel/_bazel_greg/66bf520c021c71ae1c0d8833a4b2c2f1/external/cython/Cython/Compiler/UtilityCode.py", line 3, in <module>
    from .TreeFragment import parse_from_strings, StringParseContext
  File "/home/greg/.cache/bazel/_bazel_greg/66bf520c021c71ae1c0d8833a4b2c2f1/external/cython/Cython/Compiler/TreeFragment.py", line 17, in <module>
    from .Visitor import VisitorTransform
  File "/home/greg/.cache/bazel/_bazel_greg/66bf520c021c71ae1c0d8833a4b2c2f1/external/cython/Cython/Compiler/Visitor.py", line 15, in <module>
    from . import ExprNodes
  File "/home/greg/.cache/bazel/_bazel_greg/66bf520c021c71ae1c0d8833a4b2c2f1/external/cython/Cython/Compiler/ExprNodes.py", line 2875
    await = None
          ^
SyntaxError: invalid syntax

enihcam commented on 2018-06-13 03:28 (UTC)

@Magotchi, please remove '-fno-plt' from makepkg.conf.

Magotchi commented on 2018-06-12 15:35 (UTC) (edited on 2018-06-12 15:36 (UTC) by Magotchi)

During the Bezel build, this fails for me with:

ERROR: /home/-----/build/tensorflow-computecpp/src/tensorflow/tensorflow/contrib/lite/toco/BUILD:99:1: C++ compilation of rule '//tensorflow/contrib/lite/toco:toco_graphviz_dump_options' failed (Exit 1)
/opt/ComputeCpp-CE/bin/compute: /usr/lib/libtinfo.so.5: no version information available (required by /opt/ComputeCpp-CE/bin/compute)
compute: error: unknown argument: '-fno-plt'

Any ideas on the "-fno-plt" problem?

enihcam commented on 2018-05-06 08:12 (UTC)

@mirh fixed.

enihcam commented on 2018-05-04 12:25 (UTC)

@mirh also you are welcomed to update PKGBUILD :)

mirh commented on 2018-04-28 10:23 (UTC)

Mhh, I'm not sure if the "precise versioning" benefit was worth the switch to git.

Moreover.. I guess like people should be (if not asked, not sure how it would play out) at least warned about half/doubles being disabled/enabled - and watch out for them.

mirh commented on 2018-04-26 16:12 (UTC)

Shouldn't you be using this way more updated branch https://github.com/lukeiwanski/tensorflow/tree/dev/amd_gpu ?

Also, Computecpp package already takes care to set ld.

enihcam commented on 2018-04-25 14:05 (UTC)

Don't forget to add the computecpp library path to LD_LIBRARY_PATH before running Tensorflow, for example:

export LD_LIBRARY_PATH=/opt/ComputeCpp-CE/lib