[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1050175: marked as done (Missing symbol when importing torch)



Your message dated Mon, 04 Sep 2023 18:00:20 +0000
with message-id <E1qdDs4-007jbd-Th@fasolo.debian.org>
and subject line Bug#1050175: fixed in pytorch 2.0.1+dfsg-1~exp1
has caused the Debian Bug report #1050175,
regarding Missing symbol when importing torch
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1050175: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1050175
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: python3-torch
Version: 1.13.1+dfsg-4
Severity: serious

Importing torch results in failure due to missing symbols:

$ python3
Python 3.11.4 (main, Jun  7 2023, 10:13:09) [GCC 12.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import torch
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3/dist-packages/torch/__init__.py", line 218, in
<module>
    from torch._C import *  # noqa: F403
    ^^^^^^^^^^^^^^^^^^^^^^
ImportError: /lib/x86_64-linux-gnu/libtorch_cpu.so.1.13: undefined
symbol: _ZN4onnx7checker11check_modelERKNS_10ModelProtoE
>>> 

pytorch requires rebuild due to updated libonnx1:

$ c++filt _ZN4onnx7checker11check_modelERKNS_10ModelProtoE
onnx::checker::check_model(onnx::ModelProto const&)

$ dpkg-query --show python3-torch libonnx1
libonnx1:amd64	1.13.1-1
python3-torch	1.13.1+dfsg-4

	Mattias

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---
--- Begin Message ---
Source: pytorch
Source-Version: 2.0.1+dfsg-1~exp1
Done: Mo Zhou <lumin@debian.org>

We believe that the bug you reported is fixed in the latest version of
pytorch, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1050175@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mo Zhou <lumin@debian.org> (supplier of updated pytorch package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 02 Sep 2023 12:43:53 -0400
Source: pytorch
Binary: libtorch-dev libtorch-test libtorch-test-dbgsym libtorch2.0 libtorch2.0-dbgsym python3-torch python3-torch-dbgsym
Architecture: source amd64
Version: 2.0.1+dfsg-1~exp1
Distribution: experimental
Urgency: medium
Maintainer: Debian Deep Learning Team <debian-ai@lists.debian.org>
Changed-By: Mo Zhou <lumin@debian.org>
Description:
 libtorch-dev - Tensors and Dynamic neural networks in Python (Development Files)
 libtorch-test - Tensors and Dynamic neural networks in Python (Test Binaries)
 libtorch2.0 - Tensors and Dynamic neural networks in Python (Shared Objects)
 python3-torch - Tensors and Dynamic neural networks in Python (Python Interface)
Closes: 1024903 1037824 1050175
Changes:
 pytorch (2.0.1+dfsg-1~exp1) experimental; urgency=medium
 .
   * New upstream version 2.0.1+dfsg
     (Closes: #1024903, #1037824, #1050175)
   * README.Source: update dependency tracking list
   * Copyright:
     - Exclude third party embedded copy from upstream source.
     + Go through all source files again and update the d/copyright,
       as the upstream made massive code base change in the 2.0 release.
     * Files-Excluded: Do not remove valgrind-headers.
       These files will be included at the next gbp-import-orig.
   * Packages:
     * Bump SOVERSION from 1.13 to 2.0.
   * Patch work updates:
     * Rebase existing patches, and remove unused ones.
     + Add patch to fix ftbfs with GCC-13.
   * Build modifications:
     + Specify -Wno-dangling-reference compiler flag.
     + rules: Disable valgrind for build.
     * Patch setup.py to skip installing valgrind headers.
     * rules: Export PYTORCH_BUILD_VERSION.
     * rules: No longer install the dangling include/TH symlink.
   * Embedded source copies:
     * Upgrade embedded kineto to new snapshot.
       + Patch embedded kineto to use system lib.
       + Patch the embedded kineto to fix GCC-13 ftbfs.
       - delete some unneeded files from embedded kineto.
       - remove th_plugin directory from libkineto.
     * Import dynolog partial snapshot for libkineto third_party.
     * Upgrade embedded expecttest to 0.1.6.
       (76f4af2667186271162e03817f2bbda782ec773d)
     * Upgrade embedded foxi to c278588e34e535f0bb8f00df3880d26928038cad.
   * Autopkgtest updates:
     * Autopkgtest: make the embedded expecttest module available.
     * Autopkgtest: correctly import embedded expecttest.
     * Autopkgtest: add the missing python3-scipy runtime deps.
     * Autopkgtest: add test cases to detect dangling symlinks
     * Autopkgtest: refresh test list using gencontrol.sh
     * Autopkgtest: add all python tests into permissive list.
   * Upload to experimental.
Checksums-Sha1:
 530be00dc29480cf1054a0af4322aa84b548660f 3476 pytorch_2.0.1+dfsg-1~exp1.dsc
 3445b3c8af2e611542f50697690d06cdcaf35042 19827796 pytorch_2.0.1+dfsg.orig.tar.xz
 42e8e6bfb71c8d544c5ffa3445ef0d7b2ae79cdc 225948 pytorch_2.0.1+dfsg-1~exp1.debian.tar.xz
 215f91de80d0b942dc2ebadc5bdb581b9e147854 2152224 libtorch-dev_2.0.1+dfsg-1~exp1_amd64.deb
 9942d82ddcc17df5d2f0ccde4f85c379988363e1 46832044 libtorch-test-dbgsym_2.0.1+dfsg-1~exp1_amd64.deb
 f69ceb47be4d9d080e160510167eefd388c586f7 7096652 libtorch-test_2.0.1+dfsg-1~exp1_amd64.deb
 62a1d4b9122e46cdf89957f663a37120e3ca1ead 250085216 libtorch2.0-dbgsym_2.0.1+dfsg-1~exp1_amd64.deb
 0a93771bd4b8430b5f03bd1ddb62d41c16befcb8 31814028 libtorch2.0_2.0.1+dfsg-1~exp1_amd64.deb
 caaaa6c7d8ca5644f32fb1caaf7c1a8848e5d182 52863408 python3-torch-dbgsym_2.0.1+dfsg-1~exp1_amd64.deb
 d46d1e71c124a7edc5469ec25410296ea3065c5d 9879260 python3-torch_2.0.1+dfsg-1~exp1_amd64.deb
 74c4765608ea47d75d71581333356f7503fb485a 22618 pytorch_2.0.1+dfsg-1~exp1_amd64.buildinfo
Checksums-Sha256:
 378019a444653156b4ad83f834f57dfdd78fdcbce263d5e2963cb7328458dd64 3476 pytorch_2.0.1+dfsg-1~exp1.dsc
 ccf41c8adc16fbff0349748b5dba95e81b9dcb347ddf087f21e2a95663e9885d 19827796 pytorch_2.0.1+dfsg.orig.tar.xz
 6817f751bc784a5094cb0802d7ff4d1976a0a0c5af425210e0c8382ce92a0f8d 225948 pytorch_2.0.1+dfsg-1~exp1.debian.tar.xz
 1d37b7061e86509db39810e701962ea2331e255f040327088d8b56c90fd6867a 2152224 libtorch-dev_2.0.1+dfsg-1~exp1_amd64.deb
 6907ea4b540e0955a8706ccc8452cf94d98df9b6652fde842ec12cacf5e3dcd7 46832044 libtorch-test-dbgsym_2.0.1+dfsg-1~exp1_amd64.deb
 a96b154e1b233f951d342852c7d8718a9c0408ae5e4b4e3efb5f022867df5d61 7096652 libtorch-test_2.0.1+dfsg-1~exp1_amd64.deb
 6cf9d493e7774af59237bfed5fb26f880e04e6e894f431c583097b7e88daaf5c 250085216 libtorch2.0-dbgsym_2.0.1+dfsg-1~exp1_amd64.deb
 17c0e7f0b0e79ebf130471f8d4daead0030766470f9ee7d245e9a7e2405a63b3 31814028 libtorch2.0_2.0.1+dfsg-1~exp1_amd64.deb
 a2598e7da2851cfc3dba07c9ad8774bfaf976c0cd1b3c6138fa4a22e339727c8 52863408 python3-torch-dbgsym_2.0.1+dfsg-1~exp1_amd64.deb
 a64b435eaf243db92624191f8590a0a1f63146a1eb3f89f2ea08bf561f0d8e5b 9879260 python3-torch_2.0.1+dfsg-1~exp1_amd64.deb
 00a9ee9a70be4105d4ed20fe2407983e79896abb08d4a3ee3aa8234d02a99140 22618 pytorch_2.0.1+dfsg-1~exp1_amd64.buildinfo
Files:
 1c60325d1cf925f76d711a05e8b41423 3476 science optional pytorch_2.0.1+dfsg-1~exp1.dsc
 7655bb63108ebefe53b999fc26a8029e 19827796 science optional pytorch_2.0.1+dfsg.orig.tar.xz
 746dfc782cde4c5719142505f2358096 225948 science optional pytorch_2.0.1+dfsg-1~exp1.debian.tar.xz
 21fe48d29edf5e23213a329e804b6be5 2152224 libdevel optional libtorch-dev_2.0.1+dfsg-1~exp1_amd64.deb
 2b2681da6622e1e44935f867b007614b 46832044 debug optional libtorch-test-dbgsym_2.0.1+dfsg-1~exp1_amd64.deb
 0b14a5c252fb125f31c1ce1fd79557dd 7096652 libs optional libtorch-test_2.0.1+dfsg-1~exp1_amd64.deb
 791ae2bfbadca14edd7c532ed6fbb673 250085216 debug optional libtorch2.0-dbgsym_2.0.1+dfsg-1~exp1_amd64.deb
 03d608f093b5d9a781316479a1b42ee4 31814028 libs optional libtorch2.0_2.0.1+dfsg-1~exp1_amd64.deb
 56fb777224f0a83f18b44f54169cfa02 52863408 debug optional python3-torch-dbgsym_2.0.1+dfsg-1~exp1_amd64.deb
 8eaecf6bdd33813be9beab2435be014b 9879260 python optional python3-torch_2.0.1+dfsg-1~exp1_amd64.deb
 cf9286a1bc84c7288f5d824ea84dd9ed 22618 science optional pytorch_2.0.1+dfsg-1~exp1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEEY4vHXsHlxYkGfjXeYmRes19oaooFAmTzd+URHGx1bWluQGRl
Ymlhbi5vcmcACgkQYmRes19oaoonwg//aH6rBmlOHVFqW6AIQ7qt6GXMmaseONwM
11bTpHL8CX92/E/spOXXl17d358irFh9DNXf8UJWH+mmveFflaIXcIQf5lUfRSY1
dxCtShKLm/CmSQScli1ohRJjAW12mreR4FdRxRJ/Y1ArSku+GV7jX9W5QHwmc6ZZ
ZKd1SQ4KE0swW9aIBH3v4EIWBA3QAijmts+xvyR0Z3R86ysYZeLMnXeZVc1MJ/iO
OXbfRYBQ5+YwvR+qMqtcL94TzvP7UHpNdKSkEz0/fNvJPlGBZxOIvJZx5nT6zUdr
9ImSE/Fb+C9PflXLEyziD2YQIuJrm91cP0VBpA1LWt5QD+oGzYDybgvaTgGhmENi
JtYOkBHJdbJ8E0nxpQaBJqEuybofqZohInnNn4OlhicTcj7NxFjKNFesq0ArRxsJ
gFwDyoEZibCwzft250lAQbV2ZhX1wOFRa5RsbWq/nGqyiNkjhb0mCyOljrSuzheP
QVYCnkozSQQKKQpB5paZjfs/m9G8Rwpx7Pka6yE0Zdb3ngZMUCWcyC3hIOnvlBSy
r9+NFcoshkmZ5+9zLiA3K8ezNEQHhfMFlmIt7Y4yeDy7RfFatAgwNbSgqtEjEw0v
BpyStFJChRT0jZzVtiHxH5fE6QN1Y1XQG4/eO9oD2vqOk/8INyphnr2zIPITzIer
eTvaQ1UzYtQ=
=03cw
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: