TS-464 Will not use Google Coral TPU?

QNAP now provides a groundbreaking AI computing platform based on QNAP NAS called QuAI (pronounced "Q A I" ) - QNAP's AI Developer Package.
Data Mining/Machine Learning/Deep Learning
Post Reply
stoopalini
New here
Posts: 6
Joined: Sat Apr 08, 2023 4:26 am

TS-464 Will not use Google Coral TPU?

Post by stoopalini »

This is a new NAS I just set up a couple of days ago. It has 16GB of ram, two 1TB M.2 Seagate 980 Pro SSDs in a RAID 1 for the 1st storage pool (system volume), three 1TB Seagate 870 EVOs in a RAID 5 for general data storage, and a single 18TB Seagate Skyhawk AI drive for surveillance data.

The system is running QTS 5.0.1.2346 build 20230322 and BIOS version Q07SAR09


I have about 70k photos and 3200 videos loaded. The initial indexing, AI recognition, and thumbnail creation took about 15 hours to complete.

After that was done, everything looked ok except Video Station did not have any thumbnails. I did a bit of searching on this, and decided to go ahead and just purchase the CAYIN license. After installing and activating CAYIN, I could then manually generate thumbnails in Video Station one at a time.

I also purchased a Google Coral TPU, the USB version, and installed this into the USB 3.1 port on the back of the system.

The TPU LED is solid and it shows up in hardware resources, as well as in Multimedia Console and QuMagie ... showing "idle" or "stopped".

So I kicked off a thumbnail rebuild, now that I have CAYIN and a TPU, but the system is not leveraging the TPU for any of the AI processes. I let it complete (another 15 hours) and opened a ticket with QNAP. They responded about 24 hours later and said to try removing and re-adding Multimedia Center.

So I:
  • Removed QuMagie, then removed AI Core, then removed Multimedia Console ... in that order.
  • Then I performed a restart (ie: shut the system down and booted it back up).
  • Then I reinstalled Multimedia console 1st, the AI Core next, then finally QuMagie ... in that order.
I did all of this with the TPU plugged in to the USB 3.1 port on the back.

Next I opened Multimedia Console and checked the AI Engines page ... the Coral Edge TPU is showing "Stopped" at the top right. I also checked Hardware Resources, and the TPU is showing Idle. The TPU settings show "Multimedia Console" as the only application listed.

Then I opened QuMagie and checked the settings ... the TPU is showing up as stopped.

Then I re-added the content source to QuMagie and everything seems back to normal at this state ... so I kicked off thumbnail regeneration again.

Still no luck getting the TPU to start up.

tpu5.JPG
tpu6.JPG
tpu7.JPG


I let the processes finish again (still about 15 hours).


After reading the details for enabling the TPU here: Coral TPU: Getting Started, I wondered if maybe the system may be missing some of the Coral TPU packages or runtime, so I connected VIA WinSCP and ran a search:
tpu9.JPG
I'm not a Linux expert by any means, so I'm not sure if this is telling me anything at this point though.

Does anyone have any ideas on how I can get the system to use the TPU for the AI processes? I'd eventually like to use QVR Face with QVR Pro, but would 1st like to ensure everything is functioning properly. And since the Multimedia AI processes don't seem to be able to use the TPU, I don't want to move on with the surveillance stuff until I sort that out.

Thanks for any input!
You do not have the required permissions to view the files attached to this post.
jblongz
Starting out
Posts: 16
Joined: Wed Oct 19, 2022 8:25 am

Re: TS-464 Will not use Google Coral TPU?

Post by jblongz »

Also wondering as I was looking up the TS-464 and the TPU is in my shopping cart. Did your issue resolve yet?
NAS: TS-453BT3 | FW: QTS 5.1.4.2596 | OS: 2x 1TB M.2 Raid 1|Data: 4x 4TB SSD (Non-Raid) | Backup: External 18TB HDD
bhafresh
First post
Posts: 1
Joined: Wed Aug 09, 2023 3:13 am

Re: TS-464 Will not use Google Coral TPU?

Post by bhafresh »

I have a TS-453D and experiencing similar problems. I think QNAP does need to update packages for coral. I would email the QNAP service team to log it.
I reached out to QNAP and they noticed that the TPU unit would keep connecting and disconnecting to USB, essentially it would never get going.
LED behaivior on the TPU is solid when active (which is always on with power) and Breath when working. My Tpu would never go into breath and the time of AI activities on the NAS would actually be way slower with the TPU attached (probably keeps trying and then reverts to NAS CPU).
tuleggi
New here
Posts: 3
Joined: Wed Jun 02, 2021 3:14 pm

Re: TS-464 Will not use Google Coral TPU?

Post by tuleggi »

same here, it shows running for few seconds then stopped -strange no? on a HS251+
kabammi
First post
Posts: 1
Joined: Thu Jul 15, 2010 11:29 am

Re: TS-464 Will not use Google Coral TPU?

Post by kabammi »

