Shawn,
Thank you for your reply and suggestions.
I have the following files in the same directory as the notebook:
- mnist_classifier.ipyb
- mnist_classifier.xmodel
- u96v2_benchmark.bit
- u96v2_benchmark.hwh
- u96v2_benchmark.xclbin
Here are the output of dmesg and /var/log/jupyter.log at certains points of execution âŚ
BEFORE loading/running notebook:
⢠/var/log/jupyter.log
xilinx@pynq:~$ cat /var/log/jupyter.log
[I 18:17:18.644 NotebookApp] [jupyter_nbextensions_configurator] enabled 0.4.1
[W 2023-02-14 18:17:23.448 LabApp] âallow_rootâ has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
[W 2023-02-14 18:17:23.448 LabApp] âipâ has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
[W 2023-02-14 18:17:23.449 LabApp] ânotebook_dirâ has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
[W 2023-02-14 18:17:23.449 LabApp] âpasswordâ has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
[W 2023-02-14 18:17:23.449 LabApp] âportâ has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
[W 2023-02-14 18:17:23.449 LabApp] âiopub_data_rate_limitâ has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
[W 2023-02-14 18:17:23.449 LabApp] âcookie_optionsâ has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
[W 2023-02-14 18:17:23.450 LabApp] âcookie_optionsâ has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
[I 2023-02-14 18:17:23.505 LabApp] JupyterLab extension loaded from /usr/local/share/pynq-venv/lib/python3.10/site-packages/jupyterlab
[I 2023-02-14 18:17:23.506 LabApp] JupyterLab application directory is /usr/local/share/pynq-venv/share/jupyter/lab
[I 18:17:25.043 NotebookApp] Serving notebooks from local directory: /home/xilinx/jupyter_notebooks
[I 18:17:25.044 NotebookApp] Jupyter Notebook 6.4.12 is running at:
[I 18:17:25.044 NotebookApp] http://pynq:9090/
[I 18:17:25.044 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[I 18:17:25.891 NotebookApp] 302 GET / (127.0.0.1) 2.860000ms
[I 18:17:25.898 NotebookApp] 302 GET /tree? (127.0.0.1) 3.600000ms
[I 14:36:55.178 NotebookApp] 302 GET / (10.0.0.29) 2.960000ms
[W 14:36:55.191 NotebookApp] Clearing invalid/expired login cookie username-10-0-0-172-9090
[W 14:36:55.193 NotebookApp] Clearing invalid/expired login cookie username-10-0-0-172-9090
[I 14:36:55.196 NotebookApp] 302 GET /tree? (10.0.0.29) 7.020000ms
[I 14:36:57.583 NotebookApp] 302 POST /login?next=%2Ftree%3F (10.0.0.29) 5.600000ms
AFTER execution of : overlay = DpuOverlay(âu96v2-benchmark.bitâ)
⢠dmesg
[ 290.556677] zocl-drm axi:zyxclmm_drm: zocl_create_client: created KDS client for pid(1551), ret: 0
[ 290.556823] zocl-drm axi:zyxclmm_drm: zocl_destroy_client: client exits pid(1551)
[ 290.557130] zocl-drm axi:zyxclmm_drm: zocl_create_client: created KDS client for pid(1551), ret: 0
[ 293.773326] fpga_manager fpga0: writing u96v2-benchmark.bin to Xilinx ZynqMP FPGA Manager
[ 293.976770] [drm] skip kind 29(AIE_RESOURCES) return code: -22
[ 293.976805] [drm] found kind 8(IP_LAYOUT)
[ 293.976815] [drm] skip kind 9(DEBUG_IP_LAYOUT) return code: -22
[ 293.976835] [drm] skip kind 25(AIE_METADATA) return code: -22
[ 293.976840] [drm] found kind 7(CONNECTIVITY)
[ 293.976848] [drm] found kind 6(MEM_TOPOLOGY)
[ 293.977080] [drm] Memory 0 is not reserved in device tree. Will allocate memory from CMA
[ 293.977138] [drm] Memory 1 is not reserved in device tree. Will allocate memory from CMA
[ 293.977184] [drm] Memory 2 is not reserved in device tree. Will allocate memory from CMA
[ 293.977228] [drm] Memory 3 is not reserved in device tree. Will allocate memory from CMA
[ 293.977272] [drm] Memory 4 is not reserved in device tree. Will allocate memory from CMA
[ 293.977316] [drm] Memory 5 is not reserved in device tree. Will allocate memory from CMA
[ 293.978785] [drm] Failed to initial CU interrupt. Fall back to polling
[ 293.978842] cu_drv CU.2.auto: cu_probe: CU[0] created
[ 293.978917] cu_drv CU.2.auto: ffff00000792ec10 kds_cfg_update: CU(0) doesnt support interrupt, running polling thread for all cus
[ 293.979089] [drm] zocl_xclbin_read_axlf ac79398d-ff4e-ecc4-defe-596e025ac395 ret: 0
[ 294.150729] [drm] bitstream ac79398d-ff4e-ecc4-defe-596e025ac395 locked, ref=1
[ 294.150781] zocl-drm axi:zyxclmm_drm: ffff000001b39010 kds_add_context: Client pid(1551) add context Domain(0) CU(0xffffffff) shared(true)
[ 294.150848] zocl-drm axi:zyxclmm_drm: ffff000001b39010 kds_del_context: Client pid(1551) del context Domain(0) CU(0xffffffff)
[ 294.150859] [drm] bitstream ac79398d-ff4e-ecc4-defe-596e025ac395 unlocked, ref=0
â
⢠/var/log/jupyter.log
[W 14:40:35.632 NotebookApp] Config option template_path
not recognized by ExporterCollapsibleHeadings
. Did you mean one of: extra_template_paths, template_name, template_paths
?
[W 14:40:35.689 NotebookApp] Config option template_path
not recognized by ExporterCollapsibleHeadings
. Did you mean one of: extra_template_paths, template_name, template_paths
?
[W 14:40:35.847 NotebookApp] Config option template_path
not recognized by TocExporter
. Did you mean one of: extra_template_paths, template_name, template_paths
?
[W 14:40:35.882 NotebookApp] Config option template_path
not recognized by TocExporter
. Did you mean one of: extra_template_paths, template_name, template_paths
?
[W 14:40:35.959 NotebookApp] Config option template_path
not recognized by LenvsHTMLExporter
. Did you mean one of: extra_template_paths, template_name, template_paths
?
[W 14:40:36.018 NotebookApp] Config option template_path
not recognized by LenvsHTMLExporter
. Did you mean one of: extra_template_paths, template_name, template_paths
?
[W 14:40:36.104 NotebookApp] Config option template_path
not recognized by LenvsTocHTMLExporter
. Did you mean one of: extra_template_paths, template_name, template_paths
?
[W 14:40:36.164 NotebookApp] Config option template_path
not recognized by LenvsTocHTMLExporter
. Did you mean one of: extra_template_paths, template_name, template_paths
?
[W 14:40:36.363 NotebookApp] Config option template_path
not recognized by LenvsLatexExporter
. Did you mean one of: extra_template_paths, template_name, template_paths
?
[W 14:40:36.395 NotebookApp] Config option template_path
not recognized by LenvsLatexExporter
. Did you mean one of: extra_template_paths, template_name, template_paths
?
[W 14:40:37.237 NotebookApp] Config option template_path
not recognized by LenvsSlidesExporter
. Did you mean one of: extra_template_paths, template_name, template_paths
?
[W 14:40:37.275 NotebookApp] Config option template_path
not recognized by LenvsSlidesExporter
. Did you mean one of: extra_template_paths, template_name, template_paths
?
[W 14:40:38.089 NotebookApp] Config option template_path
not recognized by ExporterCollapsibleHeadings
. Did you mean one of: extra_template_paths, template_name, template_paths
?
[W 14:40:38.139 NotebookApp] Config option template_path
not recognized by ExporterCollapsibleHeadings
. Did you mean one of: extra_template_paths, template_name, template_paths
?
[W 14:40:38.296 NotebookApp] Config option template_path
not recognized by TocExporter
. Did you mean one of: extra_template_paths, template_name, template_paths
?
[W 14:40:38.331 NotebookApp] Config option template_path
not recognized by TocExporter
. Did you mean one of: extra_template_paths, template_name, template_paths
?
[W 14:40:38.392 NotebookApp] Config option template_path
not recognized by LenvsHTMLExporter
. Did you mean one of: extra_template_paths, template_name, template_paths
?
[W 14:40:38.451 NotebookApp] Config option template_path
not recognized by LenvsHTMLExporter
. Did you mean one of: extra_template_paths, template_name, template_paths
?
[W 14:40:38.536 NotebookApp] Config option template_path
not recognized by LenvsTocHTMLExporter
. Did you mean one of: extra_template_paths, template_name, template_paths
?
[W 14:40:38.595 NotebookApp] Config option template_path
not recognized by LenvsTocHTMLExporter
. Did you mean one of: extra_template_paths, template_name, template_paths
?
[W 14:40:38.788 NotebookApp] Config option template_path
not recognized by LenvsLatexExporter
. Did you mean one of: extra_template_paths, template_name, template_paths
?
[W 14:40:38.820 NotebookApp] Config option template_path
not recognized by LenvsLatexExporter
. Did you mean one of: extra_template_paths, template_name, template_paths
?
[W 14:40:39.639 NotebookApp] Config option template_path
not recognized by LenvsSlidesExporter
. Did you mean one of: extra_template_paths, template_name, template_paths
?
[W 14:40:39.679 NotebookApp] Config option template_path
not recognized by LenvsSlidesExporter
. Did you mean one of: extra_template_paths, template_name, template_paths
?
[W 14:40:40.674 NotebookApp] Notebook u96v2-benchmark-3.0.1/mnist_classifier.ipynb is not trusted
[I 14:40:41.231 NotebookApp] Kernel started: 66b72bc4-f130-48d3-8b49-c537f3440097, name: python3
[IPKernelApp] ERROR | No such comm target registered: jupyter.widget.control
[IPKernelApp] WARNING | No such comm: 2be93046-2697-4644-8e9f-5a9531a09f61
AFTER execution of : overlay.load_model(âmnist_classifier.xmodelâ)
⢠dmesg
[ 354.901768] zocl-drm axi:zyxclmm_drm: zocl_create_client: created KDS client for pid(1551), ret: 0
[ 354.901873] zocl-drm axi:zyxclmm_drm: zocl_destroy_client: client exits pid(1551)
[ 354.902536] zocl-drm axi:zyxclmm_drm: zocl_create_client: created KDS client for pid(1551), ret: 0
[ 354.902579] zocl-drm axi:zyxclmm_drm: zocl_destroy_client: client exits pid(1551)
[ 354.903190] zocl-drm axi:zyxclmm_drm: zocl_create_client: created KDS client for pid(1551), ret: 0
[ 354.903231] zocl-drm axi:zyxclmm_drm: zocl_destroy_client: client exits pid(1551)
[ 354.903468] zocl-drm axi:zyxclmm_drm: zocl_create_client: created KDS client for pid(1551), ret: 0
[ 354.903521] zocl-drm axi:zyxclmm_drm: zocl_destroy_client: client exits pid(1551)
[ 354.903816] zocl-drm axi:zyxclmm_drm: zocl_create_client: created KDS client for pid(1551), ret: 0
[ 354.903994] zocl-drm axi:zyxclmm_drm: zocl_destroy_client: client exits pid(1551)
⢠/var/log/jupyter.log
[I 14:42:20.149 NotebookApp] KernelRestarter: restarting kernel (1/5), keep random ports
WARNING:root:kernel 66b72bc4-f130-48d3-8b49-c537f3440097 restarted