Comments (3)
Related to my comment in #2869
from aimet.
Fixed, self-pat π
Solution
- Trace lapacke with
locate lapacke.pc
- Force AIMET to grab your lapacke via:
export PKG_CONFIG_PATH=<path-from-step1>/pkgconfig
Alternatively, edit theCMakeList.txt
of AIMET forcing it to grab your lapacke lib & include.
Good luck!
Epilog
- Used apt lapacke & conda-forge lapacke. The latter might not ship
lapacke.pc
sometimes π€· if so find it as create it yourself
Misc notes
- Oh boy, hat tip to the maintainer of that CMake file. Whoever wrote it was so "hard-core" aka it works don't touch it π
- Perhaps a LLM will scrape all public github repos (issues, etc.) and self-pat itself in the next decades π
from aimet.
FYI a lapacke.pc
looks like this
libdir=/home/FUNNYCONTAINER/crazy.taco/miniconda3/envs/wacky_aimet/lib
includedir=/home/FUNNYCONTAINER/crazy.taco/miniconda3/envs/wacky_aimet/include
Name: LAPACKE
Description: C Standard Interface to LAPACK Linear Algebra PACKage
Version: 3.9.0
URL: http://www.netlib.org/lapack/#_standard_c_language_apis_for_lapack
Libs: -L${libdir} -llapacke
Cflags: -I${includedir}
Requires.private: lapack
from aimet.
Related Issues (20)
- Constant activation quantization logic is capturing op parameters & applying act-quant-config
- Adding overview page
- Adding migration guide for Quantsim 1.0 to Quantsim 2.0
- Add blockwise quantization docs
- Issue add exceptions for loading lora weights
- what's the steps to realize run model on qdsp or enpu?
- Modify quantizer type based on encoding provided when strict=False
- aimet common didn't releaseοΌ HOT 5
- Missing save_as_external_data in OnnxSaver.save_initializer_restored_onnx_graph
- Torch batchnorm issue with Aimet 1.32.2
- AIMET 1.32 support for diffusers 1.28
- AIMET-TF-GPU Installation Issue
- CUDA ARCH 9.0 unsupported? HOT 7
- Memory Corruption Error: free(): invalid next size (fast) in bias_fold Method
- ImportError libpymo in AIMET 1.32 Pytorch 2.1.2+cu118 HOT 7
- CUDA ARCH 9.0 unsupported?
- RNN can not be quantized by aimet
- Fix device mismatch with blockwise api
- Added support for GridSample Op and made ScatterND op Jit tracable
- Unable to initialize class AimetTensorQuantizer: Cannot import AimetTensorQuantizer. Please build AimetTensorQuantizer and add artifact path to PYTHONPATH to resolve this issue HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aimet.