• Home
  • Raw
  • Download

Lines Matching +full:python3 +full:- +full:pytest

6 .. list-table:: Supported acceleration hardware
7 :header-rows: 1
9 * - Gallium driver
10 - NPU supported
11 - Hardware tested
12 * - Etnaviv
13 - ``VeriSilicon VIPNano-QI.7120``
14 - ``Amlogic A311D on Libre Computer AML-A311D-CC Alta and Khadas VIM3``
15 * - Etnaviv
16 - ``VeriSilicon VIPNano-SI+.8002``
17 - ``NXP iMX8M Plus on Toradex Verdin SoM``
19 .. list-table:: Tested models
20 :header-rows: 1
22 * - Model name
23 - Data type
24 - Link (may be outdated)
25 - Status
26 - Inference speed on AML-A311D-CC Alta
27 - Inference speed on Verdin iMX8M Plus
28 * - MobileNet V1
29 - UINT8
30 - http://download.tensorflow.org/models/mobilenet_v1_2018_08_02/mobilenet_v1_1.0_224_quant.tgz
31 - Fully supported
32 - ~6.6 ms
33 - ~7.9 ms
34 * - MobileNet V2
35 - UINT8
36 - https://storage.googleapis.com/mobilenet_v2/checkpoints/quantized_v2_224_100.tgz
37 - Fully supported
38 - ~6.9 ms
39 - ~8.0 ms
40 * - SSDLite MobileDet
41 - UINT8
42- https://raw.githubusercontent.com/google-coral/test_data/master/ssdlite_mobiledet_coco_qat_postp…
43 - Fully supported
44 - ~24.8 ms
45 - ~24.4 ms
48 -----
50 Build Mesa as usual, with the -Dteflon=true argument.
54 .. code-block:: console
57 ~ # apt-get -y build-dep mesa
58 ~ # apt-get -y install git cmake
65 mesa $ meson setup build -Dgallium-drivers=etnaviv -Dvulkan-drivers= -Dteflon=true
66 mesa $ meson compile -C build
69 ----------------------------
73 .. code-block:: console
76 ~ # echo deb-src http://deb.debian.org/debian testing main >> /etc/apt/sources.list
78 ~ # echo 'APT::Default-Release "testing";' >> /etc/apt/apt.conf
79 ~ # apt-get update
80 ~ # apt-get -y install python3.10 python3-pytest python3-exceptiongroup
82 # Install TensorFlow Lite Python package (as non-root)
83 ~ $ python3.10 -m pip install --break-system-packages tflite-runtime==2.13.0
86 ~ $ python3.10 -m pip install --break-system-packages pillow
89 ----------------------------------
97 .. code-block:: console
100 …mesa $ TEFLON_DEBUG=verbose ETNA_MESA_DEBUG=ml_dbgs python3.10 src/gallium/frontends/teflon/tests/…
101 -i ~/tensorflow/assets/grace_hopper.bmp \
102 -m src/gallium/targets/teflon/tests/mobilenet_v1_1.0_224_quant.tflite \
103 -l src/gallium/frontends/teflon/tests/labels_mobilenet_quant_v1_224.txt \
104 -e build/src/gallium/targets/teflon/libteflon.so
124 idx type in out operation type-specific