aimet icon indicating copy to clipboard operation
aimet copied to clipboard

Installation problem

Open kokhazade opened this issue 1 year ago • 3 comments

Hello

I am trying to install AIMET from release package using instructions in this link. I installed prerequisite packages and set the following:

export AIMET_VARIANT=tf_gpu
export release_tag=1.33.0
export download_url="https://github.com/quic/aimet/releases/download/${release_tag}"
export wheel_file_suffix="cp310-cp310-linux_x86_64.whl"

Then after running command python3 -m pip install ${download_url}/aimet_tensorflow-${AIMET_VARIANT}_${release_tag}-${wheel_file_suffix} I get the following error:

ERROR: Invalid requirement: 'aimet-tensorflow==tf-gpu-1.33.0': Expected end or semicolon (after name and no valid version specifier)
    aimet-tensorflow==tf-gpu-1.33.0
                    ^

I tried to change the wheel_file_suffix based on this link filenames but I get the same error. Which part should change to get it working?

kokhazade avatar Jul 29 '24 08:07 kokhazade

Downgrade pip version fixed the issue in my case. I initially had pip version of 24.2 and I lowered it down to 23.0.1 python -m pip install pip==23.0.1

ChloeEHKim avatar Jul 30 '24 13:07 ChloeEHKim

Downgrade pip version fixed the issue in my case. I initially had pip version of 24.2 and I lowered it down to 23.0.1 python -m pip install pip==23.0.1

This also solves the aimet torch installation problem.

songh11 avatar Jul 31 '24 02:07 songh11

@ChloeEHKim @songh11 Thank you for your suggestion but it didn't work for me. Even I tried the following command without defining different parts of the command separately but it didn't work again. python3 -m pip install https://github.com/quic/aimet/releases/download/1.34.0/aimet_tensorflow-1.34.0.cu118-cp310-cp310-manylinux_2_34_x86_64.whl I get the same error.

kokhazade avatar Sep 20 '24 12:09 kokhazade

when I run: pip install aimet_onnx-1.34.0.cpu-cp310-cp310-manylinux_2_34_x86_64.whl

ERROR: Could not find a version that satisfies the requirement torch==1.13.1+cpu (from aimet-onnx) (from versions: 1.11.0, 1.12.0, 1.12.1, 1.13.0, 1.13.1, 2.0.0, 2.0.1, 2.1.0, 2.1.1, 2.1.2, 2.2.0, 2.2.1, 2.2.2, 2.3.0, 2.3.1, 2.4.0, 2.4.1, 2.5.0, 2.5.1) ERROR: No matching distribution found for torch==1.13.1+cpu

xuli-vecml avatar Nov 20 '24 19:11 xuli-vecml

@kokhazade @xuli-vecml Since 2.0, AIMET (except aimet-tenrosflow which we don't actively supoprt anymore 😢) is fully available from pypi. Now you can just install aimet with pip install aimet-onnx or pip install aimet-torch

quic-kyunggeu avatar Apr 30 '25 21:04 quic-kyunggeu