I Built a CoPilot+ AI PC (without Windows)
TLDRJeff Geerling builds a custom CoPilot PC using a Raspberry Pi AI kit, which includes an M.2 HAT and a 13 TOPS Hailo NPU for machine learning tasks. He explores its capabilities in real-time video processing, compares it to other AI solutions, and attempts to surpass Microsoft's 40 TOPS requirement by combining multiple AI accelerators. The video highlights practical applications of AI in robotics, safety monitoring, and machine vision, emphasizing the kit's potential for developers and enthusiasts.
Takeaways
- 🤖 The CoPilot PC is a custom Raspberry Pi AI PC, not related to Microsoft's Copilot.
- 🚀 The PC uses a $70 Raspberry Pi AI kit, which includes an M.2 HAT and a 13 TOPS Hailo NPU for AI processing.
- 🔢 The goal is to achieve over 40 TOPS of neural compute, which is more than Apple's M4 or Snapdragon X.
- 👷♂️ The AI kit is designed for practical applications like machine vision, not just hype.
- 📷 Raspberry Pi is focusing on real-time video applications, such as object detection and pose estimation.
- 🌾 The technology can be used in various industries like farming, manufacturing, and traffic planning for real-world problem-solving.
- 🤖 The Raspberry Pi does not have its own custom NPU and relies on add-on devices for AI capabilities.
- 💡 The AI kit is limited by the Pi's power and RAM, making it unsuitable for tasks like model training or running large language models.
- 🔌 There are challenges with powering multiple AI accelerators from the Pi's PCI Express port, which is limited to 5 watts.
- 🛠️ The video demonstrates experimenting with various PCI Express devices to increase the neural compute power of the Raspberry Pi.
- 🔮 The future of Raspberry Pi and AI might include more integrated solutions and easier access to AI capabilities for developers.
Q & A
What is the CoPilot PC mentioned in the script?
-The CoPilot PC is a custom Raspberry Pi AI PC built by the author, not to be confused with Microsoft's Copilot. It is designed to perform AI tasks with a focus on machine learning and neural computing.
Why did the author build the CoPilot PC instead of using Microsoft's Copilot?
-The author built the CoPilot PC because they had reservations about the way Microsoft marketed their Copilot product, although the specific reasons are not detailed in the script.
What is the neural compute requirement for Microsoft's Copilot?
-Microsoft states that you need at least 40 TOPS of neural compute for their Copilot.
What is the neural compute performance of the CoPilot PC built by the author?
-The CoPilot PC initially has 13 TOPS, but the author plans to enhance it to achieve 47 TOPS [or actually 51 TOPS], which is faster than Apple's M4 or the Snapdragon X.
What is included in the $70 Raspberry Pi AI kit mentioned in the script?
-The $70 Raspberry Pi AI kit includes an M.2 HAT and a 13 TOPS Hailo NPU, which functions as a machine learning accelerator for the Raspberry Pi.
How does the Coral TPU compare to the Hailo-8L in terms of TOPS and efficiency?
-The Coral TPU offers 2 TOPS at around 2 TOPS per watt efficiency, while the Hailo-8L provides 13 TOPS with an efficiency of 8 TOPS per watt.
What is the main purpose of the AI kit according to the script?
-The AI kit is designed for accelerating generic machine learning tasks such as object detection, pose estimation, and image segmentation, with a focus on practical applications like machine vision.
Why did the author mention Sony's factory in the script?
-The author mentioned Sony's factory to illustrate a real-world application of AI-powered cameras, which are used for inspection and quality assurance in the production of Raspberry Pis.
What are some of the practical applications of the CoPilot PC mentioned in the script?
-Some practical applications include real-time video processing for security, traffic planning, factory production line monitoring, and farming for spoilage detection.
Why did the author attempt to connect multiple AI accelerators to the Raspberry Pi?
-The author attempted to connect multiple AI accelerators to surpass the 40 TOPS neural compute threshold of Microsoft's Copilot, aiming to demonstrate the potential of the Raspberry Pi with various AI accelerators.
What challenges did the author encounter when trying to use multiple AI accelerators with the Raspberry Pi?
-The author faced challenges such as power limitations of the Raspberry Pi's PCI Express port, which is meant to supply up to 5 watts, and potential issues with multiple PCI Express switches in line.
What is the conclusion the author reaches regarding the use of multiple AI accelerators with the Raspberry Pi?
-The author concludes that while it's technically possible to connect multiple AI accelerators to the Raspberry Pi, it may be more practical to use a single, more powerful NPU if higher performance is required.
Outlines
🤖 Custom CoPilot PC with Raspberry Pi AI Kit
The script introduces a custom CoPilot PC, a Raspberry Pi AI system, contrasting it with Microsoft's Copilot. The creator criticizes Microsoft's marketing and explains the technical specifications of their setup, which includes a Raspberry Pi with a Hailo NPU for 13 TOPS of neural compute, surpassing the 40 TOPS minimum required by Microsoft's Copilot. The video promises to increase this to 47 TOPS (or 51), outperforming Apple's M4 and Snapdragon X. The script discusses the inclusion of an M.2 HAT and the efficiency of the Hailo-8L NPU, comparing it to the Coral TPU. It emphasizes the practical applications of AI in machine vision and the potential of the Raspberry Pi AI kit for real-world problem-solving, such as in surveillance, traffic planning, and factory monitoring, while also touching on the limitations of AI hype and the channel's preference for practical technology solutions.
🔍 Exploring AI Capabilities and Limitations with Raspberry Pi
This paragraph delves into the capabilities of the Raspberry Pi AI kit, showcasing its real-time performance in tasks like object identification, pose estimation, and image segmentation. It discusses the benefits of having a dedicated AI coprocessor for handling complex machine learning tasks efficiently, with lower power consumption and less strain on the CPU. The script also mentions the challenges of training models on the Pi due to limited RAM and the time-consuming process compared to modern GPUs. It explores the potential for integrating the AI kit with projects like Frigate and StereoPi and acknowledges the kit's limitations for certain applications, such as image generation or large language models, suggesting that while it may not be suitable for everyone, it offers a valuable alternative for those working in machine vision and robotics.
🚀 Pushing the Limits with Multiple AI Coprocessors
The final paragraph describes an ambitious attempt to surpass Microsoft's neural compute requirement by connecting multiple AI coprocessors to the Raspberry Pi. It details the process of setting up various PCI Express devices, including the Pineboard's HatBrick! Commander and multiple Hailo and Coral NPUs, to increase the system's TOPS. The script highlights the technical challenges encountered, such as power limitations and potential software incompatibilities, and the unsuccessful attempt to boot the system with all devices connected. It concludes with a reflection on the feasibility of such a setup, suggesting that while it's an interesting experiment, it may be more practical to opt for a more powerful NPU for those who truly require high computational power. The video ends with thoughts on the future of AI integration in devices and the potential for even more specialized and accessible AI solutions.
Mindmap
Keywords
💡CoPilot PC
💡TOPS
💡Raspberry Pi
💡AI Kit
💡Hailo NPU
💡Machine Learning
💡Coral TPU
💡Object Detection
💡Neural Compute
💡Machine Vision
💡Pose Estimation
💡Image Segmentation
💡HatBrick! Commander
Highlights
Introduction of a custom CoPilot PC, a Raspberry Pi AI kit, which is different from Microsoft's Copilot.
The CoPilot PC is designed to have 13 TOPS of neural compute, aiming to surpass the 40 TOPS required by Microsoft's Copilot.
The Raspberry Pi AI kit includes an M.2 HAT and a 13 TOPS Hailo NPU, enhancing the Pi's machine learning capabilities.
Comparison of the Coral TPU's 2 TOPS per watt efficiency to the Hailo-8L's 8 TOPS per watt.
The AI kit's purpose is for real-world applications like machine vision, not just buzzword compliance.
Raspberry Pi's preannouncement of an AI camera at Embedded World, indicating a focus on practical applications.
The versatility of the AI kit for accelerating machine learning tasks such as object detection and image segmentation.
Examples of real-world applications, including factory inspections and traffic planning with AI-powered cameras.
Discussion on why Raspberry Pi doesn't integrate an NPU into their main chip and the role of Broadcom in this decision.
Comparison of different approaches to AI hardware, from custom NPUs to AI extensions on the CPU.
The limitations of using a GPU for AI tasks on low-power devices like the Raspberry Pi.
Demonstration of the AI kit's performance提升 with YOLOv5, showing real-time object detection with low CPU usage.
The potential for pose estimation and behavior prediction in automotive safety with the AI kit.
The AI kit's capability for image segmentation, enabling features like iPhone's portrait mode.
Hailo's model zoo and Raspberry Pi's documentation efforts to support users in leveraging the AI kit.
The unsuitability of the AI kit for tasks like image generation and large language model processing due to RAM constraints.
An ambitious attempt to surpass Microsoft's neural compute requirement by connecting multiple AI accelerators to the Pi.
The challenges faced when trying to power and utilize multiple high TOPS devices on a single Raspberry Pi.
Recommendations for those who need higher neural compute performance to consider more powerful NPUs.
Final thoughts on the AI kit's niche appeal and its potential impact on machine vision and robotics.