I have a qnap ts-462 with a google/Coral M2 type TPU.
It shows up in the Hardware resources, but qmagie shows it as "stopped".
In Multimedia Console, in the AI Engines tab, it says "Coral Edge TPU: Stopped".
Under "AI Recognition Accelerator" it says "Internal GPU: Stopped".

I'm not sure how to "start" the TPU in these apps!
alaska99
Starting out
Posts: 31
Joined: Tue Oct 10, 2017 9:24 am

Re: TS-464 Will not use Google Coral TPU?

Post by alaska99 »

someone resolved it?
TVS-h874 Intel I7
Pool 1: 2 SSD WD_Black SN850X 2Tb (System and app installation)
Pool 2: 8 disk HGST of 8TB 7200RPM Raid 5 pool Thin (Data and multimedia storage)
Pool 3: QM2-4P-384 card in PCIe 2 slot with 4 SSDs Samsung 980Pro of 1Tb Raid 5 (QVR Elite video storage)
64Gb RAM Kingston Fury Impact
GPU Quadro P2200 in PCIe Slot 1 (For Plex and Emby transcoding)
Always latest QuTS installed!!

Replacement of my old TVS-873e with dead motherboard :cry:
Gvm77
Starting out
Posts: 31
Joined: Mon May 16, 2022 7:35 pm

Re: TS-464 Will not use Google Coral TPU?

Post by Gvm77 »

I have the same symptoms. Under AI engines, it shows that facial and object recognition processes are working as is similar photo recognition process. Is this work being performed by AI Core and the CPU? Or despite the stopped messages, is the work being done by the TPU? TIA .... Greg
lotek
First post
Posts: 1
Joined: Wed Nov 06, 2024 3:14 am

Re: TS-464 Will not use Google Coral TPU?

Post by lotek »

I did the steps from @stoopalini post:
"Removed QuMagie, then removed AI Core, then removed Multimedia Console ... in that order.
Then I performed a restart (ie: shut the system down and booted it back up).
Then I reinstalled Multimedia console 1st, the AI Core next, then finally QuMagie ... in that order."
and it resolved my issue with the same symptoms.
So, I just want to say thank you :)
You do not have the required permissions to view the files attached to this post.
WalTig
New here
Posts: 3
Joined: Tue Nov 26, 2024 9:53 pm

Re: TS-464 Will not use Google Coral TPU?

Post by WalTig »

Same issue here with a TS-364.

Now I'm wondering. When I follow these steps ....

"Removed QuMagie, then removed AI Core, then removed Multimedia Console ... in that order.
Then I performed a restart (ie: shut the system down and booted it back up).
Then I reinstalled Multimedia console 1st, the AI Core next, then finally QuMagie ... in that order."

Will it remove my database with person recognition? Will I go back to clean start, having to enter all the given names again?
TS-364, 64GB RAM, 1TB SSD cache, M.2 & USB Coral Edge TPU.
WalTig
New here
Posts: 3
Joined: Tue Nov 26, 2024 9:53 pm

Re: TS-464 Will not use Google Coral TPU?

Post by WalTig »

Well .... I'll give it a try. :| Not much choice anyway ... :roll:

And Copilot sounds promising:

"... Uninstalling and reinstalling QuMagie, AI Core, and Multimedia Console on your QNAP NAS TS-364 should not delete the face recognition data you have already created. The metadata, including the names and faces you have identified, is typically stored in the database on your NAS and should remain intact even after you reinstall these applications.

However, to be cautious, it's always a good idea to back up your data before performing such operations. Here are the steps you mentioned:

1. **Uninstall QuMagie, AI Core, and Multimedia Console.**
2. **Restart your NAS.**
3. **Reinstall Multimedia Console, AI Core, and QuMagie in that order.**

This process should not require you to re-enter all the names for the faces on your pictures[1](https://www.qnap.com/en/how-to/faq/arti ... 0-or-later)[2](https://docs.qnap.com/operating-system/ ... 3589C.html).

Regarding your Google Coral TPU, if it is not working, reinstalling these applications might help. Ensure that the TPU is properly installed and recognized by your NAS. You can check the status of the Google TPU device in the Control Panel under System > Hardware > Hardware Resources[2](https://docs.qnap.com/operating-system/ ... 3589C.html)...."


Update: as we all know AI is a nice tool but not 100% reliable.
TS-364, 64GB RAM, 1TB SSD cache, M.2 & USB Coral Edge TPU.
WalTig
New here
Posts: 3
Joined: Tue Nov 26, 2024 9:53 pm

Re: TS-464 Will not use Google Coral TPU?

Post by WalTig »

QuMagie showing QNAP AI Core inactive (while it is active)
=>
This is a known issue in the QuMagie UI status, which has been resolved in QuMagie 2.5.0 and is scheduled for release around 3rd or 4th week of December. Please wait when new QuMagie is availale in App Center.

Recognision tasks not using TPU, leaving devices inactive all the time.
=>
This is now working (after hot fix 2.7.1), and resolved the TPU issue. You may update offical MMC 2.7.1 app when released.
TS-364, 64GB RAM, 1TB SSD cache, M.2 & USB Coral Edge TPU.
Post Reply

Return to “QuAI”