Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#61206 - [python-pytorch] Move the .so and .h files to the "right" place
Attached to Project:
Community Packages
Opened by Martin Sandsmark (sandsmark) - Friday, 28 December 2018, 18:51 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Wednesday, 17 April 2019, 13:13 GMT
Opened by Martin Sandsmark (sandsmark) - Friday, 28 December 2018, 18:51 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Wednesday, 17 April 2019, 13:13 GMT
|
Detailspytorch now exposes a C++-API, but they are under /usr/lib/python3.7/site-packages/torch/ in the package, so they're kind of awkward to use.
|
This task depends upon
Closed by Sven-Hendrik Haase (Svenstaro)
Wednesday, 17 April 2019, 13:13 GMT
Reason for closing: Implemented
Wednesday, 17 April 2019, 13:13 GMT
Reason for closing: Implemented
Comment by Konstantin Gizdov (kgizdov) -
Friday, 12 April 2019, 13:51 GMT
Oh, wow, indeed. Headers in a ../lib folder... Nice. Will try to address this. Probable we will still need to symlink it back there after move.
Comment by Sven-Hendrik Haase (Svenstaro) -
Friday, 12 April 2019, 14:49 GMT
Where does upstream intend this to go?
Comment by Konstantin Gizdov (kgizdov) -
Friday, 12 April 2019, 15:45 GMT
Looking at the warning and example [here](https://pytorch.org/cppdocs/), I'm guessing they do intend it to be available as normal in /usr/{include,lib}.
Comment by Konstantin Gizdov (kgizdov) -
Friday, 12 April 2019, 15:56 GMT
Maybe we can just do `python setup.py build_ext` - https://github.com/pytorch/pytorch/blob/7e73783c6fefb592a112859781cf662bfb0f408d/setup.py#L671-L694
Comment by Konstantin Gizdov (kgizdov) -
Monday, 15 April 2019, 18:17 GMT
could you try python-pytorch-1.0.1-8 from [community-testing]?
Comment by Sven-Hendrik Haase (Svenstaro) -
Wednesday, 17 April 2019, 13:13 GMT
Seems good to me! Closing. Reopen if it's not to your satisfaction.