[MacPorts] #67740: py310-torchvision @0.13.0: fatal error: 'ATen/native/quantized/affine_quantizer.h' file not found (was: py310-torchvision does not build on Apple Mac mini M2 chip running Ventura 13.4.1)

MacPorts noreply at macports.org
Wed Jul 12 19:41:25 UTC 2023


#67740: py310-torchvision @0.13.0: fatal error:
'ATen/native/quantized/affine_quantizer.h' file not found
-----------------------------+--------------------
  Reporter:  jbrundle        |      Owner:  (none)
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:
Resolution:                  |   Keywords:
      Port:  py-torchvision  |
-----------------------------+--------------------
Changes (by ryandesign):

 * port:   => py-torchvision


Old description:

> Needed for py310-transformers install
>
> Error: Failed to build py310-torchvision: command execution failed
> Error: See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
> .org_macports_release_tarballs_ports_python_py-
> torchvision/py310-torchvision/main.log for details.
> Error: Follow https://guide.macports.org/#project.tickets if you believe
> there is a bug.
> Error: Processing of port py310-transformers failed

New description:

 Needed for py310-transformers install

 {{{
 Error: Failed to build py310-torchvision: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 torchvision/py310-torchvision/main.log for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.
 Error: Processing of port py310-transformers failed
 }}}

--

Comment:

 The error appears to be:

 {{{
 torchvision/csrc/ops/quantized/cpu/qnms_kernel.cpp:2:10: fatal error:
 'ATen/native/quantized/affine_quantizer.h' file not found
 #include <ATen/native/quantized/affine_quantizer.h>
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1 error generated.
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/67740#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list