Page MenuHomeSolus

Update pytorch to 1.8.1
ClosedPublic

Authored by YakoYakoYokuYoku on Mar 23 2021, 6:41 PM.

Details

Summary

Changelog:

Packaging:

  • Add support for FFTW, Intel-TBB, LZ4, Redis, RocksDB, Vulkan and Zstd.
  • Change the compiler to Clang.
  • Use -gline-tables-only because the dbginfo package got massive.
  • Patterned a new libtorch-devel subpackage.

Depends on D10723, D10737, D10738, D10739, D10879 and D10929.

Signed-off-by: Martin Reboredo <yakoyoku@gmail.com>

Test Plan

Ran this mnist example with success.

Diff Detail

Repository
R4672 pytorch
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

YakoYakoYokuYoku requested review of this revision.Mar 23 2021, 6:41 PM
algent added a subscriber: algent.Mar 28 2021, 7:56 PM

Hey @YakoYakoYokuYoku , I think you have to remove python-typing from builddeps and rundeps because it is a python2 package.

JoshStrobl requested changes to this revision.Apr 25 2021, 3:41 PM
JoshStrobl added a subscriber: JoshStrobl.
JoshStrobl added inline comments.
package.yml
26

This should be getting pulled in by your updated opencv.

27–28

This should be getting pulled in by rocksdb-devel.

31

This should be getting pulled in by rocksdb-devel.

33

This should be getting pulled in by rocksdb-devel.

34

This should be getting pulled in by your updated opencv.

41

Given we will have rocksdb per your patch, surely this can be removed?

48

rocksdb has a pkgconfig per your patch, should use it.

This revision now requires changes to proceed.Apr 25 2021, 3:41 PM
YakoYakoYokuYoku marked 7 inline comments as done.
YakoYakoYokuYoku retitled this revision from Update pytorch to 1.8.0 to Update pytorch to 1.8.1.
YakoYakoYokuYoku edited the summary of this revision. (Show Details)

Update to 1.8.1.

Remove explicit Qt5 dependency.

package.yml
34

In this case opencv-devel does not depend entirely on OpenBLAS.

41

Some of LevelDB's functionalities are still required, hopefully in some later versions might get dropped.

YakoYakoYokuYoku edited the summary of this revision. (Show Details)

Dependency on leveldb update.

Enable more jobs for build server.

joebonrichie requested changes to this revision.Apr 27 2021, 2:17 PM
joebonrichie added a subscriber: joebonrichie.
joebonrichie added inline comments.
package.yml
35

opencv4

This revision now requires changes to proceed.Apr 27 2021, 2:17 PM

Use updated pkgconfig name for opencv 4

joebonrichie accepted this revision.Apr 27 2021, 7:21 PM
This revision was not accepted when it landed; it landed in state Needs Review.Apr 27 2021, 7:22 PM
This revision was automatically updated to reflect the committed changes.