python-thop on AUR (Arch User Repository)

Last updated: December 03,2024

1. Install "python-thop" effortlessly via AUR with the help of a helper(YAY)

a. Install YAY (https://github.com/Jguer/yay)

$ sudo pacman -S --needed git base-devel && git clone https://aur.archlinux.org/yay.git && cd yay && makepkg -si

b. Install python-thop on Arch using YAY

$ yay -S python-thop

* (Optional) Uninstall python-thop on Arch using YAY

$ yay -Rns python-thop

2. Manually Install "python-thop" via AUR

a. Ensure you have the base development tools and git installed with:

$ sudo pacman -S --needed base-devel git

b. Clone python-thop's git locally

$ git clone https://aur.archlinux.org/python-thop.git ~/python-thop

c. Go to ~/python-thop folder and install it

$ cd ~/python-thop $ makepkg -si

3. Information about the python-thop package on Arch User Repository (AUR)

ID: 1421642
Name: python-thop
PackageBaseID: 198426
PackageBase: python-thop
Version: 1:0.1.1.post2209072238-1
Description: Count the MACs / FLOPs of your PyTorch model.
URL: https://github.com/Lyken17/pytorch-OpCounter
NumVotes: 1
Popularity: 1
OutOfDate:
Maintainer: fanyujun
Submitter: fanyujun
FirstSubmitted: 1697027925
LastModified: 1709710973
URLPath: /cgit/aur.git/snapshot/python-thop.tar.gz