Package Details: python-pytorch-tensorrt 1.4.0-1

Git Clone URL: https://aur.archlinux.org/python-pytorch-tensorrt.git (read-only, click to copy)
Package Base: python-pytorch-tensorrt
Description: PyTorch/TorchScript/FX compiler for NVIDIA GPUs using TensorRT
Upstream URL: https://github.com/pytorch/TensorRT
Licenses: BSD
Submitter: sl1pkn07
Maintainer: sl1pkn07
Last Packager: sl1pkn07
Votes: 1
Popularity: 0.37
First Submitted: 2023-01-06 00:49 (UTC)
Last Updated: 2024-01-25 19:54 (UTC)

Latest Comments

« First ‹ Previous 1 2

sl1pkn07 commented on 2023-02-06 16:36 (UTC)

try now

FuzzyAtish commented on 2023-02-06 09:11 (UTC) (edited on 2023-02-06 11:40 (UTC) by FuzzyAtish)

The upstream repo requires version 5.2.0 of bazel, but the current version that's in the Arch repo is 6.0.0.
This unfortunately yields the following error while building the package:

[100%] Linking CXX executable ../../../bin/torchtrtc
[100%] Built target torchtrtc
running bdist_wheel
using CXX11 ABI build
building libtorchtrt
ERROR: The project you're trying to build requires Bazel 5.2.0 (specified in /home/user/.cache/yay/python-pytorch-tensorrt/src/TensorRT/.bazelversion), but it wasn't found in /usr/bin.

Bazel binaries for all official releases can be downloaded from here:
  https://github.com/bazelbuild/bazel/releases

Please put the downloaded Bazel binary into this location:
  /usr/bin/bazel-5.2.0-linux-x86_64
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: python-pytorch-tensorrt

One way around this would be to install the necessary version as suggested in the error message