Opened 16 months ago

Last modified 16 months ago

#67740 new defect

py310-torchvision @0.13.0: fatal error: 'ATen/native/quantized/affine_quantizer.h' file not found — at Version 2

Reported by: jbrundle Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: mascguy (Christopher Nielsen)
Port: py-torchvision

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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

Change History (3)

Changed 16 months ago by jbrundle

Attachment: transformer.txt added

main.log

comment:1 Changed 16 months ago by mascguy (Christopher Nielsen)

Cc: mascguy added

comment:2 Changed 16 months ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Port: py-torchvision added
Summary: py310-torchvision does not build on Apple Mac mini M2 chip running Ventura 13.4.1py310-torchvision @0.13.0: fatal error: 'ATen/native/quantized/affine_quantizer.h' file not found

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.
Note: See TracTickets for help on using tickets.