Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to initialize class AimetTensorQuantizer: Cannot import AimetTensorQuantizer. Please build AimetTensorQuantizer and add artifact path to PYTHONPATH to resolve this issue #3187

Open
LHB116 opened this issue Jul 19, 2024 · 5 comments
Labels
aimet-torch New feature or bug fix for AIMET PyTorch installation Installation instructions

Comments

@LHB116
Copy link

LHB116 commented Jul 19, 2024

aimet-torch=1.32.2, torch=2.2.2

@shayaanjamil-10xe
Copy link

Yes facing the same issue

I am currently on Ubuntu 20.04.6
Python 3.9

Gives me the same error

While if I setup aimet on colab, it doesn't give the error
Colab uses Ubuntu 22.04.3 and Python 3.10.12

@shayaanjamil-10xe
Copy link

Yes facing the same issue

I am currently on Ubuntu 20.04.6 Python 3.9

Gives me the same error

While if I setup aimet on colab, it doesn't give the error Colab uses Ubuntu 22.04.3 and Python 3.10.12

Update:
The issue is with the compatibility of Aimet with Python version and Ubuntu version.

I upgraded to Ubuntu 22.04.4 LTS
and my library was successfully compiled and didn't give the AimetTensorQuantizer with the aimet-torch=1.32.2, torch=2.2.2 and python version Python 3.10.14

@songh11
Copy link

songh11 commented Aug 21, 2024

是的,面临同样的问题
我目前使用的是 Ubuntu 20.04.6 Python 3.9
给了我同样的错误
而如果我在 colab 上设置 aimet,它不会给出错误 Colab 使用 Ubuntu 22.04.3 和 Python 3.10.12

更新: 问题在于 Aimet 与 Python 版本和 Ubuntu 版本的兼容性。

我升级到Ubuntu 22.04.4 LTS ,我的库成功编译,并没有给出带有aimet-torch=1.32.2, torch=2.2.2和python版本的AimetTensorQuantizerPython 3.10.14

Try to install liblapacke

@quic-hitameht quic-hitameht added aimet-torch New feature or bug fix for AIMET PyTorch installation Installation instructions labels Sep 3, 2024
@paulpanwang
Copy link

Unable to initialize class AimetTensorQuantizer: Cannot import AimetTensorQuantizer. Please build AimetTensorQuantizer and add artifact path to PYTHONPATH to resolve this issue

@hundunaning
Copy link

是的,面临同样的问题
我目前使用的是 Ubuntu 20.04.6 Python 3.9
给了我同样的错误
而如果我在 colab 上设置 aimet,它不会给出错误 Colab 使用 Ubuntu 22.04.3 和 Python 3.10.12

更新: 问题在于 Aimet 与 Python 版本和 Ubuntu 版本的兼容性。
我升级到Ubuntu 22.04.4 LTS ,我的库成功编译,并没有给出带有aimet-torch=1.32.2, torch=2.2.2和python版本的AimetTensorQuantizerPython 3.10.14

Try to install liblapacke

very helpful, i use 1.34.0 torch=2.1.2 cuda=12.1, find the same question. install liblapacke really help my code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aimet-torch New feature or bug fix for AIMET PyTorch installation Installation instructions
Projects
None yet
Development

No branches or pull requests

6 participants