Package Details: cntk 2.7-1

Git Clone URL: https://aur.archlinux.org/cntk.git (read-only, click to copy)
Package Base: cntk
Description: Microsoft Cognitive Toolkit (CNTK), an open source deep-learning toolkit
Upstream URL: https://github.com/Microsoft/cntk
Licenses: custom
Submitter: petronny
Maintainer: joaquinito2051
Last Packager: petronny
Votes: 3
Popularity: 0.000000
First Submitted: 2017-10-02 19:16 (UTC)
Last Updated: 2019-07-02 07:12 (UTC)

Pinned Comments

petronny commented on 2019-07-05 09:13 (UTC)

Prebuilt binaries of this package can be found in arch4edu.

Latest Comments

MarsSeed commented on 2022-06-26 21:29 (UTC)

This package is now broken: missing dependency protobuf-static.

Does anyone need it, btw?

petronny commented on 2019-07-05 09:13 (UTC)

Prebuilt binaries of this package can be found in arch4edu.

petronny commented on 2019-06-27 10:45 (UTC) (edited on 2019-07-05 10:55 (UTC) by petronny)

About this package, I'm updating it but it will take quite some time.

And I will:

  1. disable opencv support since I haven't found out how to support opencv4 or build against a proper opencv3 in AUR.
  2. split it into 2 packages: cntk{,-cuda}.

And finally, I wish the best for the future of cntk.

Old soldiers never die. They just fade away.

petronny commented on 2018-05-21 07:08 (UTC)

@kgizdov Uninstall the previous version should work. I will find a way to fix it in PKGBUILD later.

kgizdov commented on 2018-05-20 20:39 (UTC) (edited on 2018-05-20 20:42 (UTC) by kgizdov)

The package seems to try to access system libraries during packaging. This looks like a serious bug to me:

==> Starting package()...
Processing ./cntk_gpu-2.5.1-cp36-cp36m-linux_x86_64.whl
Requirement already satisfied: scipy>=0.17 in /usr/lib/python3.6/site-packages (from cntk-gpu==2.5.1)
Requirement already satisfied: numpy>=1.11 in /usr/lib/python3.6/site-packages (from cntk-gpu==2.5.1)
Installing collected packages: cntk-gpu
  Found existing installation: cntk-gpu 2.5
    Uninstalling cntk-gpu-2.5:
Exception:
Traceback (most recent call last):
  File "/usr/lib/python3.6/shutil.py", line 544, in move
    os.rename(src, real_dst)
OSError: [Errno 18] Invalid cross-device link: '/usr/lib/python3.6/site-packages/_cntk_py.cpython-36m-x86_64-linux-gnu.so' -> '/tmp/pip-2g4pna3j-uninstall/usr/lib/python3.6/site-packages/_cntk_py.cpython-36m-x86_64-linux-gnu.so'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/pip/basecommand.py", line 215, in main
    status = self.run(options, args)
  File "/usr/lib/python3.6/site-packages/pip/commands/install.py", line 342, in run
    prefix=options.prefix_path,
  File "/usr/lib/python3.6/site-packages/pip/req/req_set.py", line 778, in install
    requirement.uninstall(auto_confirm=True)
  File "/usr/lib/python3.6/site-packages/pip/req/req_install.py", line 754, in uninstall
    paths_to_remove.remove(auto_confirm)
  File "/usr/lib/python3.6/site-packages/pip/req/req_uninstall.py", line 115, in remove
    renames(path, new_path)
  File "/usr/lib/python3.6/site-packages/pip/utils/__init__.py", line 267, in renames
    shutil.move(old, new)
  File "/usr/lib/python3.6/shutil.py", line 559, in move
    os.unlink(src)
PermissionError: [Errno 13] Permission denied: '/usr/lib/python3.6/site-packages/_cntk_py.cpython-36m-x86_64-linux-gnu.so'

swiftscythe commented on 2018-04-25 15:57 (UTC)

In order to build the latest version, I had to use cub 1.7.4 (and not 1.8.0, currently in AUR) and downgrade openmpi to version 1.1.x (currently using openmpi-cuda)

jerry73204 commented on 2017-12-01 04:42 (UTC)

/tmp/cntk is fine to place lock files or any other temporarily used file. Please upload the patch if possible. Thanks.

petronny commented on 2017-11-03 09:22 (UTC)

Can it be /tmp/cntk?

jerry73204 commented on 2017-11-03 08:24 (UTC)

CNTK currently has permission issue on /var/lock directory. Here is the GitHub link: https://github.com/Microsoft/CNTK/issues/1719 I created a patch file to resolve it. ---------- diff --git a/Manual/Manual_How_to_debug.ipynb b/Manual/Manual_How_to_debug.ipynb index c1c07ebca..809cd8023 100644 --- a/Manual/Manual_How_to_debug.ipynb +++ b/Manual/Manual_How_to_debug.ipynb @@ -41,9 +41,9 @@ "\n", "- on Linux\n", " ```bash\n", - " $ fuser -k /var/lock/CNTK_exclusive_lock_for_GPU_0\n", + " $ fuser -k /run/cntk/CNTK_exclusive_lock_for_GPU_0\n", " ```\n", - " will kill the process that created `/var/lock/CNTK_exclusive_lock_for_GPU_0`\n", + " will kill the process that created `/run/cntk/CNTK_exclusive_lock_for_GPU_0`\n", "- on Windows\n", " * Make sure you have [Process Explorer](https://technet.microsoft.com/en-us/sysinternals/processexplorer.aspx)\n", " * Open Process Explorer and under View -> Select Columns... click on the GPU tab and check all the checkboxes\n", diff --git a/Source/Common/CrossProcessMutex.h b/Source/Common/CrossProcessMutex.h index 2f3ce7046..bb3a3b472 100644 --- a/Source/Common/CrossProcessMutex.h +++ b/Source/Common/CrossProcessMutex.h @@ -128,7 +128,7 @@ class CrossProcessMutex public: CrossProcessMutex(const std::string& name) : m_fd(-1), - m_fileName("/var/lock/" + name) + m_fileName("/run/cntk/" + name) { } ---------- Also please install this cntk.conf file to /usr/lib/tmpfiles.d/cntk.conf to make cntk co-operate with systemd-tmpfiles. ---------- d /run/cntk 0777 root root - ----------

jerry73204 commented on 2017-10-12 02:22 (UTC)

Please add the missing dependency "lapacke".