(py310) zxb@zxb-virtual-machine:~/Desktop/ti/edgeai-modelmaker$ pyenv virtualenv 3.10 modelqt (py310) zxb@zxb-virtual-machine:~/Desktop/ti/edgeai-modelmaker$ pyenv activate modelqt (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti/edgeai-modelmaker$ cd . (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti/edgeai-modelmaker$ cd .. (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti$ cd edgeai-m edgeai-mmdetection/ edgeai-modelmaker/ edgeai-modelzoo/ (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti$ cd edgeai-m edgeai-mmdetection/ edgeai-modelmaker/ edgeai-modelzoo/ (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti$ cd edgeai- edgeai-benchmark/ edgeai-mmdetection/ edgeai-modelmaker/ edgeai-modelzoo/ edgeai-tidl-tools/ edgeai-torchvision/ edgeai-yolox/ (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti$ git clone https://github.com/TexasInstruments/edgeai-modeloptimization.git Cloning into 'edgeai-modeloptimization'... remote: Enumerating objects: 3890, done. remote: Counting objects: 100% (1450/1450), done. remote: Compressing objects: 100% (385/385), done. remote: Total 3890 (delta 1115), reused 1363 (delta 1059), pack-reused 2440 (from 1) Receiving objects: 100% (3890/3890), 43.05 MiB | 13.11 MiB/s, done. Resolving deltas: 100% (2662/2662), done. (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti$ ls edgeai-benchmark edgeai-mmdetection edgeai-modelmaker edgeai-modeloptimization edgeai-modelzoo edgeai-tidl-tools edgeai-torchvision edgeai-yolox (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti$ cd edgeai-m edgeai-mmdetection/ edgeai-modelmaker/ edgeai-modeloptimization/ edgeai-modelzoo/ (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti$ cd edgeai-m edgeai-mmdetection/ edgeai-modelmaker/ edgeai-modeloptimization/ edgeai-modelzoo/ (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti$ cd edgeai-modeloptimization/ (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti/edgeai-modeloptimization$ ls LICENSE README.md torchmodelopt (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti/edgeai-modeloptimization$ pip3 install "git+https://github.com/TexasInstruments/edgeai-modeloptimization.git#subdirectory=torchmodelopt" Collecting git+https://github.com/TexasInstruments/edgeai-modeloptimization.git#subdirectory=torchmodelopt Cloning https://github.com/TexasInstruments/edgeai-modeloptimization.git to /tmp/pip-req-build-g7r6bqz1 Running command git clone --filter=blob:none --quiet https://github.com/TexasInstruments/edgeai-modeloptimization.git /tmp/pip-req-build-g7r6bqz1 Resolved https://github.com/TexasInstruments/edgeai-modeloptimization.git to commit 0532969072b66ec1a1de0e38c0c29acbe986679d Preparing metadata (setup.py) ... done Collecting progressbar Using cached progressbar-2.5-py3-none-any.whl Collecting colorama Downloading colorama-0.4.6-py2.py3-none-any.whl (25 kB) Collecting opencv-python Downloading opencv_python-4.10.0.84-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (62.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.5/62.5 MB 15.6 MB/s eta 0:00:00 Collecting scipy Downloading scipy-1.14.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (41.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 41.2/41.2 MB 19.5 MB/s eta 0:00:00 Collecting matplotlib Downloading matplotlib-3.9.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.3/8.3 MB 22.1 MB/s eta 0:00:00 Collecting pyyaml Downloading PyYAML-6.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (751 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 751.2/751.2 kB 15.3 MB/s eta 0:00:00 Collecting torchinfo Downloading torchinfo-1.8.0-py3-none-any.whl (23 kB) Collecting onnxsim Downloading onnxsim-0.4.36-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.3/2.3 MB 15.0 MB/s eta 0:00:00 Collecting pydot Downloading pydot-3.0.2-py3-none-any.whl (35 kB) Collecting pyparsing>=2.3.1 Downloading pyparsing-3.2.0-py3-none-any.whl (106 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 106.9/106.9 kB 34.4 MB/s eta 0:00:00 Collecting fonttools>=4.22.0 Downloading fonttools-4.55.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.6/4.6 MB 25.4 MB/s eta 0:00:00 Collecting contourpy>=1.0.1 Downloading contourpy-1.3.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (324 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 325.0/325.0 kB 29.0 MB/s eta 0:00:00 Collecting python-dateutil>=2.7 Downloading python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 229.9/229.9 kB 39.4 MB/s eta 0:00:00 Collecting packaging>=20.0 Downloading packaging-24.2-py3-none-any.whl (65 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 65.5/65.5 kB 28.9 MB/s eta 0:00:00 Collecting kiwisolver>=1.3.1 Downloading kiwisolver-1.4.7-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.6/1.6 MB 15.0 MB/s eta 0:00:00 Collecting cycler>=0.10 Downloading cycler-0.12.1-py3-none-any.whl (8.3 kB) Collecting pillow>=8 Downloading pillow-11.0.0-cp310-cp310-manylinux_2_28_x86_64.whl (4.4 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.4/4.4 MB 20.2 MB/s eta 0:00:00 Collecting numpy>=1.23 Downloading numpy-2.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (16.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 16.3/16.3 MB 21.6 MB/s eta 0:00:00 Collecting rich Downloading rich-13.9.4-py3-none-any.whl (242 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 242.4/242.4 kB 36.3 MB/s eta 0:00:00 Collecting onnx Downloading onnx-1.17.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (16.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 16.0/16.0 MB 14.1 MB/s eta 0:00:00 Collecting six>=1.5 Downloading six-1.16.0-py2.py3-none-any.whl (11 kB) Collecting protobuf>=3.20.2 Downloading protobuf-5.28.3-cp38-abi3-manylinux2014_x86_64.whl (316 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 316.6/316.6 kB 16.8 MB/s eta 0:00:00 Collecting markdown-it-py>=2.2.0 Downloading markdown_it_py-3.0.0-py3-none-any.whl (87 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 87.5/87.5 kB 28.8 MB/s eta 0:00:00 Collecting typing-extensions<5.0,>=4.0.0 Downloading typing_extensions-4.12.2-py3-none-any.whl (37 kB) Collecting pygments<3.0.0,>=2.13.0 Downloading pygments-2.18.0-py3-none-any.whl (1.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 22.7 MB/s eta 0:00:00 Collecting mdurl~=0.1 Downloading mdurl-0.1.2-py3-none-any.whl (10.0 kB) Installing collected packages: progressbar, typing-extensions, torchinfo, six, pyyaml, pyparsing, pygments, protobuf, pillow, packaging, numpy, mdurl, kiwisolver, fonttools, cycler, colorama, scipy, python-dateutil, pydot, opencv-python, onnx, markdown-it-py, contourpy, rich, matplotlib, onnxsim, edgeai-torchmodelopt DEPRECATION: edgeai-torchmodelopt is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559 Running setup.py install for edgeai-torchmodelopt ... done Successfully installed colorama-0.4.6 contourpy-1.3.1 cycler-0.12.1 edgeai-torchmodelopt-10.0.0+532969 fonttools-4.55.0 kiwisolver-1.4.7 markdown-it-py-3.0.0 matplotlib-3.9.2 mdurl-0.1.2 numpy-2.1.3 onnx-1.17.0 onnxsim-0.4.36 opencv-python-4.10.0.84 packaging-24.2 pillow-11.0.0 progressbar-2.5 protobuf-5.28.3 pydot-3.0.2 pygments-2.18.0 pyparsing-3.2.0 python-dateutil-2.9.0.post0 pyyaml-6.0.2 rich-13.9.4 scipy-1.14.1 six-1.16.0 torchinfo-1.8.0 typing-extensions-4.12.2 [notice] A new release of pip is available: 23.0.1 -> 24.3.1 [notice] To update, run: python -m pip install --upgrade pip (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti/edgeai-modeloptimization$ cd .git/ torchmodelopt/ (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti/edgeai-modeloptimization$ cd .git/ torchmodelopt/ (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti/edgeai-modeloptimization$ cd .git/ torchmodelopt/ (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti/edgeai-modeloptimization$ cd torchmodelopt/ (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti/edgeai-modeloptimization/torchmodelopt$ ./setup.sh installing the pytorch model optimization toolkit... version_file=/home/zxb/Desktop/ti/edgeai-modeloptimization/torchmodelopt/version.py /home/zxb/.pyenv/versions/modelqt/lib/python3.10/site-packages/setuptools/dist.py:530: UserWarning: Normalizing '10.0.0+0532969' to '10.0.0+532969' warnings.warn(tmpl.format(**locals())) running develop /home/zxb/.pyenv/versions/modelqt/lib/python3.10/site-packages/setuptools/command/easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools. warnings.warn( /home/zxb/.pyenv/versions/modelqt/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running egg_info creating edgeai_torchmodelopt.egg-info writing edgeai_torchmodelopt.egg-info/PKG-INFO writing dependency_links to edgeai_torchmodelopt.egg-info/dependency_links.txt writing requirements to edgeai_torchmodelopt.egg-info/requires.txt writing top-level names to edgeai_torchmodelopt.egg-info/top_level.txt writing manifest file 'edgeai_torchmodelopt.egg-info/SOURCES.txt' reading manifest file 'edgeai_torchmodelopt.egg-info/SOURCES.txt' writing manifest file 'edgeai_torchmodelopt.egg-info/SOURCES.txt' running build_ext Creating /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages/edgeai-torchmodelopt.egg-link (link to .) Adding edgeai-torchmodelopt 10.0.0+532969 to easy-install.pth file Installed /home/zxb/Desktop/ti/edgeai-modeloptimization/torchmodelopt Processing dependencies for edgeai-torchmodelopt==10.0.0+532969 Searching for pydot==3.0.2 Best match: pydot 3.0.2 Adding pydot 3.0.2 to easy-install.pth file Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for onnxsim==0.4.36 Best match: onnxsim 0.4.36 Adding onnxsim 0.4.36 to easy-install.pth file Installing onnxsim script to /home/zxb/.pyenv/versions/modelqt/bin Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for torchinfo==1.8.0 Best match: torchinfo 1.8.0 Adding torchinfo 1.8.0 to easy-install.pth file Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for PyYAML==6.0.2 Best match: PyYAML 6.0.2 Adding PyYAML 6.0.2 to easy-install.pth file Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for matplotlib==3.9.2 Best match: matplotlib 3.9.2 Adding matplotlib 3.9.2 to easy-install.pth file Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for scipy==1.14.1 Best match: scipy 1.14.1 Adding scipy 1.14.1 to easy-install.pth file Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for opencv-python==4.10.0.84 Best match: opencv-python 4.10.0.84 Adding opencv-python 4.10.0.84 to easy-install.pth file Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for colorama==0.4.6 Best match: colorama 0.4.6 Adding colorama 0.4.6 to easy-install.pth file Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for progressbar==2.5 Best match: progressbar 2.5 Adding progressbar 2.5 to easy-install.pth file Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for pyparsing==3.2.0 Best match: pyparsing 3.2.0 Adding pyparsing 3.2.0 to easy-install.pth file Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for rich==13.9.4 Best match: rich 13.9.4 Adding rich 13.9.4 to easy-install.pth file Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for onnx==1.17.0 Best match: onnx 1.17.0 Adding onnx 1.17.0 to easy-install.pth file Installing backend-test-tools script to /home/zxb/.pyenv/versions/modelqt/bin Installing check-model script to /home/zxb/.pyenv/versions/modelqt/bin Installing check-node script to /home/zxb/.pyenv/versions/modelqt/bin Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for python-dateutil==2.9.0.post0 Best match: python-dateutil 2.9.0.post0 Adding python-dateutil 2.9.0.post0 to easy-install.pth file Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for pillow==11.0.0 Best match: pillow 11.0.0 Adding pillow 11.0.0 to easy-install.pth file Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for packaging==24.2 Best match: packaging 24.2 Adding packaging 24.2 to easy-install.pth file Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for numpy==2.1.3 Best match: numpy 2.1.3 Adding numpy 2.1.3 to easy-install.pth file Installing f2py script to /home/zxb/.pyenv/versions/modelqt/bin Installing numpy-config script to /home/zxb/.pyenv/versions/modelqt/bin Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for kiwisolver==1.4.7 Best match: kiwisolver 1.4.7 Adding kiwisolver 1.4.7 to easy-install.pth file Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for fonttools==4.55.0 Best match: fonttools 4.55.0 Adding fonttools 4.55.0 to easy-install.pth file Installing fonttools script to /home/zxb/.pyenv/versions/modelqt/bin Installing pyftmerge script to /home/zxb/.pyenv/versions/modelqt/bin Installing pyftsubset script to /home/zxb/.pyenv/versions/modelqt/bin Installing ttx script to /home/zxb/.pyenv/versions/modelqt/bin Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for cycler==0.12.1 Best match: cycler 0.12.1 Adding cycler 0.12.1 to easy-install.pth file Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for contourpy==1.3.1 Best match: contourpy 1.3.1 Adding contourpy 1.3.1 to easy-install.pth file Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for typing-extensions==4.12.2 Best match: typing-extensions 4.12.2 Adding typing-extensions 4.12.2 to easy-install.pth file Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for pygments==2.18.0 Best match: pygments 2.18.0 Adding pygments 2.18.0 to easy-install.pth file Installing pygmentize script to /home/zxb/.pyenv/versions/modelqt/bin Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for markdown-it-py==3.0.0 Best match: markdown-it-py 3.0.0 Adding markdown-it-py 3.0.0 to easy-install.pth file Installing markdown-it script to /home/zxb/.pyenv/versions/modelqt/bin Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for protobuf==5.28.3 Best match: protobuf 5.28.3 Adding protobuf 5.28.3 to easy-install.pth file Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for six==1.16.0 Best match: six 1.16.0 Adding six 1.16.0 to easy-install.pth file Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for mdurl==0.1.2 Best match: mdurl 0.1.2 Adding mdurl 0.1.2 to easy-install.pth file Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Finished processing dependencies for edgeai-torchmodelopt==10.0.0+532969 For running demo, run demo/setup.sh otherwise ignore this message (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti/edgeai-modeloptimization/torchmodelopt$ ls demo docs edgeai_torchmodelopt edgeai_torchmodelopt.egg-info example_notebooks main __pycache__ README.md requirements.txt setup.py setup.sh surgery_dict.json version.py (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti/edgeai-modeloptimization/torchmodelopt$ jupyter notebook pyenv: jupyter: command not found The `jupyter' command exists in these Python versions: 3.10.15/envs/benchmark 3.10.15/envs/py310 benchmark py310 Note: See 'pyenv help global' for tips on allowing both python2 and python3 to be found. (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti/edgeai-modeloptimization/torchmodelopt$ pip install jupyter noteboot ^CERROR: Operation cancelled by user [notice] A new release of pip is available: 23.0.1 -> 24.3.1 [notice] To update, run: python -m pip install --upgrade pip (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti/edgeai-modeloptimization/torchmodelopt$ ^C (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti/edgeai-modeloptimization/torchmodelopt$ pip install jupyter notebook Collecting jupyter Downloading jupyter-1.1.1-py2.py3-none-any.whl (2.7 kB) Collecting notebook Downloading notebook-7.2.2-py3-none-any.whl (5.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.0/5.0 MB 4.5 MB/s eta 0:00:00 Collecting jupyter-console Downloading jupyter_console-6.6.3-py3-none-any.whl (24 kB) Collecting ipykernel Downloading ipykernel-6.29.5-py3-none-any.whl (117 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 117.2/117.2 kB 47.6 MB/s eta 0:00:00 Collecting nbconvert Downloading nbconvert-7.16.4-py3-none-any.whl (257 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 257.4/257.4 kB 31.1 MB/s eta 0:00:00 Collecting jupyterlab Downloading jupyterlab-4.3.1-py3-none-any.whl (11.7 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.7/11.7 MB 10.3 MB/s eta 0:00:00 Collecting ipywidgets Downloading ipywidgets-8.1.5-py3-none-any.whl (139 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 139.8/139.8 kB 29.2 MB/s eta 0:00:00 Collecting jupyterlab-server<3,>=2.27.1 Downloading jupyterlab_server-2.27.3-py3-none-any.whl (59 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 59.7/59.7 kB 7.5 MB/s eta 0:00:00 Collecting jupyterlab Downloading jupyterlab-4.2.6-py3-none-any.whl (11.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.6/11.6 MB 22.6 MB/s eta 0:00:00 Collecting jupyter-server<3,>=2.4.0 Downloading jupyter_server-2.14.2-py3-none-any.whl (383 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 383.6/383.6 kB 26.8 MB/s eta 0:00:00 Collecting notebook-shim<0.3,>=0.2 Downloading notebook_shim-0.2.4-py3-none-any.whl (13 kB) Collecting tornado>=6.2.0 Downloading tornado-6.4.2-cp38-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (437 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 437.2/437.2 kB 19.7 MB/s eta 0:00:00 Requirement already satisfied: packaging>=22.0 in /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages (from jupyter-server<3,>=2.4.0->notebook) (24.2) Collecting pyzmq>=24 Downloading pyzmq-26.2.0-cp310-cp310-manylinux_2_28_x86_64.whl (868 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 868.8/868.8 kB 23.6 MB/s eta 0:00:00 Collecting websocket-client>=1.7 Downloading websocket_client-1.8.0-py3-none-any.whl (58 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.8/58.8 kB 27.0 MB/s eta 0:00:00 Collecting traitlets>=5.6.0 Downloading traitlets-5.14.3-py3-none-any.whl (85 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 85.4/85.4 kB 41.0 MB/s eta 0:00:00 Collecting anyio>=3.1.0 Downloading anyio-4.6.2.post1-py3-none-any.whl (90 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.4/90.4 kB 41.7 MB/s eta 0:00:00 Collecting prometheus-client>=0.9 Downloading prometheus_client-0.21.0-py3-none-any.whl (54 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 54.7/54.7 kB 26.4 MB/s eta 0:00:00 Collecting jupyter-events>=0.9.0 Downloading jupyter_events-0.10.0-py3-none-any.whl (18 kB) Collecting jupyter-core!=5.0.*,>=4.12 Downloading jupyter_core-5.7.2-py3-none-any.whl (28 kB) Collecting jupyter-client>=7.4.4 Downloading jupyter_client-8.6.3-py3-none-any.whl (106 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 106.1/106.1 kB 44.3 MB/s eta 0:00:00 Collecting jinja2>=3.0.3 Downloading jinja2-3.1.4-py3-none-any.whl (133 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.3/133.3 kB 50.3 MB/s eta 0:00:00 Collecting nbformat>=5.3.0 Downloading nbformat-5.10.4-py3-none-any.whl (78 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.5/78.5 kB 35.6 MB/s eta 0:00:00 Collecting overrides>=5.0 Downloading overrides-7.7.0-py3-none-any.whl (17 kB) Collecting send2trash>=1.8.2 Downloading Send2Trash-1.8.3-py3-none-any.whl (18 kB) Collecting terminado>=0.8.3 Downloading terminado-0.18.1-py3-none-any.whl (14 kB) Collecting jupyter-server-terminals>=0.4.4 Downloading jupyter_server_terminals-0.5.3-py3-none-any.whl (13 kB) Collecting argon2-cffi>=21.1 Downloading argon2_cffi-23.1.0-py3-none-any.whl (15 kB) Collecting httpx>=0.25.0 Downloading httpx-0.27.2-py3-none-any.whl (76 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 76.4/76.4 kB 21.7 MB/s eta 0:00:00 Collecting tomli>=1.2.2 Downloading tomli-2.1.0-py3-none-any.whl (13 kB) Collecting async-lru>=1.0.0 Downloading async_lru-2.0.4-py3-none-any.whl (6.1 kB) Requirement already satisfied: setuptools>=40.1.0 in /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages (from jupyterlab->jupyter) (65.5.0) Collecting jupyter-lsp>=2.0.0 Downloading jupyter_lsp-2.2.5-py3-none-any.whl (69 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 69.1/69.1 kB 21.8 MB/s eta 0:00:00 Collecting ipython>=7.23.1 Downloading ipython-8.29.0-py3-none-any.whl (819 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 819.9/819.9 kB 16.5 MB/s eta 0:00:00 Collecting nest-asyncio Downloading nest_asyncio-1.6.0-py3-none-any.whl (5.2 kB) Collecting psutil Downloading psutil-6.1.0-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (287 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 287.3/287.3 kB 30.5 MB/s eta 0:00:00 Collecting comm>=0.1.1 Downloading comm-0.2.2-py3-none-any.whl (7.2 kB) Collecting debugpy>=1.6.5 Downloading debugpy-1.8.9-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.6/3.6 MB 25.6 MB/s eta 0:00:00 Collecting matplotlib-inline>=0.1 Downloading matplotlib_inline-0.1.7-py3-none-any.whl (9.9 kB) Collecting jsonschema>=4.18.0 Downloading jsonschema-4.23.0-py3-none-any.whl (88 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 88.5/88.5 kB 22.4 MB/s eta 0:00:00 Collecting babel>=2.10 Downloading babel-2.16.0-py3-none-any.whl (9.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.6/9.6 MB 22.9 MB/s eta 0:00:00 Collecting requests>=2.31 Downloading requests-2.32.3-py3-none-any.whl (64 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 64.9/64.9 kB 29.9 MB/s eta 0:00:00 Collecting json5>=0.9.0 Downloading json5-0.10.0-py3-none-any.whl (34 kB) Collecting bleach!=5.0.0 Downloading bleach-6.2.0-py3-none-any.whl (163 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 163.4/163.4 kB 42.2 MB/s eta 0:00:00 Requirement already satisfied: pygments>=2.4.1 in /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages (from nbconvert->jupyter) (2.18.0) Collecting nbclient>=0.5.0 Downloading nbclient-0.10.0-py3-none-any.whl (25 kB) Collecting jupyterlab-pygments Downloading jupyterlab_pygments-0.3.0-py3-none-any.whl (15 kB) Collecting beautifulsoup4 Downloading beautifulsoup4-4.12.3-py3-none-any.whl (147 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 147.9/147.9 kB 30.5 MB/s eta 0:00:00 Collecting markupsafe>=2.0 Downloading MarkupSafe-3.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (20 kB) Collecting pandocfilters>=1.4.1 Downloading pandocfilters-1.5.1-py2.py3-none-any.whl (8.7 kB) Collecting tinycss2 Downloading tinycss2-1.4.0-py3-none-any.whl (26 kB) Collecting mistune<4,>=2.0.3 Downloading mistune-3.0.2-py3-none-any.whl (47 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.0/48.0 kB 21.5 MB/s eta 0:00:00 Collecting defusedxml Downloading defusedxml-0.7.1-py2.py3-none-any.whl (25 kB) Collecting widgetsnbextension~=4.0.12 Downloading widgetsnbextension-4.0.13-py3-none-any.whl (2.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.3/2.3 MB 22.3 MB/s eta 0:00:00 Collecting jupyterlab-widgets~=3.0.12 Downloading jupyterlab_widgets-3.0.13-py3-none-any.whl (214 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 214.4/214.4 kB 31.0 MB/s eta 0:00:00 Collecting prompt-toolkit>=3.0.30 Downloading prompt_toolkit-3.0.48-py3-none-any.whl (386 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 386.6/386.6 kB 33.3 MB/s eta 0:00:00 Collecting idna>=2.8 Downloading idna-3.10-py3-none-any.whl (70 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 70.4/70.4 kB 34.6 MB/s eta 0:00:00 Collecting sniffio>=1.1 Downloading sniffio-1.3.1-py3-none-any.whl (10 kB) Collecting exceptiongroup>=1.0.2 Downloading exceptiongroup-1.2.2-py3-none-any.whl (16 kB) Requirement already satisfied: typing-extensions>=4.1 in /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages (from anyio>=3.1.0->jupyter-server<3,>=2.4.0->notebook) (4.12.2) Collecting argon2-cffi-bindings Downloading argon2_cffi_bindings-21.2.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (86 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 86.2/86.2 kB 14.6 MB/s eta 0:00:00 Collecting webencodings Downloading webencodings-0.5.1-py2.py3-none-any.whl (11 kB) Collecting certifi Downloading certifi-2024.8.30-py3-none-any.whl (167 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 167.3/167.3 kB 37.9 MB/s eta 0:00:00 Collecting httpcore==1.* Downloading httpcore-1.0.7-py3-none-any.whl (78 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.6/78.6 kB 19.3 MB/s eta 0:00:00 Collecting h11<0.15,>=0.13 Downloading h11-0.14.0-py3-none-any.whl (58 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.3/58.3 kB 27.4 MB/s eta 0:00:00 Collecting jedi>=0.16 Downloading jedi-0.19.2-py2.py3-none-any.whl (1.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.6/1.6 MB 15.4 MB/s eta 0:00:00 Collecting pexpect>4.3 Downloading pexpect-4.9.0-py2.py3-none-any.whl (63 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 63.8/63.8 kB 16.1 MB/s eta 0:00:00 Collecting decorator Downloading decorator-5.1.1-py3-none-any.whl (9.1 kB) Collecting stack-data Downloading stack_data-0.6.3-py3-none-any.whl (24 kB) Collecting jsonschema-specifications>=2023.03.6 Downloading jsonschema_specifications-2024.10.1-py3-none-any.whl (18 kB) Collecting attrs>=22.2.0 Downloading attrs-24.2.0-py3-none-any.whl (63 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 63.0/63.0 kB 24.9 MB/s eta 0:00:00 Collecting referencing>=0.28.4 Downloading referencing-0.35.1-py3-none-any.whl (26 kB) Collecting rpds-py>=0.7.1 Downloading rpds_py-0.21.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (360 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 360.8/360.8 kB 12.7 MB/s eta 0:00:00 Requirement already satisfied: python-dateutil>=2.8.2 in /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages (from jupyter-client>=7.4.4->jupyter-server<3,>=2.4.0->notebook) (2.9.0.post0) Collecting platformdirs>=2.5 Downloading platformdirs-4.3.6-py3-none-any.whl (18 kB) Collecting python-json-logger>=2.0.4 Downloading python_json_logger-2.0.7-py3-none-any.whl (8.1 kB) Collecting rfc3986-validator>=0.1.1 Downloading rfc3986_validator-0.1.1-py2.py3-none-any.whl (4.2 kB) Requirement already satisfied: pyyaml>=5.3 in /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages (from jupyter-events>=0.9.0->jupyter-server<3,>=2.4.0->notebook) (6.0.2) Collecting rfc3339-validator Downloading rfc3339_validator-0.1.4-py2.py3-none-any.whl (3.5 kB) Collecting fastjsonschema>=2.15 Downloading fastjsonschema-2.20.0-py3-none-any.whl (23 kB) Collecting wcwidth Downloading wcwidth-0.2.13-py2.py3-none-any.whl (34 kB) Collecting urllib3<3,>=1.21.1 Downloading urllib3-2.2.3-py3-none-any.whl (126 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 126.3/126.3 kB 29.3 MB/s eta 0:00:00 Collecting charset-normalizer<4,>=2 Downloading charset_normalizer-3.4.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (144 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 144.8/144.8 kB 34.6 MB/s eta 0:00:00 Collecting ptyprocess Downloading ptyprocess-0.7.0-py2.py3-none-any.whl (13 kB) Collecting soupsieve>1.2 Downloading soupsieve-2.6-py3-none-any.whl (36 kB) Collecting parso<0.9.0,>=0.8.4 Downloading parso-0.8.4-py2.py3-none-any.whl (103 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 103.7/103.7 kB 38.4 MB/s eta 0:00:00 Collecting webcolors>=24.6.0 Downloading webcolors-24.11.1-py3-none-any.whl (14 kB) Collecting uri-template Downloading uri_template-1.3.0-py3-none-any.whl (11 kB) Collecting isoduration Downloading isoduration-20.11.0-py3-none-any.whl (11 kB) Collecting jsonpointer>1.13 Downloading jsonpointer-3.0.0-py2.py3-none-any.whl (7.6 kB) Collecting fqdn Downloading fqdn-1.5.1-py3-none-any.whl (9.1 kB) Requirement already satisfied: six>=1.5 in /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages (from python-dateutil>=2.8.2->jupyter-client>=7.4.4->jupyter-server<3,>=2.4.0->notebook) (1.16.0) Collecting cffi>=1.0.1 Downloading cffi-1.17.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (446 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 446.2/446.2 kB 21.6 MB/s eta 0:00:00 Collecting executing>=1.2.0 Downloading executing-2.1.0-py2.py3-none-any.whl (25 kB) Collecting asttokens>=2.1.0 Downloading asttokens-2.4.1-py2.py3-none-any.whl (27 kB) Collecting pure-eval Downloading pure_eval-0.2.3-py3-none-any.whl (11 kB) Collecting pycparser Downloading pycparser-2.22-py3-none-any.whl (117 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 117.6/117.6 kB 19.5 MB/s eta 0:00:00 Collecting arrow>=0.15.0 Downloading arrow-1.3.0-py3-none-any.whl (66 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 66.4/66.4 kB 16.8 MB/s eta 0:00:00 Collecting types-python-dateutil>=2.8.10 Downloading types_python_dateutil-2.9.0.20241003-py3-none-any.whl (9.7 kB) Installing collected packages: webencodings, wcwidth, pure-eval, ptyprocess, fastjsonschema, widgetsnbextension, websocket-client, webcolors, urllib3, uri-template, types-python-dateutil, traitlets, tornado, tomli, tinycss2, soupsieve, sniffio, send2trash, rpds-py, rfc3986-validator, rfc3339-validator, pyzmq, python-json-logger, pycparser, psutil, prompt-toolkit, prometheus-client, platformdirs, pexpect, parso, pandocfilters, overrides, nest-asyncio, mistune, markupsafe, jupyterlab-widgets, jupyterlab-pygments, jsonpointer, json5, idna, h11, fqdn, executing, exceptiongroup, defusedxml, decorator, debugpy, charset-normalizer, certifi, bleach, babel, attrs, async-lru, asttokens, terminado, stack-data, requests, referencing, matplotlib-inline, jupyter-core, jinja2, jedi, httpcore, comm, cffi, beautifulsoup4, arrow, anyio, jupyter-server-terminals, jupyter-client, jsonschema-specifications, isoduration, ipython, httpx, argon2-cffi-bindings, jsonschema, ipywidgets, ipykernel, argon2-cffi, nbformat, jupyter-console, nbclient, jupyter-events, nbconvert, jupyter-server, notebook-shim, jupyterlab-server, jupyter-lsp, jupyterlab, notebook, jupyter Successfully installed anyio-4.6.2.post1 argon2-cffi-23.1.0 argon2-cffi-bindings-21.2.0 arrow-1.3.0 asttokens-2.4.1 async-lru-2.0.4 attrs-24.2.0 babel-2.16.0 beautifulsoup4-4.12.3 bleach-6.2.0 certifi-2024.8.30 cffi-1.17.1 charset-normalizer-3.4.0 comm-0.2.2 debugpy-1.8.9 decorator-5.1.1 defusedxml-0.7.1 exceptiongroup-1.2.2 executing-2.1.0 fastjsonschema-2.20.0 fqdn-1.5.1 h11-0.14.0 httpcore-1.0.7 httpx-0.27.2 idna-3.10 ipykernel-6.29.5 ipython-8.29.0 ipywidgets-8.1.5 isoduration-20.11.0 jedi-0.19.2 jinja2-3.1.4 json5-0.10.0 jsonpointer-3.0.0 jsonschema-4.23.0 jsonschema-specifications-2024.10.1 jupyter-1.1.1 jupyter-client-8.6.3 jupyter-console-6.6.3 jupyter-core-5.7.2 jupyter-events-0.10.0 jupyter-lsp-2.2.5 jupyter-server-2.14.2 jupyter-server-terminals-0.5.3 jupyterlab-4.2.6 jupyterlab-pygments-0.3.0 jupyterlab-server-2.27.3 jupyterlab-widgets-3.0.13 markupsafe-3.0.2 matplotlib-inline-0.1.7 mistune-3.0.2 nbclient-0.10.0 nbconvert-7.16.4 nbformat-5.10.4 nest-asyncio-1.6.0 notebook-7.2.2 notebook-shim-0.2.4 overrides-7.7.0 pandocfilters-1.5.1 parso-0.8.4 pexpect-4.9.0 platformdirs-4.3.6 prometheus-client-0.21.0 prompt-toolkit-3.0.48 psutil-6.1.0 ptyprocess-0.7.0 pure-eval-0.2.3 pycparser-2.22 python-json-logger-2.0.7 pyzmq-26.2.0 referencing-0.35.1 requests-2.32.3 rfc3339-validator-0.1.4 rfc3986-validator-0.1.1 rpds-py-0.21.0 send2trash-1.8.3 sniffio-1.3.1 soupsieve-2.6 stack-data-0.6.3 terminado-0.18.1 tinycss2-1.4.0 tomli-2.1.0 tornado-6.4.2 traitlets-5.14.3 types-python-dateutil-2.9.0.20241003 uri-template-1.3.0 urllib3-2.2.3 wcwidth-0.2.13 webcolors-24.11.1 webencodings-0.5.1 websocket-client-1.8.0 widgetsnbextension-4.0.13 [notice] A new release of pip is available: 23.0.1 -> 24.3.1 [notice] To update, run: python -m pip install --upgrade pip (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti/edgeai-modeloptimization/torchmodelopt$ jupyter notebook [I 2024-11-27 09:15:25.430 ServerApp] jupyter_lsp | extension was successfully linked. [I 2024-11-27 09:15:25.433 ServerApp] jupyter_server_terminals | extension was successfully linked. [I 2024-11-27 09:15:25.437 ServerApp] jupyterlab | extension was successfully linked. [I 2024-11-27 09:15:25.441 ServerApp] notebook | extension was successfully linked. [I 2024-11-27 09:15:25.622 ServerApp] notebook_shim | extension was successfully linked. [I 2024-11-27 09:15:25.638 ServerApp] notebook_shim | extension was successfully loaded. [I 2024-11-27 09:15:25.640 ServerApp] jupyter_lsp | extension was successfully loaded. [I 2024-11-27 09:15:25.641 ServerApp] jupyter_server_terminals | extension was successfully loaded. [I 2024-11-27 09:15:25.642 LabApp] JupyterLab extension loaded from /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages/jupyterlab [I 2024-11-27 09:15:25.642 LabApp] JupyterLab application directory is /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/share/jupyter/lab [I 2024-11-27 09:15:25.642 LabApp] Extension Manager is 'pypi'. [I 2024-11-27 09:15:25.684 ServerApp] jupyterlab | extension was successfully loaded. [I 2024-11-27 09:15:25.687 ServerApp] notebook | extension was successfully loaded. [I 2024-11-27 09:15:25.687 ServerApp] Serving notebooks from local directory: /home/zxb/Desktop/ti/edgeai-modeloptimization/torchmodelopt [I 2024-11-27 09:15:25.687 ServerApp] Jupyter Server 2.14.2 is running at: [I 2024-11-27 09:15:25.687 ServerApp] http://localhost:8888/tree?token=2dda5426d362ed78c76d3a605962e33c999da7fcebfac9c1 [I 2024-11-27 09:15:25.687 ServerApp] http://127.0.0.1:8888/tree?token=2dda5426d362ed78c76d3a605962e33c999da7fcebfac9c1 [I 2024-11-27 09:15:25.687 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). [C 2024-11-27 09:15:25.711 ServerApp] To access the server, open this file in a browser: file:///home/zxb/.local/share/jupyter/runtime/jpserver-231775-open.html Or copy and paste one of these URLs: http://localhost:8888/tree?token=2dda5426d362ed78c76d3a605962e33c999da7fcebfac9c1 http://127.0.0.1:8888/tree?token=2dda5426d362ed78c76d3a605962e33c999da7fcebfac9c1 [I 2024-11-27 09:15:25.726 ServerApp] Skipped non-installed server(s): bash-language-server, dockerfile-language-server-nodejs, javascript-typescript-langserver, jedi-language-server, julia-language-server, pyright, python-language-server, python-lsp-server, r-languageserver, sql-language-server, texlab, typescript-language-server, unified-language-server, vscode-css-languageserver-bin, vscode-html-languageserver-bin, vscode-json-languageserver-bin, yaml-language-server [W 2024-11-27 09:15:46.246 ServerApp] Notebook example_notebooks/quantization_ptc.ipynb is not trusted [W 2024-11-27 09:15:47.075 ServerApp] Notebook example_notebooks/quantization_ptc.ipynb is not trusted [I 2024-11-27 09:15:47.551 ServerApp] Kernel started: ee05b904-531d-4e52-ba85-2da3487e6d94 [I 2024-11-27 09:15:47.974 ServerApp] Connecting to kernel ee05b904-531d-4e52-ba85-2da3487e6d94. [I 2024-11-27 09:15:47.978 ServerApp] Connecting to kernel ee05b904-531d-4e52-ba85-2da3487e6d94. [I 2024-11-27 09:15:47.985 ServerApp] Connecting to kernel ee05b904-531d-4e52-ba85-2da3487e6d94. [I 2024-11-27 09:17:47.167 ServerApp] Saving file at /example_notebooks/quantization_ptc.ipynb [W 2024-11-27 09:17:47.168 ServerApp] Notebook example_notebooks/quantization_ptc.ipynb is not trusted [I 2024-11-27 09:19:47.241 ServerApp] Saving file at /example_notebooks/quantization_ptc.ipynb [W 2024-11-27 09:19:47.241 ServerApp] Notebook example_notebooks/quantization_ptc.ipynb is not trusted [I 2024-11-27 09:20:13.532 ServerApp] 302 GET / (@127.0.0.1) 0.48ms [I 2024-11-27 09:20:14.329 ServerApp] Connecting to kernel ee05b904-531d-4e52-ba85-2da3487e6d94. [I 2024-11-27 09:20:16.606 ServerApp] Connecting to kernel ee05b904-531d-4e52-ba85-2da3487e6d94. Collecting onnxruntime Downloading onnxruntime-1.20.1-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (13.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 13.3/13.3 MB 8.9 MB/s eta 0:00:00 Collecting coloredlogs Downloading coloredlogs-15.0.1-py2.py3-none-any.whl (46 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 46.0/46.0 kB 17.7 MB/s eta 0:00:00 Requirement already satisfied: packaging in /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages (from onnxruntime) (24.2) Requirement already satisfied: numpy>=1.21.6 in /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages (from onnxruntime) (2.1.3) Requirement already satisfied: sympy in /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages (from onnxruntime) (1.13.1) Requirement already satisfied: protobuf in /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages (from onnxruntime) (5.28.3) Collecting flatbuffers Downloading flatbuffers-24.3.25-py2.py3-none-any.whl (26 kB) Collecting humanfriendly>=9.1 Downloading humanfriendly-10.0-py2.py3-none-any.whl (86 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 86.8/86.8 kB 46.4 MB/s eta 0:00:00 Requirement already satisfied: mpmath<1.4,>=1.1.0 in /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages (from sympy->onnxruntime) (1.3.0) Installing collected packages: flatbuffers, humanfriendly, coloredlogs, onnxruntime Successfully installed coloredlogs-15.0.1 flatbuffers-24.3.25 humanfriendly-10.0 onnxruntime-1.20.1 [notice] A new release of pip is available: 23.0.1 -> 24.3.1 [notice] To update, run: python -m pip install --upgrade pip [I 2024-11-27 09:21:47.309 ServerApp] Saving file at /example_notebooks/quantization_ptc.ipynb [W 2024-11-27 09:21:47.309 ServerApp] Notebook example_notebooks/quantization_ptc.ipynb is not trusted [I 2024-11-27 09:23:47.333 ServerApp] Saving file at /example_notebooks/quantization_ptc.ipynb (py310) zxb@zxb-virtual-machine:~/Desktop/ti/edgeai-modelmaker$ pyenv virtualenv 3.10 modelqt (py310) zxb@zxb-virtual-machine:~/Desktop/ti/edgeai-modelmaker$ pyenv activate modelqt (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti/edgeai-modelmaker$ cd . (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti/edgeai-modelmaker$ cd .. (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti$ cd edgeai-m edgeai-mmdetection/ edgeai-modelmaker/ edgeai-modelzoo/ (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti$ cd edgeai-m edgeai-mmdetection/ edgeai-modelmaker/ edgeai-modelzoo/ (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti$ cd edgeai- edgeai-benchmark/ edgeai-mmdetection/ edgeai-modelmaker/ edgeai-modelzoo/ edgeai-tidl-tools/ edgeai-torchvision/ edgeai-yolox/ (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti$ git clone https://github.com/TexasInstruments/edgeai-modeloptimization.git Cloning into 'edgeai-modeloptimization'... remote: Enumerating objects: 3890, done. remote: Counting objects: 100% (1450/1450), done. remote: Compressing objects: 100% (385/385), done. remote: Total 3890 (delta 1115), reused 1363 (delta 1059), pack-reused 2440 (from 1) Receiving objects: 100% (3890/3890), 43.05 MiB | 13.11 MiB/s, done. Resolving deltas: 100% (2662/2662), done. (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti$ ls edgeai-benchmark edgeai-mmdetection edgeai-modelmaker edgeai-modeloptimization edgeai-modelzoo edgeai-tidl-tools edgeai-torchvision edgeai-yolox (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti$ cd edgeai-m edgeai-mmdetection/ edgeai-modelmaker/ edgeai-modeloptimization/ edgeai-modelzoo/ (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti$ cd edgeai-m edgeai-mmdetection/ edgeai-modelmaker/ edgeai-modeloptimization/ edgeai-modelzoo/ (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti$ cd edgeai-modeloptimization/ (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti/edgeai-modeloptimization$ ls LICENSE README.md torchmodelopt (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti/edgeai-modeloptimization$ pip3 install "git+https://github.com/TexasInstruments/edgeai-modeloptimization.git#subdirectory=torchmodelopt" Collecting git+https://github.com/TexasInstruments/edgeai-modeloptimization.git#subdirectory=torchmodelopt Cloning https://github.com/TexasInstruments/edgeai-modeloptimization.git to /tmp/pip-req-build-g7r6bqz1 Running command git clone --filter=blob:none --quiet https://github.com/TexasInstruments/edgeai-modeloptimization.git /tmp/pip-req-build-g7r6bqz1 Resolved https://github.com/TexasInstruments/edgeai-modeloptimization.git to commit 0532969072b66ec1a1de0e38c0c29acbe986679d Preparing metadata (setup.py) ... done Collecting progressbar Using cached progressbar-2.5-py3-none-any.whl Collecting colorama Downloading colorama-0.4.6-py2.py3-none-any.whl (25 kB) Collecting opencv-python Downloading opencv_python-4.10.0.84-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (62.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.5/62.5 MB 15.6 MB/s eta 0:00:00 Collecting scipy Downloading scipy-1.14.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (41.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 41.2/41.2 MB 19.5 MB/s eta 0:00:00 Collecting matplotlib Downloading matplotlib-3.9.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.3/8.3 MB 22.1 MB/s eta 0:00:00 Collecting pyyaml Downloading PyYAML-6.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (751 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 751.2/751.2 kB 15.3 MB/s eta 0:00:00 Collecting torchinfo Downloading torchinfo-1.8.0-py3-none-any.whl (23 kB) Collecting onnxsim Downloading onnxsim-0.4.36-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.3/2.3 MB 15.0 MB/s eta 0:00:00 Collecting pydot Downloading pydot-3.0.2-py3-none-any.whl (35 kB) Collecting pyparsing>=2.3.1 Downloading pyparsing-3.2.0-py3-none-any.whl (106 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 106.9/106.9 kB 34.4 MB/s eta 0:00:00 Collecting fonttools>=4.22.0 Downloading fonttools-4.55.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.6/4.6 MB 25.4 MB/s eta 0:00:00 Collecting contourpy>=1.0.1 Downloading contourpy-1.3.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (324 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 325.0/325.0 kB 29.0 MB/s eta 0:00:00 Collecting python-dateutil>=2.7 Downloading python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 229.9/229.9 kB 39.4 MB/s eta 0:00:00 Collecting packaging>=20.0 Downloading packaging-24.2-py3-none-any.whl (65 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 65.5/65.5 kB 28.9 MB/s eta 0:00:00 Collecting kiwisolver>=1.3.1 Downloading kiwisolver-1.4.7-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.6/1.6 MB 15.0 MB/s eta 0:00:00 Collecting cycler>=0.10 Downloading cycler-0.12.1-py3-none-any.whl (8.3 kB) Collecting pillow>=8 Downloading pillow-11.0.0-cp310-cp310-manylinux_2_28_x86_64.whl (4.4 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.4/4.4 MB 20.2 MB/s eta 0:00:00 Collecting numpy>=1.23 Downloading numpy-2.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (16.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 16.3/16.3 MB 21.6 MB/s eta 0:00:00 Collecting rich Downloading rich-13.9.4-py3-none-any.whl (242 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 242.4/242.4 kB 36.3 MB/s eta 0:00:00 Collecting onnx Downloading onnx-1.17.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (16.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 16.0/16.0 MB 14.1 MB/s eta 0:00:00 Collecting six>=1.5 Downloading six-1.16.0-py2.py3-none-any.whl (11 kB) Collecting protobuf>=3.20.2 Downloading protobuf-5.28.3-cp38-abi3-manylinux2014_x86_64.whl (316 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 316.6/316.6 kB 16.8 MB/s eta 0:00:00 Collecting markdown-it-py>=2.2.0 Downloading markdown_it_py-3.0.0-py3-none-any.whl (87 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 87.5/87.5 kB 28.8 MB/s eta 0:00:00 Collecting typing-extensions<5.0,>=4.0.0 Downloading typing_extensions-4.12.2-py3-none-any.whl (37 kB) Collecting pygments<3.0.0,>=2.13.0 Downloading pygments-2.18.0-py3-none-any.whl (1.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 22.7 MB/s eta 0:00:00 Collecting mdurl~=0.1 Downloading mdurl-0.1.2-py3-none-any.whl (10.0 kB) Installing collected packages: progressbar, typing-extensions, torchinfo, six, pyyaml, pyparsing, pygments, protobuf, pillow, packaging, numpy, mdurl, kiwisolver, fonttools, cycler, colorama, scipy, python-dateutil, pydot, opencv-python, onnx, markdown-it-py, contourpy, rich, matplotlib, onnxsim, edgeai-torchmodelopt DEPRECATION: edgeai-torchmodelopt is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559 Running setup.py install for edgeai-torchmodelopt ... done Successfully installed colorama-0.4.6 contourpy-1.3.1 cycler-0.12.1 edgeai-torchmodelopt-10.0.0+532969 fonttools-4.55.0 kiwisolver-1.4.7 markdown-it-py-3.0.0 matplotlib-3.9.2 mdurl-0.1.2 numpy-2.1.3 onnx-1.17.0 onnxsim-0.4.36 opencv-python-4.10.0.84 packaging-24.2 pillow-11.0.0 progressbar-2.5 protobuf-5.28.3 pydot-3.0.2 pygments-2.18.0 pyparsing-3.2.0 python-dateutil-2.9.0.post0 pyyaml-6.0.2 rich-13.9.4 scipy-1.14.1 six-1.16.0 torchinfo-1.8.0 typing-extensions-4.12.2 [notice] A new release of pip is available: 23.0.1 -> 24.3.1 [notice] To update, run: python -m pip install --upgrade pip (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti/edgeai-modeloptimization$ cd .git/ torchmodelopt/ (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti/edgeai-modeloptimization$ cd .git/ torchmodelopt/ (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti/edgeai-modeloptimization$ cd .git/ torchmodelopt/ (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti/edgeai-modeloptimization$ cd torchmodelopt/ (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti/edgeai-modeloptimization/torchmodelopt$ ./setup.sh installing the pytorch model optimization toolkit... version_file=/home/zxb/Desktop/ti/edgeai-modeloptimization/torchmodelopt/version.py /home/zxb/.pyenv/versions/modelqt/lib/python3.10/site-packages/setuptools/dist.py:530: UserWarning: Normalizing '10.0.0+0532969' to '10.0.0+532969' warnings.warn(tmpl.format(**locals())) running develop /home/zxb/.pyenv/versions/modelqt/lib/python3.10/site-packages/setuptools/command/easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools. warnings.warn( /home/zxb/.pyenv/versions/modelqt/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running egg_info creating edgeai_torchmodelopt.egg-info writing edgeai_torchmodelopt.egg-info/PKG-INFO writing dependency_links to edgeai_torchmodelopt.egg-info/dependency_links.txt writing requirements to edgeai_torchmodelopt.egg-info/requires.txt writing top-level names to edgeai_torchmodelopt.egg-info/top_level.txt writing manifest file 'edgeai_torchmodelopt.egg-info/SOURCES.txt' reading manifest file 'edgeai_torchmodelopt.egg-info/SOURCES.txt' writing manifest file 'edgeai_torchmodelopt.egg-info/SOURCES.txt' running build_ext Creating /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages/edgeai-torchmodelopt.egg-link (link to .) Adding edgeai-torchmodelopt 10.0.0+532969 to easy-install.pth file Installed /home/zxb/Desktop/ti/edgeai-modeloptimization/torchmodelopt Processing dependencies for edgeai-torchmodelopt==10.0.0+532969 Searching for pydot==3.0.2 Best match: pydot 3.0.2 Adding pydot 3.0.2 to easy-install.pth file Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for onnxsim==0.4.36 Best match: onnxsim 0.4.36 Adding onnxsim 0.4.36 to easy-install.pth file Installing onnxsim script to /home/zxb/.pyenv/versions/modelqt/bin Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for torchinfo==1.8.0 Best match: torchinfo 1.8.0 Adding torchinfo 1.8.0 to easy-install.pth file Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for PyYAML==6.0.2 Best match: PyYAML 6.0.2 Adding PyYAML 6.0.2 to easy-install.pth file Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for matplotlib==3.9.2 Best match: matplotlib 3.9.2 Adding matplotlib 3.9.2 to easy-install.pth file Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for scipy==1.14.1 Best match: scipy 1.14.1 Adding scipy 1.14.1 to easy-install.pth file Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for opencv-python==4.10.0.84 Best match: opencv-python 4.10.0.84 Adding opencv-python 4.10.0.84 to easy-install.pth file Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for colorama==0.4.6 Best match: colorama 0.4.6 Adding colorama 0.4.6 to easy-install.pth file Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for progressbar==2.5 Best match: progressbar 2.5 Adding progressbar 2.5 to easy-install.pth file Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for pyparsing==3.2.0 Best match: pyparsing 3.2.0 Adding pyparsing 3.2.0 to easy-install.pth file Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for rich==13.9.4 Best match: rich 13.9.4 Adding rich 13.9.4 to easy-install.pth file Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for onnx==1.17.0 Best match: onnx 1.17.0 Adding onnx 1.17.0 to easy-install.pth file Installing backend-test-tools script to /home/zxb/.pyenv/versions/modelqt/bin Installing check-model script to /home/zxb/.pyenv/versions/modelqt/bin Installing check-node script to /home/zxb/.pyenv/versions/modelqt/bin Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for python-dateutil==2.9.0.post0 Best match: python-dateutil 2.9.0.post0 Adding python-dateutil 2.9.0.post0 to easy-install.pth file Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for pillow==11.0.0 Best match: pillow 11.0.0 Adding pillow 11.0.0 to easy-install.pth file Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for packaging==24.2 Best match: packaging 24.2 Adding packaging 24.2 to easy-install.pth file Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for numpy==2.1.3 Best match: numpy 2.1.3 Adding numpy 2.1.3 to easy-install.pth file Installing f2py script to /home/zxb/.pyenv/versions/modelqt/bin Installing numpy-config script to /home/zxb/.pyenv/versions/modelqt/bin Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for kiwisolver==1.4.7 Best match: kiwisolver 1.4.7 Adding kiwisolver 1.4.7 to easy-install.pth file Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for fonttools==4.55.0 Best match: fonttools 4.55.0 Adding fonttools 4.55.0 to easy-install.pth file Installing fonttools script to /home/zxb/.pyenv/versions/modelqt/bin Installing pyftmerge script to /home/zxb/.pyenv/versions/modelqt/bin Installing pyftsubset script to /home/zxb/.pyenv/versions/modelqt/bin Installing ttx script to /home/zxb/.pyenv/versions/modelqt/bin Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for cycler==0.12.1 Best match: cycler 0.12.1 Adding cycler 0.12.1 to easy-install.pth file Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for contourpy==1.3.1 Best match: contourpy 1.3.1 Adding contourpy 1.3.1 to easy-install.pth file Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for typing-extensions==4.12.2 Best match: typing-extensions 4.12.2 Adding typing-extensions 4.12.2 to easy-install.pth file Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for pygments==2.18.0 Best match: pygments 2.18.0 Adding pygments 2.18.0 to easy-install.pth file Installing pygmentize script to /home/zxb/.pyenv/versions/modelqt/bin Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for markdown-it-py==3.0.0 Best match: markdown-it-py 3.0.0 Adding markdown-it-py 3.0.0 to easy-install.pth file Installing markdown-it script to /home/zxb/.pyenv/versions/modelqt/bin Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for protobuf==5.28.3 Best match: protobuf 5.28.3 Adding protobuf 5.28.3 to easy-install.pth file Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for six==1.16.0 Best match: six 1.16.0 Adding six 1.16.0 to easy-install.pth file Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for mdurl==0.1.2 Best match: mdurl 0.1.2 Adding mdurl 0.1.2 to easy-install.pth file Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Finished processing dependencies for edgeai-torchmodelopt==10.0.0+532969 For running demo, run demo/setup.sh otherwise ignore this message (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti/edgeai-modeloptimization/torchmodelopt$ ls demo docs edgeai_torchmodelopt edgeai_torchmodelopt.egg-info example_notebooks main __pycache__ README.md requirements.txt setup.py setup.sh surgery_dict.json version.py (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti/edgeai-modeloptimization/torchmodelopt$ jupyter notebook pyenv: jupyter: command not found The `jupyter' command exists in these Python versions: 3.10.15/envs/benchmark 3.10.15/envs/py310 benchmark py310 Note: See 'pyenv help global' for tips on allowing both python2 and python3 to be found. (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti/edgeai-modeloptimization/torchmodelopt$ pip install jupyter noteboot ^CERROR: Operation cancelled by user [notice] A new release of pip is available: 23.0.1 -> 24.3.1 [notice] To update, run: python -m pip install --upgrade pip (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti/edgeai-modeloptimization/torchmodelopt$ ^C (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti/edgeai-modeloptimization/torchmodelopt$ pip install jupyter notebook Collecting jupyter Downloading jupyter-1.1.1-py2.py3-none-any.whl (2.7 kB) Collecting notebook Downloading notebook-7.2.2-py3-none-any.whl (5.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.0/5.0 MB 4.5 MB/s eta 0:00:00 Collecting jupyter-console Downloading jupyter_console-6.6.3-py3-none-any.whl (24 kB) Collecting ipykernel Downloading ipykernel-6.29.5-py3-none-any.whl (117 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 117.2/117.2 kB 47.6 MB/s eta 0:00:00 Collecting nbconvert Downloading nbconvert-7.16.4-py3-none-any.whl (257 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 257.4/257.4 kB 31.1 MB/s eta 0:00:00 Collecting jupyterlab Downloading jupyterlab-4.3.1-py3-none-any.whl (11.7 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.7/11.7 MB 10.3 MB/s eta 0:00:00 Collecting ipywidgets Downloading ipywidgets-8.1.5-py3-none-any.whl (139 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 139.8/139.8 kB 29.2 MB/s eta 0:00:00 Collecting jupyterlab-server<3,>=2.27.1 Downloading jupyterlab_server-2.27.3-py3-none-any.whl (59 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 59.7/59.7 kB 7.5 MB/s eta 0:00:00 Collecting jupyterlab Downloading jupyterlab-4.2.6-py3-none-any.whl (11.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.6/11.6 MB 22.6 MB/s eta 0:00:00 Collecting jupyter-server<3,>=2.4.0 Downloading jupyter_server-2.14.2-py3-none-any.whl (383 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 383.6/383.6 kB 26.8 MB/s eta 0:00:00 Collecting notebook-shim<0.3,>=0.2 Downloading notebook_shim-0.2.4-py3-none-any.whl (13 kB) Collecting tornado>=6.2.0 Downloading tornado-6.4.2-cp38-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (437 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 437.2/437.2 kB 19.7 MB/s eta 0:00:00 Requirement already satisfied: packaging>=22.0 in /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages (from jupyter-server<3,>=2.4.0->notebook) (24.2) Collecting pyzmq>=24 Downloading pyzmq-26.2.0-cp310-cp310-manylinux_2_28_x86_64.whl (868 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 868.8/868.8 kB 23.6 MB/s eta 0:00:00 Collecting websocket-client>=1.7 Downloading websocket_client-1.8.0-py3-none-any.whl (58 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.8/58.8 kB 27.0 MB/s eta 0:00:00 Collecting traitlets>=5.6.0 Downloading traitlets-5.14.3-py3-none-any.whl (85 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 85.4/85.4 kB 41.0 MB/s eta 0:00:00 Collecting anyio>=3.1.0 Downloading anyio-4.6.2.post1-py3-none-any.whl (90 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.4/90.4 kB 41.7 MB/s eta 0:00:00 Collecting prometheus-client>=0.9 Downloading prometheus_client-0.21.0-py3-none-any.whl (54 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 54.7/54.7 kB 26.4 MB/s eta 0:00:00 Collecting jupyter-events>=0.9.0 Downloading jupyter_events-0.10.0-py3-none-any.whl (18 kB) Collecting jupyter-core!=5.0.*,>=4.12 Downloading jupyter_core-5.7.2-py3-none-any.whl (28 kB) Collecting jupyter-client>=7.4.4 Downloading jupyter_client-8.6.3-py3-none-any.whl (106 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 106.1/106.1 kB 44.3 MB/s eta 0:00:00 Collecting jinja2>=3.0.3 Downloading jinja2-3.1.4-py3-none-any.whl (133 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.3/133.3 kB 50.3 MB/s eta 0:00:00 Collecting nbformat>=5.3.0 Downloading nbformat-5.10.4-py3-none-any.whl (78 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.5/78.5 kB 35.6 MB/s eta 0:00:00 Collecting overrides>=5.0 Downloading overrides-7.7.0-py3-none-any.whl (17 kB) Collecting send2trash>=1.8.2 Downloading Send2Trash-1.8.3-py3-none-any.whl (18 kB) Collecting terminado>=0.8.3 Downloading terminado-0.18.1-py3-none-any.whl (14 kB) Collecting jupyter-server-terminals>=0.4.4 Downloading jupyter_server_terminals-0.5.3-py3-none-any.whl (13 kB) Collecting argon2-cffi>=21.1 Downloading argon2_cffi-23.1.0-py3-none-any.whl (15 kB) Collecting httpx>=0.25.0 Downloading httpx-0.27.2-py3-none-any.whl (76 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 76.4/76.4 kB 21.7 MB/s eta 0:00:00 Collecting tomli>=1.2.2 Downloading tomli-2.1.0-py3-none-any.whl (13 kB) Collecting async-lru>=1.0.0 Downloading async_lru-2.0.4-py3-none-any.whl (6.1 kB) Requirement already satisfied: setuptools>=40.1.0 in /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages (from jupyterlab->jupyter) (65.5.0) Collecting jupyter-lsp>=2.0.0 Downloading jupyter_lsp-2.2.5-py3-none-any.whl (69 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 69.1/69.1 kB 21.8 MB/s eta 0:00:00 Collecting ipython>=7.23.1 Downloading ipython-8.29.0-py3-none-any.whl (819 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 819.9/819.9 kB 16.5 MB/s eta 0:00:00 Collecting nest-asyncio Downloading nest_asyncio-1.6.0-py3-none-any.whl (5.2 kB) Collecting psutil Downloading psutil-6.1.0-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (287 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 287.3/287.3 kB 30.5 MB/s eta 0:00:00 Collecting comm>=0.1.1 Downloading comm-0.2.2-py3-none-any.whl (7.2 kB) Collecting debugpy>=1.6.5 Downloading debugpy-1.8.9-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.6/3.6 MB 25.6 MB/s eta 0:00:00 Collecting matplotlib-inline>=0.1 Downloading matplotlib_inline-0.1.7-py3-none-any.whl (9.9 kB) Collecting jsonschema>=4.18.0 Downloading jsonschema-4.23.0-py3-none-any.whl (88 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 88.5/88.5 kB 22.4 MB/s eta 0:00:00 Collecting babel>=2.10 Downloading babel-2.16.0-py3-none-any.whl (9.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.6/9.6 MB 22.9 MB/s eta 0:00:00 Collecting requests>=2.31 Downloading requests-2.32.3-py3-none-any.whl (64 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 64.9/64.9 kB 29.9 MB/s eta 0:00:00 Collecting json5>=0.9.0 Downloading json5-0.10.0-py3-none-any.whl (34 kB) Collecting bleach!=5.0.0 Downloading bleach-6.2.0-py3-none-any.whl (163 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 163.4/163.4 kB 42.2 MB/s eta 0:00:00 Requirement already satisfied: pygments>=2.4.1 in /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages (from nbconvert->jupyter) (2.18.0) Collecting nbclient>=0.5.0 Downloading nbclient-0.10.0-py3-none-any.whl (25 kB) Collecting jupyterlab-pygments Downloading jupyterlab_pygments-0.3.0-py3-none-any.whl (15 kB) Collecting beautifulsoup4 Downloading beautifulsoup4-4.12.3-py3-none-any.whl (147 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 147.9/147.9 kB 30.5 MB/s eta 0:00:00 Collecting markupsafe>=2.0 Downloading MarkupSafe-3.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (20 kB) Collecting pandocfilters>=1.4.1 Downloading pandocfilters-1.5.1-py2.py3-none-any.whl (8.7 kB) Collecting tinycss2 Downloading tinycss2-1.4.0-py3-none-any.whl (26 kB) Collecting mistune<4,>=2.0.3 Downloading mistune-3.0.2-py3-none-any.whl (47 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.0/48.0 kB 21.5 MB/s eta 0:00:00 Collecting defusedxml Downloading defusedxml-0.7.1-py2.py3-none-any.whl (25 kB) Collecting widgetsnbextension~=4.0.12 Downloading widgetsnbextension-4.0.13-py3-none-any.whl (2.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.3/2.3 MB 22.3 MB/s eta 0:00:00 Collecting jupyterlab-widgets~=3.0.12 Downloading jupyterlab_widgets-3.0.13-py3-none-any.whl (214 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 214.4/214.4 kB 31.0 MB/s eta 0:00:00 Collecting prompt-toolkit>=3.0.30 Downloading prompt_toolkit-3.0.48-py3-none-any.whl (386 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 386.6/386.6 kB 33.3 MB/s eta 0:00:00 Collecting idna>=2.8 Downloading idna-3.10-py3-none-any.whl (70 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 70.4/70.4 kB 34.6 MB/s eta 0:00:00 Collecting sniffio>=1.1 Downloading sniffio-1.3.1-py3-none-any.whl (10 kB) Collecting exceptiongroup>=1.0.2 Downloading exceptiongroup-1.2.2-py3-none-any.whl (16 kB) Requirement already satisfied: typing-extensions>=4.1 in /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages (from anyio>=3.1.0->jupyter-server<3,>=2.4.0->notebook) (4.12.2) Collecting argon2-cffi-bindings Downloading argon2_cffi_bindings-21.2.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (86 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 86.2/86.2 kB 14.6 MB/s eta 0:00:00 Collecting webencodings Downloading webencodings-0.5.1-py2.py3-none-any.whl (11 kB) Collecting certifi Downloading certifi-2024.8.30-py3-none-any.whl (167 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 167.3/167.3 kB 37.9 MB/s eta 0:00:00 Collecting httpcore==1.* Downloading httpcore-1.0.7-py3-none-any.whl (78 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.6/78.6 kB 19.3 MB/s eta 0:00:00 Collecting h11<0.15,>=0.13 Downloading h11-0.14.0-py3-none-any.whl (58 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.3/58.3 kB 27.4 MB/s eta 0:00:00 Collecting jedi>=0.16 Downloading jedi-0.19.2-py2.py3-none-any.whl (1.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.6/1.6 MB 15.4 MB/s eta 0:00:00 Collecting pexpect>4.3 Downloading pexpect-4.9.0-py2.py3-none-any.whl (63 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 63.8/63.8 kB 16.1 MB/s eta 0:00:00 Collecting decorator Downloading decorator-5.1.1-py3-none-any.whl (9.1 kB) Collecting stack-data Downloading stack_data-0.6.3-py3-none-any.whl (24 kB) Collecting jsonschema-specifications>=2023.03.6 Downloading jsonschema_specifications-2024.10.1-py3-none-any.whl (18 kB) Collecting attrs>=22.2.0 Downloading attrs-24.2.0-py3-none-any.whl (63 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 63.0/63.0 kB 24.9 MB/s eta 0:00:00 Collecting referencing>=0.28.4 Downloading referencing-0.35.1-py3-none-any.whl (26 kB) Collecting rpds-py>=0.7.1 Downloading rpds_py-0.21.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (360 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 360.8/360.8 kB 12.7 MB/s eta 0:00:00 Requirement already satisfied: python-dateutil>=2.8.2 in /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages (from jupyter-client>=7.4.4->jupyter-server<3,>=2.4.0->notebook) (2.9.0.post0) Collecting platformdirs>=2.5 Downloading platformdirs-4.3.6-py3-none-any.whl (18 kB) Collecting python-json-logger>=2.0.4 Downloading python_json_logger-2.0.7-py3-none-any.whl (8.1 kB) Collecting rfc3986-validator>=0.1.1 Downloading rfc3986_validator-0.1.1-py2.py3-none-any.whl (4.2 kB) Requirement already satisfied: pyyaml>=5.3 in /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages (from jupyter-events>=0.9.0->jupyter-server<3,>=2.4.0->notebook) (6.0.2) Collecting rfc3339-validator Downloading rfc3339_validator-0.1.4-py2.py3-none-any.whl (3.5 kB) Collecting fastjsonschema>=2.15 Downloading fastjsonschema-2.20.0-py3-none-any.whl (23 kB) Collecting wcwidth Downloading wcwidth-0.2.13-py2.py3-none-any.whl (34 kB) Collecting urllib3<3,>=1.21.1 Downloading urllib3-2.2.3-py3-none-any.whl (126 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 126.3/126.3 kB 29.3 MB/s eta 0:00:00 Collecting charset-normalizer<4,>=2 Downloading charset_normalizer-3.4.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (144 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 144.8/144.8 kB 34.6 MB/s eta 0:00:00 Collecting ptyprocess Downloading ptyprocess-0.7.0-py2.py3-none-any.whl (13 kB) Collecting soupsieve>1.2 Downloading soupsieve-2.6-py3-none-any.whl (36 kB) Collecting parso<0.9.0,>=0.8.4 Downloading parso-0.8.4-py2.py3-none-any.whl (103 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 103.7/103.7 kB 38.4 MB/s eta 0:00:00 Collecting webcolors>=24.6.0 Downloading webcolors-24.11.1-py3-none-any.whl (14 kB) Collecting uri-template Downloading uri_template-1.3.0-py3-none-any.whl (11 kB) Collecting isoduration Downloading isoduration-20.11.0-py3-none-any.whl (11 kB) Collecting jsonpointer>1.13 Downloading jsonpointer-3.0.0-py2.py3-none-any.whl (7.6 kB) Collecting fqdn Downloading fqdn-1.5.1-py3-none-any.whl (9.1 kB) Requirement already satisfied: six>=1.5 in /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages (from python-dateutil>=2.8.2->jupyter-client>=7.4.4->jupyter-server<3,>=2.4.0->notebook) (1.16.0) Collecting cffi>=1.0.1 Downloading cffi-1.17.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (446 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 446.2/446.2 kB 21.6 MB/s eta 0:00:00 Collecting executing>=1.2.0 Downloading executing-2.1.0-py2.py3-none-any.whl (25 kB) Collecting asttokens>=2.1.0 Downloading asttokens-2.4.1-py2.py3-none-any.whl (27 kB) Collecting pure-eval Downloading pure_eval-0.2.3-py3-none-any.whl (11 kB) Collecting pycparser Downloading pycparser-2.22-py3-none-any.whl (117 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 117.6/117.6 kB 19.5 MB/s eta 0:00:00 Collecting arrow>=0.15.0 Downloading arrow-1.3.0-py3-none-any.whl (66 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 66.4/66.4 kB 16.8 MB/s eta 0:00:00 Collecting types-python-dateutil>=2.8.10 Downloading types_python_dateutil-2.9.0.20241003-py3-none-any.whl (9.7 kB) Installing collected packages: webencodings, wcwidth, pure-eval, ptyprocess, fastjsonschema, widgetsnbextension, websocket-client, webcolors, urllib3, uri-template, types-python-dateutil, traitlets, tornado, tomli, tinycss2, soupsieve, sniffio, send2trash, rpds-py, rfc3986-validator, rfc3339-validator, pyzmq, python-json-logger, pycparser, psutil, prompt-toolkit, prometheus-client, platformdirs, pexpect, parso, pandocfilters, overrides, nest-asyncio, mistune, markupsafe, jupyterlab-widgets, jupyterlab-pygments, jsonpointer, json5, idna, h11, fqdn, executing, exceptiongroup, defusedxml, decorator, debugpy, charset-normalizer, certifi, bleach, babel, attrs, async-lru, asttokens, terminado, stack-data, requests, referencing, matplotlib-inline, jupyter-core, jinja2, jedi, httpcore, comm, cffi, beautifulsoup4, arrow, anyio, jupyter-server-terminals, jupyter-client, jsonschema-specifications, isoduration, ipython, httpx, argon2-cffi-bindings, jsonschema, ipywidgets, ipykernel, argon2-cffi, nbformat, jupyter-console, nbclient, jupyter-events, nbconvert, jupyter-server, notebook-shim, jupyterlab-server, jupyter-lsp, jupyterlab, notebook, jupyter Successfully installed anyio-4.6.2.post1 argon2-cffi-23.1.0 argon2-cffi-bindings-21.2.0 arrow-1.3.0 asttokens-2.4.1 async-lru-2.0.4 attrs-24.2.0 babel-2.16.0 beautifulsoup4-4.12.3 bleach-6.2.0 certifi-2024.8.30 cffi-1.17.1 charset-normalizer-3.4.0 comm-0.2.2 debugpy-1.8.9 decorator-5.1.1 defusedxml-0.7.1 exceptiongroup-1.2.2 executing-2.1.0 fastjsonschema-2.20.0 fqdn-1.5.1 h11-0.14.0 httpcore-1.0.7 httpx-0.27.2 idna-3.10 ipykernel-6.29.5 ipython-8.29.0 ipywidgets-8.1.5 isoduration-20.11.0 jedi-0.19.2 jinja2-3.1.4 json5-0.10.0 jsonpointer-3.0.0 jsonschema-4.23.0 jsonschema-specifications-2024.10.1 jupyter-1.1.1 jupyter-client-8.6.3 jupyter-console-6.6.3 jupyter-core-5.7.2 jupyter-events-0.10.0 jupyter-lsp-2.2.5 jupyter-server-2.14.2 jupyter-server-terminals-0.5.3 jupyterlab-4.2.6 jupyterlab-pygments-0.3.0 jupyterlab-server-2.27.3 jupyterlab-widgets-3.0.13 markupsafe-3.0.2 matplotlib-inline-0.1.7 mistune-3.0.2 nbclient-0.10.0 nbconvert-7.16.4 nbformat-5.10.4 nest-asyncio-1.6.0 notebook-7.2.2 notebook-shim-0.2.4 overrides-7.7.0 pandocfilters-1.5.1 parso-0.8.4 pexpect-4.9.0 platformdirs-4.3.6 prometheus-client-0.21.0 prompt-toolkit-3.0.48 psutil-6.1.0 ptyprocess-0.7.0 pure-eval-0.2.3 pycparser-2.22 python-json-logger-2.0.7 pyzmq-26.2.0 referencing-0.35.1 requests-2.32.3 rfc3339-validator-0.1.4 rfc3986-validator-0.1.1 rpds-py-0.21.0 send2trash-1.8.3 sniffio-1.3.1 soupsieve-2.6 stack-data-0.6.3 terminado-0.18.1 tinycss2-1.4.0 tomli-2.1.0 tornado-6.4.2 traitlets-5.14.3 types-python-dateutil-2.9.0.20241003 uri-template-1.3.0 urllib3-2.2.3 wcwidth-0.2.13 webcolors-24.11.1 webencodings-0.5.1 websocket-client-1.8.0 widgetsnbextension-4.0.13 [notice] A new release of pip is available: 23.0.1 -> 24.3.1 [notice] To update, run: python -m pip install --upgrade pip (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti/edgeai-modeloptimization/torchmodelopt$ jupyter notebook [I 2024-11-27 09:15:25.430 ServerApp] jupyter_lsp | extension was successfully linked. [I 2024-11-27 09:15:25.433 ServerApp] jupyter_server_terminals | extension was successfully linked. [I 2024-11-27 09:15:25.437 ServerApp] jupyterlab | extension was successfully linked. [I 2024-11-27 09:15:25.441 ServerApp] notebook | extension was successfully linked. [I 2024-11-27 09:15:25.622 ServerApp] notebook_shim | extension was successfully linked. [I 2024-11-27 09:15:25.638 ServerApp] notebook_shim | extension was successfully loaded. [I 2024-11-27 09:15:25.640 ServerApp] jupyter_lsp | extension was successfully loaded. [I 2024-11-27 09:15:25.641 ServerApp] jupyter_server_terminals | extension was successfully loaded. [I 2024-11-27 09:15:25.642 LabApp] JupyterLab extension loaded from /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages/jupyterlab [I 2024-11-27 09:15:25.642 LabApp] JupyterLab application directory is /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/share/jupyter/lab [I 2024-11-27 09:15:25.642 LabApp] Extension Manager is 'pypi'. [I 2024-11-27 09:15:25.684 ServerApp] jupyterlab | extension was successfully loaded. [I 2024-11-27 09:15:25.687 ServerApp] notebook | extension was successfully loaded. [I 2024-11-27 09:15:25.687 ServerApp] Serving notebooks from local directory: /home/zxb/Desktop/ti/edgeai-modeloptimization/torchmodelopt [I 2024-11-27 09:15:25.687 ServerApp] Jupyter Server 2.14.2 is running at: [I 2024-11-27 09:15:25.687 ServerApp] http://localhost:8888/tree?token=2dda5426d362ed78c76d3a605962e33c999da7fcebfac9c1 [I 2024-11-27 09:15:25.687 ServerApp] http://127.0.0.1:8888/tree?token=2dda5426d362ed78c76d3a605962e33c999da7fcebfac9c1 [I 2024-11-27 09:15:25.687 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). [C 2024-11-27 09:15:25.711 ServerApp] To access the server, open this file in a browser: file:///home/zxb/.local/share/jupyter/runtime/jpserver-231775-open.html Or copy and paste one of these URLs: http://localhost:8888/tree?token=2dda5426d362ed78c76d3a605962e33c999da7fcebfac9c1 http://127.0.0.1:8888/tree?token=2dda5426d362ed78c76d3a605962e33c999da7fcebfac9c1 [I 2024-11-27 09:15:25.726 ServerApp] Skipped non-installed server(s): bash-language-server, dockerfile-language-server-nodejs, javascript-typescript-langserver, jedi-language-server, julia-language-server, pyright, python-language-server, python-lsp-server, r-languageserver, sql-language-server, texlab, typescript-language-server, unified-language-server, vscode-css-languageserver-bin, vscode-html-languageserver-bin, vscode-json-languageserver-bin, yaml-language-server [W 2024-11-27 09:15:46.246 ServerApp] Notebook example_notebooks/quantization_ptc.ipynb is not trusted [W 2024-11-27 09:15:47.075 ServerApp] Notebook example_notebooks/quantization_ptc.ipynb is not trusted [I 2024-11-27 09:15:47.551 ServerApp] Kernel started: ee05b904-531d-4e52-ba85-2da3487e6d94 [I 2024-11-27 09:15:47.974 ServerApp] Connecting to kernel ee05b904-531d-4e52-ba85-2da3487e6d94. [I 2024-11-27 09:15:47.978 ServerApp] Connecting to kernel ee05b904-531d-4e52-ba85-2da3487e6d94. [I 2024-11-27 09:15:47.985 ServerApp] Connecting to kernel ee05b904-531d-4e52-ba85-2da3487e6d94. [I 2024-11-27 09:17:47.167 ServerApp] Saving file at /example_notebooks/quantization_ptc.ipynb [W 2024-11-27 09:17:47.168 ServerApp] Notebook example_notebooks/quantization_ptc.ipynb is not trusted [I 2024-11-27 09:19:47.241 ServerApp] Saving file at /example_notebooks/quantization_ptc.ipynb [W 2024-11-27 09:19:47.241 ServerApp] Notebook example_notebooks/quantization_ptc.ipynb is not trusted [I 2024-11-27 09:20:13.532 ServerApp] 302 GET / (@127.0.0.1) 0.48ms [I 2024-11-27 09:20:14.329 ServerApp] Connecting to kernel ee05b904-531d-4e52-ba85-2da3487e6d94. [I 2024-11-27 09:20:16.606 ServerApp] Connecting to kernel ee05b904-531d-4e52-ba85-2da3487e6d94. Collecting onnxruntime Downloading onnxruntime-1.20.1-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (13.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 13.3/13.3 MB 8.9 MB/s eta 0:00:00 Collecting coloredlogs Downloading coloredlogs-15.0.1-py2.py3-none-any.whl (46 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 46.0/46.0 kB 17.7 MB/s eta 0:00:00 Requirement already satisfied: packaging in /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages (from onnxruntime) (24.2) Requirement already satisfied: numpy>=1.21.6 in /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages (from onnxruntime) (2.1.3) Requirement already satisfied: sympy in /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages (from onnxruntime) (1.13.1) Requirement already satisfied: protobuf in /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages (from onnxruntime) (5.28.3) Collecting flatbuffers Downloading flatbuffers-24.3.25-py2.py3-none-any.whl (26 kB) Collecting humanfriendly>=9.1 Downloading humanfriendly-10.0-py2.py3-none-any.whl (86 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 86.8/86.8 kB 46.4 MB/s eta 0:00:00 Requirement already satisfied: mpmath<1.4,>=1.1.0 in /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages (from sympy->onnxruntime) (1.3.0) Installing collected packages: flatbuffers, humanfriendly, coloredlogs, onnxruntime Successfully installed coloredlogs-15.0.1 flatbuffers-24.3.25 humanfriendly-10.0 onnxruntime-1.20.1 (py310) zxb@zxb-virtual-machine:~/Desktop/ti/edgeai-modelmaker$ pyenv virtualenv 3.10 modelqt (py310) zxb@zxb-virtual-machine:~/Desktop/ti/edgeai-modelmaker$ pyenv activate modelqt (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti/edgeai-modelmaker$ cd . (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti/edgeai-modelmaker$ cd .. (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti$ cd edgeai-m edgeai-mmdetection/ edgeai-modelmaker/ edgeai-modelzoo/ (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti$ cd edgeai-m edgeai-mmdetection/ edgeai-modelmaker/ edgeai-modelzoo/ (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti$ cd edgeai- edgeai-benchmark/ edgeai-mmdetection/ edgeai-modelmaker/ edgeai-modelzoo/ edgeai-tidl-tools/ edgeai-torchvision/ edgeai-yolox/ (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti$ git clone https://github.com/TexasInstruments/edgeai-modeloptimization.git Cloning into 'edgeai-modeloptimization'... remote: Enumerating objects: 3890, done. remote: Counting objects: 100% (1450/1450), done. remote: Compressing objects: 100% (385/385), done. remote: Total 3890 (delta 1115), reused 1363 (delta 1059), pack-reused 2440 (from 1) Receiving objects: 100% (3890/3890), 43.05 MiB | 13.11 MiB/s, done. Resolving deltas: 100% (2662/2662), done. (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti$ ls edgeai-benchmark edgeai-mmdetection edgeai-modelmaker edgeai-modeloptimization edgeai-modelzoo edgeai-tidl-tools edgeai-torchvision edgeai-yolox (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti$ cd edgeai-m edgeai-mmdetection/ edgeai-modelmaker/ edgeai-modeloptimization/ edgeai-modelzoo/ (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti$ cd edgeai-m edgeai-mmdetection/ edgeai-modelmaker/ edgeai-modeloptimization/ edgeai-modelzoo/ (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti$ cd edgeai-modeloptimization/ (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti/edgeai-modeloptimization$ ls LICENSE README.md torchmodelopt (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti/edgeai-modeloptimization$ pip3 install "git+https://github.com/TexasInstruments/edgeai-modeloptimization.git#subdirectory=torchmodelopt" Collecting git+https://github.com/TexasInstruments/edgeai-modeloptimization.git#subdirectory=torchmodelopt Cloning https://github.com/TexasInstruments/edgeai-modeloptimization.git to /tmp/pip-req-build-g7r6bqz1 Running command git clone --filter=blob:none --quiet https://github.com/TexasInstruments/edgeai-modeloptimization.git /tmp/pip-req-build-g7r6bqz1 Resolved https://github.com/TexasInstruments/edgeai-modeloptimization.git to commit 0532969072b66ec1a1de0e38c0c29acbe986679d Preparing metadata (setup.py) ... done Collecting progressbar Using cached progressbar-2.5-py3-none-any.whl Collecting colorama Downloading colorama-0.4.6-py2.py3-none-any.whl (25 kB) Collecting opencv-python Downloading opencv_python-4.10.0.84-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (62.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.5/62.5 MB 15.6 MB/s eta 0:00:00 Collecting scipy Downloading scipy-1.14.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (41.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 41.2/41.2 MB 19.5 MB/s eta 0:00:00 Collecting matplotlib Downloading matplotlib-3.9.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.3/8.3 MB 22.1 MB/s eta 0:00:00 Collecting pyyaml Downloading PyYAML-6.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (751 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 751.2/751.2 kB 15.3 MB/s eta 0:00:00 Collecting torchinfo Downloading torchinfo-1.8.0-py3-none-any.whl (23 kB) Collecting onnxsim Downloading onnxsim-0.4.36-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.3/2.3 MB 15.0 MB/s eta 0:00:00 Collecting pydot Downloading pydot-3.0.2-py3-none-any.whl (35 kB) Collecting pyparsing>=2.3.1 Downloading pyparsing-3.2.0-py3-none-any.whl (106 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 106.9/106.9 kB 34.4 MB/s eta 0:00:00 Collecting fonttools>=4.22.0 Downloading fonttools-4.55.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.6/4.6 MB 25.4 MB/s eta 0:00:00 Collecting contourpy>=1.0.1 Downloading contourpy-1.3.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (324 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 325.0/325.0 kB 29.0 MB/s eta 0:00:00 Collecting python-dateutil>=2.7 Downloading python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 229.9/229.9 kB 39.4 MB/s eta 0:00:00 Collecting packaging>=20.0 Downloading packaging-24.2-py3-none-any.whl (65 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 65.5/65.5 kB 28.9 MB/s eta 0:00:00 Collecting kiwisolver>=1.3.1 Downloading kiwisolver-1.4.7-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.6/1.6 MB 15.0 MB/s eta 0:00:00 Collecting cycler>=0.10 Downloading cycler-0.12.1-py3-none-any.whl (8.3 kB) Collecting pillow>=8 Downloading pillow-11.0.0-cp310-cp310-manylinux_2_28_x86_64.whl (4.4 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.4/4.4 MB 20.2 MB/s eta 0:00:00 Collecting numpy>=1.23 Downloading numpy-2.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (16.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 16.3/16.3 MB 21.6 MB/s eta 0:00:00 Collecting rich Downloading rich-13.9.4-py3-none-any.whl (242 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 242.4/242.4 kB 36.3 MB/s eta 0:00:00 Collecting onnx Downloading onnx-1.17.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (16.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 16.0/16.0 MB 14.1 MB/s eta 0:00:00 Collecting six>=1.5 Downloading six-1.16.0-py2.py3-none-any.whl (11 kB) Collecting protobuf>=3.20.2 Downloading protobuf-5.28.3-cp38-abi3-manylinux2014_x86_64.whl (316 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 316.6/316.6 kB 16.8 MB/s eta 0:00:00 Collecting markdown-it-py>=2.2.0 Downloading markdown_it_py-3.0.0-py3-none-any.whl (87 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 87.5/87.5 kB 28.8 MB/s eta 0:00:00 Collecting typing-extensions<5.0,>=4.0.0 Downloading typing_extensions-4.12.2-py3-none-any.whl (37 kB) Collecting pygments<3.0.0,>=2.13.0 Downloading pygments-2.18.0-py3-none-any.whl (1.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 22.7 MB/s eta 0:00:00 Collecting mdurl~=0.1 Downloading mdurl-0.1.2-py3-none-any.whl (10.0 kB) Installing collected packages: progressbar, typing-extensions, torchinfo, six, pyyaml, pyparsing, pygments, protobuf, pillow, packaging, numpy, mdurl, kiwisolver, fonttools, cycler, colorama, scipy, python-dateutil, pydot, opencv-python, onnx, markdown-it-py, contourpy, rich, matplotlib, onnxsim, edgeai-torchmodelopt DEPRECATION: edgeai-torchmodelopt is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559 Running setup.py install for edgeai-torchmodelopt ... done Successfully installed colorama-0.4.6 contourpy-1.3.1 cycler-0.12.1 edgeai-torchmodelopt-10.0.0+532969 fonttools-4.55.0 kiwisolver-1.4.7 markdown-it-py-3.0.0 matplotlib-3.9.2 mdurl-0.1.2 numpy-2.1.3 onnx-1.17.0 onnxsim-0.4.36 opencv-python-4.10.0.84 packaging-24.2 pillow-11.0.0 progressbar-2.5 protobuf-5.28.3 pydot-3.0.2 pygments-2.18.0 pyparsing-3.2.0 python-dateutil-2.9.0.post0 pyyaml-6.0.2 rich-13.9.4 scipy-1.14.1 six-1.16.0 torchinfo-1.8.0 typing-extensions-4.12.2 [notice] A new release of pip is available: 23.0.1 -> 24.3.1 [notice] To update, run: python -m pip install --upgrade pip (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti/edgeai-modeloptimization$ cd .git/ torchmodelopt/ (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti/edgeai-modeloptimization$ cd .git/ torchmodelopt/ (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti/edgeai-modeloptimization$ cd .git/ torchmodelopt/ (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti/edgeai-modeloptimization$ cd torchmodelopt/ (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti/edgeai-modeloptimization/torchmodelopt$ ./setup.sh installing the pytorch model optimization toolkit... version_file=/home/zxb/Desktop/ti/edgeai-modeloptimization/torchmodelopt/version.py /home/zxb/.pyenv/versions/modelqt/lib/python3.10/site-packages/setuptools/dist.py:530: UserWarning: Normalizing '10.0.0+0532969' to '10.0.0+532969' warnings.warn(tmpl.format(**locals())) running develop /home/zxb/.pyenv/versions/modelqt/lib/python3.10/site-packages/setuptools/command/easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools. warnings.warn( /home/zxb/.pyenv/versions/modelqt/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running egg_info creating edgeai_torchmodelopt.egg-info writing edgeai_torchmodelopt.egg-info/PKG-INFO writing dependency_links to edgeai_torchmodelopt.egg-info/dependency_links.txt writing requirements to edgeai_torchmodelopt.egg-info/requires.txt writing top-level names to edgeai_torchmodelopt.egg-info/top_level.txt writing manifest file 'edgeai_torchmodelopt.egg-info/SOURCES.txt' reading manifest file 'edgeai_torchmodelopt.egg-info/SOURCES.txt' writing manifest file 'edgeai_torchmodelopt.egg-info/SOURCES.txt' running build_ext Creating /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages/edgeai-torchmodelopt.egg-link (link to .) Adding edgeai-torchmodelopt 10.0.0+532969 to easy-install.pth file Installed /home/zxb/Desktop/ti/edgeai-modeloptimization/torchmodelopt Processing dependencies for edgeai-torchmodelopt==10.0.0+532969 Searching for pydot==3.0.2 Best match: pydot 3.0.2 Adding pydot 3.0.2 to easy-install.pth file Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for onnxsim==0.4.36 Best match: onnxsim 0.4.36 Adding onnxsim 0.4.36 to easy-install.pth file Installing onnxsim script to /home/zxb/.pyenv/versions/modelqt/bin Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for torchinfo==1.8.0 Best match: torchinfo 1.8.0 Adding torchinfo 1.8.0 to easy-install.pth file Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for PyYAML==6.0.2 Best match: PyYAML 6.0.2 Adding PyYAML 6.0.2 to easy-install.pth file Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for matplotlib==3.9.2 Best match: matplotlib 3.9.2 Adding matplotlib 3.9.2 to easy-install.pth file Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for scipy==1.14.1 Best match: scipy 1.14.1 Adding scipy 1.14.1 to easy-install.pth file Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for opencv-python==4.10.0.84 Best match: opencv-python 4.10.0.84 Adding opencv-python 4.10.0.84 to easy-install.pth file Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for colorama==0.4.6 Best match: colorama 0.4.6 Adding colorama 0.4.6 to easy-install.pth file Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for progressbar==2.5 Best match: progressbar 2.5 Adding progressbar 2.5 to easy-install.pth file Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for pyparsing==3.2.0 Best match: pyparsing 3.2.0 Adding pyparsing 3.2.0 to easy-install.pth file Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for rich==13.9.4 Best match: rich 13.9.4 Adding rich 13.9.4 to easy-install.pth file Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for onnx==1.17.0 Best match: onnx 1.17.0 Adding onnx 1.17.0 to easy-install.pth file Installing backend-test-tools script to /home/zxb/.pyenv/versions/modelqt/bin Installing check-model script to /home/zxb/.pyenv/versions/modelqt/bin Installing check-node script to /home/zxb/.pyenv/versions/modelqt/bin Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for python-dateutil==2.9.0.post0 Best match: python-dateutil 2.9.0.post0 Adding python-dateutil 2.9.0.post0 to easy-install.pth file Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for pillow==11.0.0 Best match: pillow 11.0.0 Adding pillow 11.0.0 to easy-install.pth file Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for packaging==24.2 Best match: packaging 24.2 Adding packaging 24.2 to easy-install.pth file Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for numpy==2.1.3 Best match: numpy 2.1.3 Adding numpy 2.1.3 to easy-install.pth file Installing f2py script to /home/zxb/.pyenv/versions/modelqt/bin Installing numpy-config script to /home/zxb/.pyenv/versions/modelqt/bin Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for kiwisolver==1.4.7 Best match: kiwisolver 1.4.7 Adding kiwisolver 1.4.7 to easy-install.pth file Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for fonttools==4.55.0 Best match: fonttools 4.55.0 Adding fonttools 4.55.0 to easy-install.pth file Installing fonttools script to /home/zxb/.pyenv/versions/modelqt/bin Installing pyftmerge script to /home/zxb/.pyenv/versions/modelqt/bin Installing pyftsubset script to /home/zxb/.pyenv/versions/modelqt/bin Installing ttx script to /home/zxb/.pyenv/versions/modelqt/bin Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for cycler==0.12.1 Best match: cycler 0.12.1 Adding cycler 0.12.1 to easy-install.pth file Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for contourpy==1.3.1 Best match: contourpy 1.3.1 Adding contourpy 1.3.1 to easy-install.pth file Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for typing-extensions==4.12.2 Best match: typing-extensions 4.12.2 Adding typing-extensions 4.12.2 to easy-install.pth file Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for pygments==2.18.0 Best match: pygments 2.18.0 Adding pygments 2.18.0 to easy-install.pth file Installing pygmentize script to /home/zxb/.pyenv/versions/modelqt/bin Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for markdown-it-py==3.0.0 Best match: markdown-it-py 3.0.0 Adding markdown-it-py 3.0.0 to easy-install.pth file Installing markdown-it script to /home/zxb/.pyenv/versions/modelqt/bin Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for protobuf==5.28.3 Best match: protobuf 5.28.3 Adding protobuf 5.28.3 to easy-install.pth file Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for six==1.16.0 Best match: six 1.16.0 Adding six 1.16.0 to easy-install.pth file Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Searching for mdurl==0.1.2 Best match: mdurl 0.1.2 Adding mdurl 0.1.2 to easy-install.pth file Using /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages Finished processing dependencies for edgeai-torchmodelopt==10.0.0+532969 For running demo, run demo/setup.sh otherwise ignore this message (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti/edgeai-modeloptimization/torchmodelopt$ ls demo docs edgeai_torchmodelopt edgeai_torchmodelopt.egg-info example_notebooks main __pycache__ README.md requirements.txt setup.py setup.sh surgery_dict.json version.py (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti/edgeai-modeloptimization/torchmodelopt$ jupyter notebook pyenv: jupyter: command not found The `jupyter' command exists in these Python versions: 3.10.15/envs/benchmark 3.10.15/envs/py310 benchmark py310 Note: See 'pyenv help global' for tips on allowing both python2 and python3 to be found. (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti/edgeai-modeloptimization/torchmodelopt$ pip install jupyter noteboot ^CERROR: Operation cancelled by user [notice] A new release of pip is available: 23.0.1 -> 24.3.1 [notice] To update, run: python -m pip install --upgrade pip (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti/edgeai-modeloptimization/torchmodelopt$ ^C (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti/edgeai-modeloptimization/torchmodelopt$ pip install jupyter notebook Collecting jupyter Downloading jupyter-1.1.1-py2.py3-none-any.whl (2.7 kB) Collecting notebook Downloading notebook-7.2.2-py3-none-any.whl (5.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.0/5.0 MB 4.5 MB/s eta 0:00:00 Collecting jupyter-console Downloading jupyter_console-6.6.3-py3-none-any.whl (24 kB) Collecting ipykernel Downloading ipykernel-6.29.5-py3-none-any.whl (117 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 117.2/117.2 kB 47.6 MB/s eta 0:00:00 Collecting nbconvert Downloading nbconvert-7.16.4-py3-none-any.whl (257 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 257.4/257.4 kB 31.1 MB/s eta 0:00:00 Collecting jupyterlab Downloading jupyterlab-4.3.1-py3-none-any.whl (11.7 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.7/11.7 MB 10.3 MB/s eta 0:00:00 Collecting ipywidgets Downloading ipywidgets-8.1.5-py3-none-any.whl (139 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 139.8/139.8 kB 29.2 MB/s eta 0:00:00 Collecting jupyterlab-server<3,>=2.27.1 Downloading jupyterlab_server-2.27.3-py3-none-any.whl (59 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 59.7/59.7 kB 7.5 MB/s eta 0:00:00 Collecting jupyterlab Downloading jupyterlab-4.2.6-py3-none-any.whl (11.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.6/11.6 MB 22.6 MB/s eta 0:00:00 Collecting jupyter-server<3,>=2.4.0 Downloading jupyter_server-2.14.2-py3-none-any.whl (383 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 383.6/383.6 kB 26.8 MB/s eta 0:00:00 Collecting notebook-shim<0.3,>=0.2 Downloading notebook_shim-0.2.4-py3-none-any.whl (13 kB) Collecting tornado>=6.2.0 Downloading tornado-6.4.2-cp38-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (437 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 437.2/437.2 kB 19.7 MB/s eta 0:00:00 Requirement already satisfied: packaging>=22.0 in /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages (from jupyter-server<3,>=2.4.0->notebook) (24.2) Collecting pyzmq>=24 Downloading pyzmq-26.2.0-cp310-cp310-manylinux_2_28_x86_64.whl (868 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 868.8/868.8 kB 23.6 MB/s eta 0:00:00 Collecting websocket-client>=1.7 Downloading websocket_client-1.8.0-py3-none-any.whl (58 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.8/58.8 kB 27.0 MB/s eta 0:00:00 Collecting traitlets>=5.6.0 Downloading traitlets-5.14.3-py3-none-any.whl (85 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 85.4/85.4 kB 41.0 MB/s eta 0:00:00 Collecting anyio>=3.1.0 Downloading anyio-4.6.2.post1-py3-none-any.whl (90 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.4/90.4 kB 41.7 MB/s eta 0:00:00 Collecting prometheus-client>=0.9 Downloading prometheus_client-0.21.0-py3-none-any.whl (54 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 54.7/54.7 kB 26.4 MB/s eta 0:00:00 Collecting jupyter-events>=0.9.0 Downloading jupyter_events-0.10.0-py3-none-any.whl (18 kB) Collecting jupyter-core!=5.0.*,>=4.12 Downloading jupyter_core-5.7.2-py3-none-any.whl (28 kB) Collecting jupyter-client>=7.4.4 Downloading jupyter_client-8.6.3-py3-none-any.whl (106 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 106.1/106.1 kB 44.3 MB/s eta 0:00:00 Collecting jinja2>=3.0.3 Downloading jinja2-3.1.4-py3-none-any.whl (133 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.3/133.3 kB 50.3 MB/s eta 0:00:00 Collecting nbformat>=5.3.0 Downloading nbformat-5.10.4-py3-none-any.whl (78 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.5/78.5 kB 35.6 MB/s eta 0:00:00 Collecting overrides>=5.0 Downloading overrides-7.7.0-py3-none-any.whl (17 kB) Collecting send2trash>=1.8.2 Downloading Send2Trash-1.8.3-py3-none-any.whl (18 kB) Collecting terminado>=0.8.3 Downloading terminado-0.18.1-py3-none-any.whl (14 kB) Collecting jupyter-server-terminals>=0.4.4 Downloading jupyter_server_terminals-0.5.3-py3-none-any.whl (13 kB) Collecting argon2-cffi>=21.1 Downloading argon2_cffi-23.1.0-py3-none-any.whl (15 kB) Collecting httpx>=0.25.0 Downloading httpx-0.27.2-py3-none-any.whl (76 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 76.4/76.4 kB 21.7 MB/s eta 0:00:00 Collecting tomli>=1.2.2 Downloading tomli-2.1.0-py3-none-any.whl (13 kB) Collecting async-lru>=1.0.0 Downloading async_lru-2.0.4-py3-none-any.whl (6.1 kB) Requirement already satisfied: setuptools>=40.1.0 in /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages (from jupyterlab->jupyter) (65.5.0) Collecting jupyter-lsp>=2.0.0 Downloading jupyter_lsp-2.2.5-py3-none-any.whl (69 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 69.1/69.1 kB 21.8 MB/s eta 0:00:00 Collecting ipython>=7.23.1 Downloading ipython-8.29.0-py3-none-any.whl (819 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 819.9/819.9 kB 16.5 MB/s eta 0:00:00 Collecting nest-asyncio Downloading nest_asyncio-1.6.0-py3-none-any.whl (5.2 kB) Collecting psutil Downloading psutil-6.1.0-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (287 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 287.3/287.3 kB 30.5 MB/s eta 0:00:00 Collecting comm>=0.1.1 Downloading comm-0.2.2-py3-none-any.whl (7.2 kB) Collecting debugpy>=1.6.5 Downloading debugpy-1.8.9-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.6/3.6 MB 25.6 MB/s eta 0:00:00 Collecting matplotlib-inline>=0.1 Downloading matplotlib_inline-0.1.7-py3-none-any.whl (9.9 kB) Collecting jsonschema>=4.18.0 Downloading jsonschema-4.23.0-py3-none-any.whl (88 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 88.5/88.5 kB 22.4 MB/s eta 0:00:00 Collecting babel>=2.10 Downloading babel-2.16.0-py3-none-any.whl (9.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.6/9.6 MB 22.9 MB/s eta 0:00:00 Collecting requests>=2.31 Downloading requests-2.32.3-py3-none-any.whl (64 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 64.9/64.9 kB 29.9 MB/s eta 0:00:00 Collecting json5>=0.9.0 Downloading json5-0.10.0-py3-none-any.whl (34 kB) Collecting bleach!=5.0.0 Downloading bleach-6.2.0-py3-none-any.whl (163 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 163.4/163.4 kB 42.2 MB/s eta 0:00:00 Requirement already satisfied: pygments>=2.4.1 in /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages (from nbconvert->jupyter) (2.18.0) Collecting nbclient>=0.5.0 Downloading nbclient-0.10.0-py3-none-any.whl (25 kB) Collecting jupyterlab-pygments Downloading jupyterlab_pygments-0.3.0-py3-none-any.whl (15 kB) Collecting beautifulsoup4 Downloading beautifulsoup4-4.12.3-py3-none-any.whl (147 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 147.9/147.9 kB 30.5 MB/s eta 0:00:00 Collecting markupsafe>=2.0 Downloading MarkupSafe-3.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (20 kB) Collecting pandocfilters>=1.4.1 Downloading pandocfilters-1.5.1-py2.py3-none-any.whl (8.7 kB) Collecting tinycss2 Downloading tinycss2-1.4.0-py3-none-any.whl (26 kB) Collecting mistune<4,>=2.0.3 Downloading mistune-3.0.2-py3-none-any.whl (47 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.0/48.0 kB 21.5 MB/s eta 0:00:00 Collecting defusedxml Downloading defusedxml-0.7.1-py2.py3-none-any.whl (25 kB) Collecting widgetsnbextension~=4.0.12 Downloading widgetsnbextension-4.0.13-py3-none-any.whl (2.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.3/2.3 MB 22.3 MB/s eta 0:00:00 Collecting jupyterlab-widgets~=3.0.12 Downloading jupyterlab_widgets-3.0.13-py3-none-any.whl (214 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 214.4/214.4 kB 31.0 MB/s eta 0:00:00 Collecting prompt-toolkit>=3.0.30 Downloading prompt_toolkit-3.0.48-py3-none-any.whl (386 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 386.6/386.6 kB 33.3 MB/s eta 0:00:00 Collecting idna>=2.8 Downloading idna-3.10-py3-none-any.whl (70 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 70.4/70.4 kB 34.6 MB/s eta 0:00:00 Collecting sniffio>=1.1 Downloading sniffio-1.3.1-py3-none-any.whl (10 kB) Collecting exceptiongroup>=1.0.2 Downloading exceptiongroup-1.2.2-py3-none-any.whl (16 kB) Requirement already satisfied: typing-extensions>=4.1 in /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages (from anyio>=3.1.0->jupyter-server<3,>=2.4.0->notebook) (4.12.2) Collecting argon2-cffi-bindings Downloading argon2_cffi_bindings-21.2.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (86 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 86.2/86.2 kB 14.6 MB/s eta 0:00:00 Collecting webencodings Downloading webencodings-0.5.1-py2.py3-none-any.whl (11 kB) Collecting certifi Downloading certifi-2024.8.30-py3-none-any.whl (167 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 167.3/167.3 kB 37.9 MB/s eta 0:00:00 Collecting httpcore==1.* Downloading httpcore-1.0.7-py3-none-any.whl (78 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.6/78.6 kB 19.3 MB/s eta 0:00:00 Collecting h11<0.15,>=0.13 Downloading h11-0.14.0-py3-none-any.whl (58 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.3/58.3 kB 27.4 MB/s eta 0:00:00 Collecting jedi>=0.16 Downloading jedi-0.19.2-py2.py3-none-any.whl (1.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.6/1.6 MB 15.4 MB/s eta 0:00:00 Collecting pexpect>4.3 Downloading pexpect-4.9.0-py2.py3-none-any.whl (63 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 63.8/63.8 kB 16.1 MB/s eta 0:00:00 Collecting decorator Downloading decorator-5.1.1-py3-none-any.whl (9.1 kB) Collecting stack-data Downloading stack_data-0.6.3-py3-none-any.whl (24 kB) Collecting jsonschema-specifications>=2023.03.6 Downloading jsonschema_specifications-2024.10.1-py3-none-any.whl (18 kB) Collecting attrs>=22.2.0 Downloading attrs-24.2.0-py3-none-any.whl (63 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 63.0/63.0 kB 24.9 MB/s eta 0:00:00 Collecting referencing>=0.28.4 Downloading referencing-0.35.1-py3-none-any.whl (26 kB) Collecting rpds-py>=0.7.1 Downloading rpds_py-0.21.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (360 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 360.8/360.8 kB 12.7 MB/s eta 0:00:00 Requirement already satisfied: python-dateutil>=2.8.2 in /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages (from jupyter-client>=7.4.4->jupyter-server<3,>=2.4.0->notebook) (2.9.0.post0) Collecting platformdirs>=2.5 Downloading platformdirs-4.3.6-py3-none-any.whl (18 kB) Collecting python-json-logger>=2.0.4 Downloading python_json_logger-2.0.7-py3-none-any.whl (8.1 kB) Collecting rfc3986-validator>=0.1.1 Downloading rfc3986_validator-0.1.1-py2.py3-none-any.whl (4.2 kB) Requirement already satisfied: pyyaml>=5.3 in /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages (from jupyter-events>=0.9.0->jupyter-server<3,>=2.4.0->notebook) (6.0.2) Collecting rfc3339-validator Downloading rfc3339_validator-0.1.4-py2.py3-none-any.whl (3.5 kB) Collecting fastjsonschema>=2.15 Downloading fastjsonschema-2.20.0-py3-none-any.whl (23 kB) Collecting wcwidth Downloading wcwidth-0.2.13-py2.py3-none-any.whl (34 kB) Collecting urllib3<3,>=1.21.1 Downloading urllib3-2.2.3-py3-none-any.whl (126 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 126.3/126.3 kB 29.3 MB/s eta 0:00:00 Collecting charset-normalizer<4,>=2 Downloading charset_normalizer-3.4.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (144 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 144.8/144.8 kB 34.6 MB/s eta 0:00:00 Collecting ptyprocess Downloading ptyprocess-0.7.0-py2.py3-none-any.whl (13 kB) Collecting soupsieve>1.2 Downloading soupsieve-2.6-py3-none-any.whl (36 kB) Collecting parso<0.9.0,>=0.8.4 Downloading parso-0.8.4-py2.py3-none-any.whl (103 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 103.7/103.7 kB 38.4 MB/s eta 0:00:00 Collecting webcolors>=24.6.0 Downloading webcolors-24.11.1-py3-none-any.whl (14 kB) Collecting uri-template Downloading uri_template-1.3.0-py3-none-any.whl (11 kB) Collecting isoduration Downloading isoduration-20.11.0-py3-none-any.whl (11 kB) Collecting jsonpointer>1.13 Downloading jsonpointer-3.0.0-py2.py3-none-any.whl (7.6 kB) Collecting fqdn Downloading fqdn-1.5.1-py3-none-any.whl (9.1 kB) Requirement already satisfied: six>=1.5 in /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages (from python-dateutil>=2.8.2->jupyter-client>=7.4.4->jupyter-server<3,>=2.4.0->notebook) (1.16.0) Collecting cffi>=1.0.1 Downloading cffi-1.17.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (446 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 446.2/446.2 kB 21.6 MB/s eta 0:00:00 Collecting executing>=1.2.0 Downloading executing-2.1.0-py2.py3-none-any.whl (25 kB) Collecting asttokens>=2.1.0 Downloading asttokens-2.4.1-py2.py3-none-any.whl (27 kB) Collecting pure-eval Downloading pure_eval-0.2.3-py3-none-any.whl (11 kB) Collecting pycparser Downloading pycparser-2.22-py3-none-any.whl (117 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 117.6/117.6 kB 19.5 MB/s eta 0:00:00 Collecting arrow>=0.15.0 Downloading arrow-1.3.0-py3-none-any.whl (66 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 66.4/66.4 kB 16.8 MB/s eta 0:00:00 Collecting types-python-dateutil>=2.8.10 Downloading types_python_dateutil-2.9.0.20241003-py3-none-any.whl (9.7 kB) Installing collected packages: webencodings, wcwidth, pure-eval, ptyprocess, fastjsonschema, widgetsnbextension, websocket-client, webcolors, urllib3, uri-template, types-python-dateutil, traitlets, tornado, tomli, tinycss2, soupsieve, sniffio, send2trash, rpds-py, rfc3986-validator, rfc3339-validator, pyzmq, python-json-logger, pycparser, psutil, prompt-toolkit, prometheus-client, platformdirs, pexpect, parso, pandocfilters, overrides, nest-asyncio, mistune, markupsafe, jupyterlab-widgets, jupyterlab-pygments, jsonpointer, json5, idna, h11, fqdn, executing, exceptiongroup, defusedxml, decorator, debugpy, charset-normalizer, certifi, bleach, babel, attrs, async-lru, asttokens, terminado, stack-data, requests, referencing, matplotlib-inline, jupyter-core, jinja2, jedi, httpcore, comm, cffi, beautifulsoup4, arrow, anyio, jupyter-server-terminals, jupyter-client, jsonschema-specifications, isoduration, ipython, httpx, argon2-cffi-bindings, jsonschema, ipywidgets, ipykernel, argon2-cffi, nbformat, jupyter-console, nbclient, jupyter-events, nbconvert, jupyter-server, notebook-shim, jupyterlab-server, jupyter-lsp, jupyterlab, notebook, jupyter Successfully installed anyio-4.6.2.post1 argon2-cffi-23.1.0 argon2-cffi-bindings-21.2.0 arrow-1.3.0 asttokens-2.4.1 async-lru-2.0.4 attrs-24.2.0 babel-2.16.0 beautifulsoup4-4.12.3 bleach-6.2.0 certifi-2024.8.30 cffi-1.17.1 charset-normalizer-3.4.0 comm-0.2.2 debugpy-1.8.9 decorator-5.1.1 defusedxml-0.7.1 exceptiongroup-1.2.2 executing-2.1.0 fastjsonschema-2.20.0 fqdn-1.5.1 h11-0.14.0 httpcore-1.0.7 httpx-0.27.2 idna-3.10 ipykernel-6.29.5 ipython-8.29.0 ipywidgets-8.1.5 isoduration-20.11.0 jedi-0.19.2 jinja2-3.1.4 json5-0.10.0 jsonpointer-3.0.0 jsonschema-4.23.0 jsonschema-specifications-2024.10.1 jupyter-1.1.1 jupyter-client-8.6.3 jupyter-console-6.6.3 jupyter-core-5.7.2 jupyter-events-0.10.0 jupyter-lsp-2.2.5 jupyter-server-2.14.2 jupyter-server-terminals-0.5.3 jupyterlab-4.2.6 jupyterlab-pygments-0.3.0 jupyterlab-server-2.27.3 jupyterlab-widgets-3.0.13 markupsafe-3.0.2 matplotlib-inline-0.1.7 mistune-3.0.2 nbclient-0.10.0 nbconvert-7.16.4 nbformat-5.10.4 nest-asyncio-1.6.0 notebook-7.2.2 notebook-shim-0.2.4 overrides-7.7.0 pandocfilters-1.5.1 parso-0.8.4 pexpect-4.9.0 platformdirs-4.3.6 prometheus-client-0.21.0 prompt-toolkit-3.0.48 psutil-6.1.0 ptyprocess-0.7.0 pure-eval-0.2.3 pycparser-2.22 python-json-logger-2.0.7 pyzmq-26.2.0 referencing-0.35.1 requests-2.32.3 rfc3339-validator-0.1.4 rfc3986-validator-0.1.1 rpds-py-0.21.0 send2trash-1.8.3 sniffio-1.3.1 soupsieve-2.6 stack-data-0.6.3 terminado-0.18.1 tinycss2-1.4.0 tomli-2.1.0 tornado-6.4.2 traitlets-5.14.3 types-python-dateutil-2.9.0.20241003 uri-template-1.3.0 urllib3-2.2.3 wcwidth-0.2.13 webcolors-24.11.1 webencodings-0.5.1 websocket-client-1.8.0 widgetsnbextension-4.0.13 [notice] A new release of pip is available: 23.0.1 -> 24.3.1 [notice] To update, run: python -m pip install --upgrade pip (modelqt) zxb@zxb-virtual-machine:~/Desktop/ti/edgeai-modeloptimization/torchmodelopt$ jupyter notebook [I 2024-11-27 09:15:25.430 ServerApp] jupyter_lsp | extension was successfully linked. [I 2024-11-27 09:15:25.433 ServerApp] jupyter_server_terminals | extension was successfully linked. [I 2024-11-27 09:15:25.437 ServerApp] jupyterlab | extension was successfully linked. [I 2024-11-27 09:15:25.441 ServerApp] notebook | extension was successfully linked. [I 2024-11-27 09:15:25.622 ServerApp] notebook_shim | extension was successfully linked. [I 2024-11-27 09:15:25.638 ServerApp] notebook_shim | extension was successfully loaded. [I 2024-11-27 09:15:25.640 ServerApp] jupyter_lsp | extension was successfully loaded. [I 2024-11-27 09:15:25.641 ServerApp] jupyter_server_terminals | extension was successfully loaded. [I 2024-11-27 09:15:25.642 LabApp] JupyterLab extension loaded from /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages/jupyterlab [I 2024-11-27 09:15:25.642 LabApp] JupyterLab application directory is /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/share/jupyter/lab [I 2024-11-27 09:15:25.642 LabApp] Extension Manager is 'pypi'. [I 2024-11-27 09:15:25.684 ServerApp] jupyterlab | extension was successfully loaded. [I 2024-11-27 09:15:25.687 ServerApp] notebook | extension was successfully loaded. [I 2024-11-27 09:15:25.687 ServerApp] Serving notebooks from local directory: /home/zxb/Desktop/ti/edgeai-modeloptimization/torchmodelopt [I 2024-11-27 09:15:25.687 ServerApp] Jupyter Server 2.14.2 is running at: [I 2024-11-27 09:15:25.687 ServerApp] http://localhost:8888/tree?token=2dda5426d362ed78c76d3a605962e33c999da7fcebfac9c1 [I 2024-11-27 09:15:25.687 ServerApp] http://127.0.0.1:8888/tree?token=2dda5426d362ed78c76d3a605962e33c999da7fcebfac9c1 [I 2024-11-27 09:15:25.687 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). [C 2024-11-27 09:15:25.711 ServerApp] To access the server, open this file in a browser: file:///home/zxb/.local/share/jupyter/runtime/jpserver-231775-open.html Or copy and paste one of these URLs: http://localhost:8888/tree?token=2dda5426d362ed78c76d3a605962e33c999da7fcebfac9c1 http://127.0.0.1:8888/tree?token=2dda5426d362ed78c76d3a605962e33c999da7fcebfac9c1 [I 2024-11-27 09:15:25.726 ServerApp] Skipped non-installed server(s): bash-language-server, dockerfile-language-server-nodejs, javascript-typescript-langserver, jedi-language-server, julia-language-server, pyright, python-language-server, python-lsp-server, r-languageserver, sql-language-server, texlab, typescript-language-server, unified-language-server, vscode-css-languageserver-bin, vscode-html-languageserver-bin, vscode-json-languageserver-bin, yaml-language-server [W 2024-11-27 09:15:46.246 ServerApp] Notebook example_notebooks/quantization_ptc.ipynb is not trusted [W 2024-11-27 09:15:47.075 ServerApp] Notebook example_notebooks/quantization_ptc.ipynb is not trusted [I 2024-11-27 09:15:47.551 ServerApp] Kernel started: ee05b904-531d-4e52-ba85-2da3487e6d94 [I 2024-11-27 09:15:47.974 ServerApp] Connecting to kernel ee05b904-531d-4e52-ba85-2da3487e6d94. [I 2024-11-27 09:15:47.978 ServerApp] Connecting to kernel ee05b904-531d-4e52-ba85-2da3487e6d94. [I 2024-11-27 09:15:47.985 ServerApp] Connecting to kernel ee05b904-531d-4e52-ba85-2da3487e6d94. [I 2024-11-27 09:17:47.167 ServerApp] Saving file at /example_notebooks/quantization_ptc.ipynb [W 2024-11-27 09:17:47.168 ServerApp] Notebook example_notebooks/quantization_ptc.ipynb is not trusted [I 2024-11-27 09:19:47.241 ServerApp] Saving file at /example_notebooks/quantization_ptc.ipynb [W 2024-11-27 09:19:47.241 ServerApp] Notebook example_notebooks/quantization_ptc.ipynb is not trusted [I 2024-11-27 09:20:13.532 ServerApp] 302 GET / (@127.0.0.1) 0.48ms [I 2024-11-27 09:20:14.329 ServerApp] Connecting to kernel ee05b904-531d-4e52-ba85-2da3487e6d94. [I 2024-11-27 09:20:16.606 ServerApp] Connecting to kernel ee05b904-531d-4e52-ba85-2da3487e6d94. Collecting onnxruntime Downloading onnxruntime-1.20.1-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (13.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 13.3/13.3 MB 8.9 MB/s eta 0:00:00 Collecting coloredlogs Downloading coloredlogs-15.0.1-py2.py3-none-any.whl (46 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 46.0/46.0 kB 17.7 MB/s eta 0:00:00 Requirement already satisfied: packaging in /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages (from onnxruntime) (24.2) Requirement already satisfied: numpy>=1.21.6 in /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages (from onnxruntime) (2.1.3) Requirement already satisfied: sympy in /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages (from onnxruntime) (1.13.1) Requirement already satisfied: protobuf in /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages (from onnxruntime) (5.28.3) Collecting flatbuffers Downloading flatbuffers-24.3.25-py2.py3-none-any.whl (26 kB) Collecting humanfriendly>=9.1 Downloading humanfriendly-10.0-py2.py3-none-any.whl (86 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 86.8/86.8 kB 46.4 MB/s eta 0:00:00 Requirement already satisfied: mpmath<1.4,>=1.1.0 in /home/zxb/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages (from sympy->onnxruntime) (1.3.0) Installing collected packages: flatbuffers, humanfriendly, coloredlogs, onnxruntime Successfully installed coloredlogs-15.0.1 flatbuffers-24.3.25 humanfriendly-10.0 onnxruntime-1.20.1 [notice] A new release of pip is available: 23.0.1 -> 24.3.1 [notice] To update, run: python -m pip install --upgrade pip [I 2024-11-27 09:21:47.309 ServerApp] Saving file at /example_notebooks/quantization_ptc.ipynb [W 2024-11-27 09:21:47.309 ServerApp] Notebook example_notebooks/quantization_ptc.ipynb is not trusted [I 2024-11-27 09:23:47.333 ServerApp] Saving file at /example_notebooks/quantization_ptc.ipynb model = edgeai_torchmodelopt.xmodelopt.quantization.v2.PTCFxModule(model,backend='qnnpack', bias_calibration_factor=0.01, num_batch_norm_update_epochs=1, num_observer_update_epochs=2) --------------------------------------------------------------------------- TypeError Traceback (most recent call last) Cell In[21], line 1 ----> 1 model = edgeai_torchmodelopt.xmodelopt.quantization.v2.PTCFxModule(model, backend='qnnpack', bias_calibration_factor=0.01, num_batch_norm_update_epochs=1, num_observer_update_epochs=2) File ~/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages/edgeai_torchmodelopt/xmodelopt/quantization/v2/quant_module.py:51, in PTCFxModule.__init__(self, backend, is_qat, bias_calibration_factor, num_batch_norm_update_epochs, num_observer_update_epochs, *args, **kwargs) 49 def __init__(self, *args, backend='qnnpack', is_qat=False, bias_calibration_factor=0.01, num_batch_norm_update_epochs=0, num_observer_update_epochs=1, **kwargs): 50 # warnings.warn("Fx based quantization wrapper will be depercated in the future after pt2e quantization wrapper is completed.") ---> 51 super().__init__(*args, is_qat=is_qat, backend=backend, bias_calibration_factor=bias_calibration_factor, \ 52 num_batch_norm_update_epochs=num_batch_norm_update_epochs, num_observer_update_epochs=num_observer_update_epochs, **kwargs) File ~/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages/edgeai_torchmodelopt/xmodelopt/quantization/v2/quant_base.py:45, in QuantFxBaseModule.__init__(self, model, add_methods, *args, **kwargs) 38 ''' 39 model: input model to be used for QAT / PTC 40 qconfig_type: qconfig_type can be one of the modes defined in qconfig_types (string) 41 or it can be a dict that will be passed to qconfig_types.get_config_from_dict() 42 it can also be an instance of torch.ao.quantization.QConfig as used when using torch.ao.quantization apis 43 ''' 44 super().__init__() ---> 45 self.module = quant_func.init(model, *args, add_methods=add_methods, **kwargs) File ~/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages/edgeai_torchmodelopt/xmodelopt/quantization/v2/quant_func.py:135, in init(model, qconfig_type, example_inputs, is_qat, backend, total_epochs, num_batch_norm_update_epochs, num_observer_update_epochs, qconfig_mode, add_methods, dynamo_export, **kwargs) 133 else: 134 model.eval() --> 135 model = quantize_fx.prepare_fx(model, qconfig_mapping, example_inputs) 136 # 137 138 # a place to put all state variables 139 model.__quant_params__ = xnn.utils.AttrDict() File ~/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages/torch/ao/quantization/quantize_fx.py:392, in prepare_fx(model, qconfig_mapping, example_inputs, prepare_custom_config, _equalization_config, backend_config) 260 r""" Prepare a model for post training quantization 261 262 Args: (...) 389 calibrate(prepared_model, sample_inference_data) 390 """ 391 torch._C._log_api_usage_once("quantization_api.quantize_fx.prepare_fx") --> 392 return _prepare_fx( 393 model, 394 qconfig_mapping, 395 False, # is_qat 396 example_inputs, 397 prepare_custom_config, 398 _equalization_config, 399 backend_config, 400 ) File ~/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages/torch/ao/quantization/quantize_fx.py:146, in _prepare_fx(model, qconfig_mapping, is_qat, example_inputs, prepare_custom_config, _equalization_config, backend_config, is_standalone_module) 142 fuse_custom_config = FuseCustomConfig().set_preserved_attributes( 143 prepare_custom_config.preserved_attributes 144 ) 145 graph_module = _fuse_fx(graph_module, is_qat, fuse_custom_config, backend_config) --> 146 prepared = prepare( 147 graph_module, 148 qconfig_mapping, 149 is_qat, 150 tracer.node_name_to_scope, 151 example_inputs=example_inputs, 152 prepare_custom_config=prepare_custom_config, 153 _equalization_config=_equalization_config, 154 backend_config=backend_config, 155 is_standalone_module=is_standalone_module, 156 ) # type: ignore[operator] 158 attach_preserved_attrs_to_model(prepared, preserved_attrs) 159 return prepared File ~/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages/torch/ao/quantization/fx/prepare.py:2148, in prepare(model, qconfig_mapping, is_qat, node_name_to_scope, example_inputs, prepare_custom_config, _equalization_config, backend_config, is_standalone_module) 2143 # record names for the set of observed node, so that in convert step 2144 # we know whether we need to convert a floating point module to reference 2145 # quantized module or not 2146 observed_node_names: Set[str] = set() -> 2148 result_node = insert_observers_for_model( 2149 model, 2150 node_name_to_match_result_with_qconfig, 2151 node_name_to_qconfig, 2152 prepare_custom_config, 2153 equalization_node_name_to_qconfig, 2154 backend_config, 2155 observed_node_names, 2156 is_qat, 2157 ) 2158 model = GraphModule(model, model.graph) 2160 _save_state( 2161 model, 2162 node_name_to_qconfig, (...) 2168 observed_node_names, 2169 ) File ~/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages/torch/ao/quantization/fx/prepare.py:1548, in insert_observers_for_model(model, node_name_to_match_result_with_qconfig, node_name_to_qconfig, prepare_custom_config, equalization_config_map, backend_config, observed_node_names, is_qat) 1540 ( 1541 last_node, 1542 matched_node_pattern, (...) 1545 qconfig, 1546 ) = match_res_with_qconfig 1547 assert qhandler is not None -> 1548 _set_target_dtype_info_for_matched_node_pattern( 1549 matched_node_pattern, 1550 last_node, 1551 qconfig, 1552 qhandler, 1553 backend_config, 1554 named_modules, 1555 cache_for_no_tensor_check, 1556 processed_nodes, 1557 ) 1559 # Step 2. Special cases for some operators, we might be able to remove them 1560 # in the future if we know dtype information of each node better 1561 1562 # Step 2.1. some settings are not based on patterns, we need to process each node 1563 # instead 1564 for node in model.graph.nodes: File ~/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages/torch/ao/quantization/fx/prepare.py:520, in _set_target_dtype_info_for_matched_node_pattern(matched_node_pattern, last_node, qconfig, qhandler, backend_config, named_modules, cache_for_no_tensor_check, processed_nodes) 518 if isinstance(matched_node_pattern, (list, tuple)): 519 for node_pattern in matched_node_pattern: --> 520 _set_target_dtype_info_for_matched_node_pattern( 521 node_pattern, 522 last_node, 523 qconfig, 524 qhandler, 525 backend_config, 526 named_modules, 527 cache_for_no_tensor_check, 528 processed_nodes, 529 ) 531 # set target_dtype_info if matched_node_pattern is a Node 532 # other types of matched object, e.g. int, float literals, are ignored 533 elif isinstance(matched_node_pattern, Node): 534 # for pyre File ~/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages/torch/ao/quantization/fx/prepare.py:549, in _set_target_dtype_info_for_matched_node_pattern(matched_node_pattern, last_node, qconfig, qhandler, backend_config, named_modules, cache_for_no_tensor_check, processed_nodes) 542 return 543 # TODO: refactor the following code in terms of apply a qconfig to a pattern 544 # e.g. for a pattern with op1 -> op2 -> op3, and qconfig = QConfig(input_act=obs0, output_act=obs1) 545 # we set the input_obs_or_fq_ctr for the arguments of op1 to based on qconfig.input_act, 546 # and set output_obs_or_fq_ctr based on qconfig.output_act 547 # this also requires we extend the structure of QConfig to support more fine 548 # grained configurations --> 549 target_dtype_info: Dict[str, Any] = _get_target_activation_dtype_for_node( 550 node, 551 qconfig, 552 qhandler, 553 named_modules, 554 backend_config, 555 cache_for_no_tensor_check, 556 ) 557 node.meta["target_dtype_info"] = target_dtype_info File ~/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages/torch/ao/quantization/fx/prepare.py:602, in _get_target_activation_dtype_for_node(node, qconfig, qhandler, named_modules, backend_config, cache_for_no_tensor_check) 600 # get qconfig to determine the eventual dtype of this node 601 if qconfig is not None: --> 602 act_dtype, weight_dtype, input_act_is_dynamic = get_qconfig_dtypes(qconfig) 604 # Currently `QConfig` only has one `activation` field. 605 # For static quantization, it is reused for both input 606 # and output activation. For dynamic quantization, this (...) 609 # In the future this may change as we add more fields 610 # to the `QConfig` object. 611 output_act_dtype = act_dtype if (not input_act_is_dynamic) else torch.float File ~/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages/torch/ao/quantization/utils.py:352, in get_qconfig_dtypes(qconfig) 348 r"""returns the qconfig tuple for qconfig: 349 (activation_dtype, weight_dtype, activation_is_dynamic) 350 """ 351 assert qconfig is not None --> 352 activation = qconfig.activation() 353 weight = qconfig.weight() 354 act_is_dynamic = getattr(activation, "is_dynamic", False) File ~/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages/torch/ao/quantization/observer.py:71, in _PartialWrapper.__call__(self, *args, **keywords) 69 if arg_name not in keywords: 70 keywords = {**keywords, arg_name: self.callable_args[arg_name]()} ---> 71 return self.p(*args, **keywords) File ~/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages/edgeai_torchmodelopt/xmodelopt/quantization/v2/fake_quantize_types.py:44, in AdaptiveFakeQuantize.__init__(self, *args, **kwargs) 43 def __init__(self, *args, **kwargs): ---> 44 super().__init__(*args, **kwargs) 45 self.detect_change = False 46 self.smooth_change = True File ~/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages/torch/ao/quantization/fake_quantize.py:194, in FakeQuantize.__init__(self, observer, quant_min, quant_max, is_dynamic, **observer_kwargs) 192 observer_kwargs.update({"quant_min": quant_min, "quant_max": quant_max}) 193 observer_kwargs["is_dynamic"] = is_dynamic --> 194 self.activation_post_process = observer(**observer_kwargs) 195 # TODO: keeping self.quant_min/max for BC; remove after a couple releases 196 # Users should use self.activation_post_process.quant_min 197 self.quant_min = self.activation_post_process.quant_min File ~/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages/edgeai_torchmodelopt/xmodelopt/quantization/v2/observer_types.py:140, in AdaptiveActivationObserver.__init__(self, quant_min, quant_max, dtype, qscheme, power2_scale, range_max, fixed_range, *args, **kwargs) 139 def __init__(self, *args, quant_min=0, quant_max=255, dtype=torch.quint8, qscheme=torch.per_tensor_affine, power2_scale=False, range_max=None, fixed_range=False, **kwargs): --> 140 super().__init__(*args, quant_min=quant_min, quant_max=quant_max, dtype=dtype, qscheme=qscheme, **kwargs) 141 self.symmetric = (qscheme == torch.per_tensor_symmetric) #(qscheme in (torch.per_channel_symmetric, torch.per_tensor_symmetric)) 142 self.power2_scale = power2_scale File ~/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages/edgeai_torchmodelopt/xmodelopt/quantization/v2/observer_utils.py:72, in CumulativeMSEHistogramObserver.__init__(self, range_shrink_percentile, fast_mode, *args, **kwargs) 71 def __init__(self, *args, range_shrink_percentile=None, fast_mode=False, **kwargs): ---> 72 super().__init__(*args, bins=256, upsample_rate=16, **kwargs) 73 self.fast_mode = fast_mode File ~/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages/torch/ao/quantization/observer.py:1007, in HistogramObserver.__init__(self, bins, dtype, qscheme, reduce_range, quant_min, quant_max, factory_kwargs, eps, is_dynamic, **kwargs) 1003 raise NotImplementedError( 1004 "HistogramObserver doesn't support dynamic quantization" 1005 ) 1006 # bins: The number of bins used for histogram calculation. -> 1007 super().__init__( 1008 dtype=dtype, 1009 qscheme=qscheme, 1010 reduce_range=reduce_range, 1011 quant_min=quant_min, 1012 quant_max=quant_max, 1013 factory_kwargs=factory_kwargs, 1014 eps=eps, 1015 is_dynamic=is_dynamic, 1016 **kwargs, 1017 ) 1018 factory_kwargs = torch.nn.factory_kwargs(factory_kwargs) 1019 self.bins = bins File ~/.pyenv/versions/3.10.15/envs/modelqt/lib/python3.10/site-packages/torch/ao/quantization/observer.py:226, in UniformQuantizationObserverBase.__init__(self, dtype, qscheme, reduce_range, quant_min, quant_max, factory_kwargs, eps, is_dynamic, **kwargs) 213 def __init__( 214 self, 215 dtype=torch.quint8, (...) 223 **kwargs, 224 ) -> None: 225 factory_kwargs = torch.nn.factory_kwargs(factory_kwargs) --> 226 super().__init__(dtype=dtype, is_dynamic=is_dynamic, **kwargs) 227 self.qscheme = qscheme 228 if reduce_range: TypeError: ObserverBase.__init__() got an unexpected keyword argument 'upsample_rate'