From b4d3193e229fb3dc477dcb9431ab8e22753aa59f Mon Sep 17 00:00:00 2001 From: David Dai Date: Tue, 9 Jan 2024 12:26:21 -0800 Subject: [PATCH] Updated Home (markdown) --- Home.md | 38 -------------------------------------- 1 file changed, 38 deletions(-) diff --git a/Home.md b/Home.md index cf9ef6a..a8dbce2 100644 --- a/Home.md +++ b/Home.md @@ -239,41 +239,3 @@ env PYTHON_CONFIGURE_OPTS='--enable-optimizations --with-lto' PYTHON_CFLAGS='-ma ``` You can also customize the task used for profile guided optimization by setting the `PROFILE_TASK` environment variable, for instance, `PROFILE_TASK='-m test.regrtest --pgo -j0'` will run much faster than the default task. - -### Get QPM and AISW - -This is needed to run qnn-onnx-converter, qnn-pytorch-converter. - -- On local macbook, download QPM [here](https://qpm.qualcomm.com/#/main/tools/details/QPM3). Log in with Qualpass username and password -> select "Linux" -> search QPM. - -- `scp` the file to dev machine. For example, `scp QualcommPackageManager.2.0.39.2.Linux-x86.deb weidai@$DEV:/local/mnt/workspace/downloads` - -- On Dev Desktop or DevCompute, `sudo dpkg -i .deb` - -- Install via QPM - -``` -# log in with Qualpass -qpm-cli --login -qpm-cli --license-activate qualcomm_ai_engine_direct -# This downloads the package -qpm-cli --extract qualcomm_ai_engine_direct -``` - -If you hit `No usable version of libssl was found` - -``` -sudo apt-get install libssl-dev -wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.0g-2ubuntu4_amd64.deb -sudo dpkg -i libssl1.1_1.1.0g-2ubuntu4_amd64.deb -``` - -In shell (e.g. `~/.bashrc`), add - -``` -# replace AISW_SDK_ROOT with the version printed from the installation step -export AISW_SDK_ROOT='/opt/qcom/aistack/qnn/2.18.0.240101' -export PATH="$AISW_SDK_ROOT/bin/x86_64-linux-clang:$PATH" -export LD_LIBRARY_PATH="$AISW_SDK_ROOT/lib/x86_64-linux-clang:${LD_LIBRARY_PATH}" -export PYTHONPATH="$AISW_SDK_ROOT/lib/python:$PYTHONPATH" -``` \ No newline at end of file