COE 592Lecture 01المحاضرة 01Part 03الجزء 03
Cloud and edge AI hardware, and the gap between themعتاد الذكاء الاصطناعي في السحابة وعلى الحافة، والفجوة بينهما
How NVIDIA data center GPUs, mobile NPUs, Jetson modules and microcontrollers compare in performance, power and memory, and why the orders-of-magnitude gap from cloud to tiny devices demands efficient models.كيف تُقارَن وحدات NVIDIA GPU في مراكز البيانات ووحدات NPU في الهواتف ووحدات Jetson والمتحكمات الدقيقة من حيث الأداء والطاقة والذاكرة، ولماذا تتطلب الفجوة التي تبلغ عدة رتب عشرية بين السحابة والأجهزة الصغيرة جدًا نماذج كفؤة.
- Conceptsالمفاهيم
- 4
- Slidesالشرائح
- 17-24
- Readingمدة القراءة
- 24 min24 دقيقة
Why this part mattersلماذا يهمّ هذا الجزء
Part 02 measured demand: models grew from 0.05B to 530B parameters and diffusion cost rises faster than the square of resolution. This part measures supply. What can a cloud GPU, a phone, a robot module and a microcontroller actually hold and compute, and how far apart are they?
The answer is a set of numbers you will use twice. In the exam, they appear as short computations: TOPS per watt for a given GPU, or the ratio between two memory tiers. In your research project, they are the sizing step that comes before any model is designed: the target tier fixes the memory and power budget, and the budget decides which of the techniques in the rest of this course you will need. By the end of the part the phrase "six orders of magnitude" should feel concrete rather than rhetorical.
قاس الجزء 02 الطلب: نمت النماذج من 0.05B إلى 530B معامل، وتكلفة نماذج الانتشار (diffusion) ترتفع أسرع من مربع الدقة (resolution). أما هذا الجزء فيقيس العرض. ما الذي تستطيع وحدة GPU سحابية، وهاتف، ووحدة روبوت، ومتحكم دقيق أن تحمله وتحسبه فعلا، وما حجم المسافة بينها؟
الجواب مجموعة من الأرقام ستستخدمها مرتين. في الامتحان تظهر كحسابات قصيرة: TOPS لكل واط لوحدة GPU معيّنة، أو النسبة بين مستويين من الذاكرة. وفي مشروعك البحثي هي خطوة التحجيم التي تسبق تصميم أي نموذج: المستوى المستهدف يحدد ميزانية الذاكرة والقدرة، والميزانية تقرر أي التقنيات في بقية هذا المقرر ستحتاج إليها. وفي نهاية هذا الجزء يجب أن تبدو لك عبارة «ست مراتب عشرية» (six orders of magnitude) شيئا ملموسا لا مجرد بلاغة.
By the end you canفي نهاية هذا الجزء ستستطيع
- Read a GPU spec sheet: define TOPS (dense versus sparse), memory bandwidth and TDP, and compute TOPS per watt for any of the five NVIDIA generations.اقرأ ورقة مواصفات GPU: عرّف TOPS (الكثيفة مقابل المتفرقة)، وعرض نطاق الذاكرة، وTDP، واحسب TOPS لكل واط لأي جيل من أجيال NVIDIA الخمسة.
- Explain the memory wall: why 94x more compute on 2.8x more power and 12x more memory makes data movement, not arithmetic, the bottleneck.اشرح جدار الذاكرة: لماذا يجعل نمو الحوسبة 94 ضعفا مقابل 2.8 ضعف فقط في القدرة و12 ضعفا في الذاكرة نقلَ البيانات، لا العمليات الحسابية، هو عنق الزجاجة.
- Contrast edge accelerator families: a fixed power envelope (Snapdragon, Apple) versus a power ladder (Jetson), and say why TOPS across vendors are not comparable.قارن بين عائلات المسرّعات الطرفية: غلاف قدرة ثابت (Snapdragon وApple) مقابل سلّم من مستويات القدرة (Jetson)، ووضّح لماذا لا يمكن مقارنة أرقام TOPS بين الشركات المختلفة.
- Describe a microcontroller, read DMIPS correctly, and state the 320 kB and 1 MB budgets of the STM32F746.صِف المتحكم الدقيق، واقرأ DMIPS قراءة صحيحة، واذكر ميزانيتي 320 kB و1 MB في STM32F746.
- Compute the cloud, mobile and tiny AI ratios, separate activation memory from weight storage, and decide whether a given model fits each tier.احسب النسب بين مستويات cloud AI وmobile AI وtiny AI، وافصل ذاكرة التنشيطات عن تخزين الأوزان، وقرّر هل يتسع نموذج معيّن في كل مستوى.
A single NVIDIA A100 from 2020 performs 312 trillion dense FP16 operations per second and draws 400 W. Four years earlier the P100 managed 18.7 trillion at 250 W. That is a 17x jump in throughput. How much of it came from simply burning more power? Only 1.6x (400 / 250). The other 10x came from architecture: Tensor Cores, faster HBM2e and a 7 nm process node. That single observation is the whole story of the cloud tier, and the rest of this concept just extends it across five generations.
تنفذ وحدة NVIDIA A100 واحدة من عام 2020 عدد 312 تريليون عملية FP16 كثيفة في الثانية، وتستهلك 400 W. وقبل ذلك بأربع سنوات كانت P100 تنجز 18.7 تريليون عند 250 W. هذه قفزة بمقدار 17x في معدل الإنجاز. فكم منها جاء من مجرد حرق قدرة أكبر؟ 1.6x فقط (400 / 250). أما الـ 10x الباقية فجاءت من المعمارية: نوى Tensor Cores، وذاكرة HBM2e أسرع، وعقدة تصنيع 7 nm. هذه الملاحظة الواحدة هي القصة الكاملة للمستوى السحابي، وبقية هذا المفهوم تمدّها فقط عبر خمسة أجيال.
Slide 17 repeats the three pillars from part 01 to mark the pivot: algorithm and data were the first two, and now we ask whether the third, hardware, can absorb the demand growth by itself. Slide 18 answers with four charts for the NVIDIA data center GPU line: P100, V100, A100, H100 and B100: the P100 as a PCIe card (as the errata below explains) and V100 to B100 in the SXM mezzanine form factor used in HGX and DGX servers, which allows a higher power budget than a PCIe card. The four series are performance, memory bandwidth, power and memory capacity, and the lesson lives in how differently they grow.
تعيد الشريحة 17 عرض الركائز الثلاث (three pillars) من الجزء 01 لتعلن نقطة التحول: الخوارزمية والبيانات كانتا الركيزتين الأوليين، والآن نسأل هل تستطيع الثالثة، أي العتاد، أن تستوعب نمو الطلب وحدها. وتجيب الشريحة 18 بأربعة مخططات لخط وحدات data center GPU من NVIDIA: P100 وV100 وA100 وH100 وB100. تظهر P100 كبطاقة PCIe (كما توضح التصويبات أدناه)، ومن V100 إلى B100 بعامل الشكل SXM (بطاقة mezzanine) المستخدم في خوادم HGX وDGX، وهو يسمح بميزانية قدرة (power budget) أعلى من بطاقة PCIe. السلاسل الأربع هي الأداء، وعرض نطاق الذاكرة، والقدرة، وسعة الذاكرة، والدرس يكمن في مدى اختلاف نموها.
Reading the vertical axis: what a TOPS isقراءة المحور الرأسي: ما هي TOPS
TOPS stands for trillions of operations per second. The unit hides two conventions you must know. First, one multiply-accumulate counts as two operations (one multiply, one add), so the MAC counts from part 01 convert with a factor of two. Second, NVIDIA quotes Tensor Core throughput at a specific precision, here FP16, and its spec sheets list two numbers: a dense figure and a figure "with sparsity" that is exactly double. The doubled number applies only when the weights have been pruned to a 2:4 structured pattern (two of every four values zero). The slide uses the dense figures, and so should you when comparing chips. The A100 page reads 312 TFLOPS dense and 624 TFLOPS with sparsity; the H100 SXM lists 1,979 sparse, which is 989 dense, rounded to 990 on the slide (NVIDIA A100 and H100 pages).
TOPS اختصار لتريليونات العمليات في الثانية. وهذه الوحدة تخفي اصطلاحين يجب أن تعرفهما. الأول: عملية ضرب وتجميع واحدة (multiply-accumulate) تُحسب عمليتين (ضرب وجمع)، لذلك تتحول أعداد MAC من الجزء 01 بمعامل اثنين. الثاني: تذكر NVIDIA معدل إنجاز Tensor Core عند دقة عددية (precision) محددة، وهي هنا FP16، وتضع أوراق مواصفاتها رقمين: رقما كثيفا (dense) ورقما «مع التفرق» (with sparsity) يساوي ضعفه تماما. الرقم المضاعف لا ينطبق إلا عندما تُقلَّم الأوزان إلى نمط منظم 2:4 (اثنتان من كل أربع قيم تساوي صفرا). تستخدم الشريحة الأرقام الكثيفة، وكذلك يجب أن تفعل عند مقارنة الشرائح. صفحة A100 تذكر 312 TFLOPS كثيفة و624 TFLOPS مع التفرق، وصفحة H100 SXM تذكر 1,979 مع التفرق، أي 989 كثيفة، مقربة إلى 990 في الشريحة (صفحتا NVIDIA لـ A100 وH100).
Five generations, four very different slopesخمسة أجيال، وأربعة منحدرات مختلفة جدا
| Partالوحدة | Dense FP16 TOPSTOPS بدقة FP16 الكثيفة | Bandwidth GB/sعرض النطاق GB/s | Power Wالقدرة W | Memory GBالذاكرة GB | TOPS/WTOPS/W |
|---|---|---|---|---|---|
| P100 (2016), PCIeP100 (2016), PCIe | 18.718.7 | 732732 | 250250 | 1616 | 0.0750.075 |
| V100 SXM (2017)V100 SXM (2017) | 125125 | 900900 | 300300 | 3232 | 0.420.42 |
| A100 SXM (2020)A100 SXM (2020) | 312312 | 2,0392,039 | 400400 | 8080 | 0.780.78 |
| H100 SXM (2022)H100 SXM (2022) | 990990 | 3,4303,430 | 700700 | 9696 | 1.411.41 |
| B100 SXM (2024)B100 SXM (2024) | 1,7501,750 | 8,1928,192 | 700700 | 192192 | 2.52.5 |
Growth from P100 (2016) to B100 (2024)النمو من P100 (2016) إلى B100 (2024)
- Performance, dense FP16الأداء، FP16 الكثيف
- 18.7 to 1,750 TOPS, about 94xمن 18.7 إلى 1,750 TOPS، نحو 94x
- Board powerقدرة البطاقة
- 250 to 700 W, 2.8xمن 250 إلى 700 W، 2.8x
- Memory capacityسعة الذاكرة
- 16 to 192 GB, 12xمن 16 إلى 192 GB، 12x
- Memory bandwidthعرض نطاق الذاكرة
- 732 to 8,192 GB/s, about 11xمن 732 إلى 8,192 GB/s، نحو 11x
- TOPS per wattTOPS لكل واط
- 0.075 to 2.5, about 33xمن 0.075 إلى 2.5، نحو 33x
Read the table as a race between four quantities. Compute ran 94x. Efficiency ran 33x, which is why compute could run so far on so little extra power. Capacity and bandwidth ran only about 12x. So every generation, the arithmetic units can chew through data faster than the memory can deliver it, by a margin that widens each time.
اقرأ الجدول كسباق بين أربع كميات. الحوسبة قطعت 94x. والكفاءة قطعت 33x، ولهذا استطاعت الحوسبة أن تذهب بعيدا بهذه الزيادة الضئيلة في القدرة. أما السعة وعرض النطاق فلم يقطعا إلا نحو 12x. لذلك في كل جيل تستطيع وحدات الحساب أن تلتهم البيانات أسرع مما تستطيع الذاكرة إيصالها، وبهامش يتسع في كل مرة.
Two-decade growth rates of the three resources (Gholami et al., 2024)معدلات نمو الموارد الثلاثة على مدى عقدين (Gholami et al., 2024)
- Peak server FLOPSذروة FLOPS للخوادم
- 3.0x every two years3.0x كل سنتين
- DRAM bandwidthعرض نطاق DRAM
- 1.6x every two years1.6x كل سنتين
- Interconnect bandwidthعرض نطاق الربط البيني
- 1.4x every two years1.4x كل سنتين
Gholami and colleagues measured those three rates over two decades of FLOPS, DRAM bandwidth and interconnect bandwidth, and they conclude that memory, not compute, is now the primary bottleneck for AI serving (Gholami et al., 2024). They call it the memory wall.
قاس Gholami وزملاؤه هذه المعدلات الثلاثة على مدى عقدين لكل من FLOPS وعرض نطاق DRAM وعرض نطاق الربط البيني (interconnect)، واستنتجوا أن الذاكرة، لا الحوسبة، أصبحت الآن عنق الزجاجة الأساسي في خدمة نماذج الذكاء الاصطناعي (Gholami et al., 2024). ويسمّون ذلك جدار الذاكرة (memory wall).
Why bandwidth matters: the memory wallلماذا يهم عرض النطاق: جدار الذاكرة
Every inference streams weights and activations from the GPU's high-bandwidth memory (HBM) into the compute units. Memory bandwidth is the rate of that stream. If the chip can do 990 trillion operations per second but fetch only 3.35 trillion bytes per second, then it must perform about 295 operations on every byte it fetches to stay busy. A layer that does less arithmetic per byte than that sits idle, waiting for memory. The threshold is called the arithmetic intensity a workload needs to be compute bound.
كل عملية استدلال (inference) تنقل الأوزان والتنشيطات كتيار من الذاكرة عالية عرض النطاق (high-bandwidth memory، أي HBM) في الـ GPU إلى وحدات الحساب. وعرض نطاق الذاكرة (memory bandwidth) هو معدل هذا التيار. إذا كانت الشريحة قادرة على 990 تريليون عملية في الثانية لكنها لا تجلب إلا 3.35 تريليون بايت في الثانية، فعليها أن تنفذ نحو 295 عملية على كل بايت تجلبه حتى تبقى مشغولة. والطبقة التي تنفذ حسابا أقل من ذلك لكل بايت تبقى خاملة تنتظر الذاكرة. هذه العتبة تسمى الكثافة الحسابية (arithmetic intensity) التي يحتاجها عبء العمل ليكون محدودا بالحوسبة (compute bound).
Worked exampleمثال محلول
Compute versus bandwidth on an H100الحوسبة مقابل عرض النطاق على H100
Operations available per secondالعمليات المتاحة في الثانية
990 × 10^12 dense FP16 operations per second (NVIDIA H100 page, dense half of 1,979).990 × 10^12 عملية FP16 كثيفة في الثانية (صفحة NVIDIA H100، النصف الكثيف من 1,979).Bytes available per secondالبايتات المتاحة في الثانية
3.35 × 10^12 bytes per second from HBM3 (NVIDIA's figure for the 80 GB part; the slide plots 3,430).3.35 × 10^12 بايت في الثانية من HBM3 (رقم NVIDIA لنسخة 80 GB، بينما ترسم الشريحة 3,430).Break-even intensityكثافة التعادل
990 / 3.35 ≈ 295 operations per byte. Below this, memory bounds the chip; above it, compute does.990 / 3.35 ≈ 295 عملية لكل بايت. تحت هذه القيمة تحدّ الذاكرة أداء الشريحة، وفوقها تحدّه الحوسبة.Compare with LLM decodingقارن مع فك ترميز LLM
Generating one token of an LLM touches every weight once. Each FP16 weight is 2 bytes and does one MAC, so about 2 operations per 2 bytes, roughly 1 operation per byte at batch size one.توليد رمز (token) واحد من LLM يلمس كل وزن مرة واحدة. كل وزن FP16 يشغل 2 بايت وينفذ عملية MAC واحدة، أي نحو 2 عملية لكل 2 بايت، أي تقريبا 1 عملية لكل بايت عند حجم دفعة (batch size) يساوي واحدا.Resultالنتيجة
About 1 operation per byte against a 295 threshold. Single-stream decoding uses well under one percent of the H100's arithmetic; bandwidth sets the token rate. This is a simplified roofline argument that ignores caches and batching, but the conclusion holds for serving.نحو 1 عملية لكل بايت مقابل عتبة 295. فك الترميز لتيار واحد يستخدم أقل بكثير من واحد بالمئة من قدرة الحساب في H100، وعرض النطاق هو ما يحدد معدل توليد الرموز. هذه حجة roofline مبسطة تتجاهل الذاكرات المخبئية (caches) والتجميع في دفعات (batching)، لكن الاستنتاج يبقى صحيحا في الخدمة (serving).
Tie back to the LLM curve: capacity, not TOPS, sets the minimum machineالعودة إلى منحنى LLM: السعة، لا TOPS، هي التي تحدد أصغر آلة ممكنة
Part 02 ended with model size outrunning GPU memory. Put the two lines together. Megatron-Turing NLG has 530 billion parameters (Smith et al., 2022). GPU memory grew 12x over the eight years from 2016 to 2024; in roughly half that time, from the Transformer of 2017 to MT-NLG in 2021, LLM size grew from 0.05B to 530B, about 10,000x. The hardware pillar cannot close that by itself.
انتهى الجزء 02 بأن حجم النموذج (model size) تجاوز ذاكرة الـ GPU. ضع الخطين معا. يملك Megatron-Turing NLG عدد 530 مليار معامل (Smith et al., 2022). نمت ذاكرة الـ GPU بمقدار 12x خلال ثماني سنوات من 2016 إلى 2024، بينما في نحو نصف هذه المدة، من Transformer عام 2017 إلى MT-NLG عام 2021، نما حجم نماذج LLM من 0.05B إلى 530B، أي نحو 10,000x. ركيزة العتاد لا تستطيع سد هذه الفجوة وحدها.
Worked exampleمثال محلول
How many GPUs hold MT-NLG's weightsكم وحدة GPU تلزم لحمل أوزان MT-NLG
Bytes of weights at FP16بايتات الأوزان بدقة FP16
530 × 10^9 parameters × 2 bytes = 1.06 × 10^12 bytes = 1.06 TB.530 × 10^9 معامل × 2 بايت = 1.06 × 10^12 بايت = 1.06 TB.A100 80 GB cardsبطاقات A100 بسعة 80 GB
1.06 TB / 80 GB = 13.25, so 14 cards before a single activation is stored.1.06 TB / 80 GB = 13.25، إذن 14 بطاقة قبل تخزين أي تنشيط واحد.B100 192 GB cardsبطاقات B100 بسعة 192 GB
1.06 TB / 192 GB = 5.5, so 6 cards. Four years of hardware progress cut the count by about 2.4x; the model side must do the rest.1.06 TB / 192 GB = 5.5، إذن 6 بطاقات. أربع سنوات من تقدم العتاد خفضت العدد بنحو 2.4x، وعلى جانب النموذج أن يتكفل بالباقي.Resultالنتيجة
Memory capacity, not TOPS, decides the smallest machine that can even load the model.سعة الذاكرة، لا TOPS، هي التي تقرر أصغر آلة تستطيع حتى تحميل النموذج.
Recall
Compute TOPS per watt for the A100 and the B100 from the slide values. How much did efficiency improve?احسب TOPS لكل واط لكل من A100 وB100 من قيم الشريحة. بكم تحسنت الكفاءة؟
Recall
Performance grew 94x from P100 to B100. By how much did power and memory grow, and what does that imply?نما الأداء 94 ضعفا من P100 إلى B100. بكم نمت القدرة والذاكرة، وماذا يعني ذلك؟
Quick checkاختبار سريع
From P100 (2016) to B100 (2024), dense FP16 performance grew about 94x. By roughly how much did board power grow?من P100 (2016) إلى B100 (2024) نما أداء FP16 الكثيف نحو 94x. بكم نمت قدرة البطاقة تقريبا؟
Quick checkاختبار سريع
An H100 is rated 990 dense FP16 TOPS, but single-stream LLM token decoding runs far below that. What is the most likely limiter?تُصنَّف H100 عند 990 TOPS بدقة FP16 الكثيفة، لكن فك ترميز رموز LLM لتيار واحد يعمل بأقل من ذلك بكثير. ما العامل المقيِّد الأرجح؟
Quick checkاختبار سريع
What does the word dense mean in NVIDIA's dense FP16 TOPS figure?ماذا تعني كلمة dense (كثيف) في رقم NVIDIA لأداء FP16 الكثيف بوحدة TOPS؟
The Snapdragon 845 of 2018 delivered 3 TOPS at about 9 W. The Snapdragon 8 Gen 1 of 2022 delivers 52 TOPS at about 10 W. Seventeen times the performance, essentially no extra power. Why is the power line flat when the cloud line climbed to 700 W? Because a phone is a sealed slab held against skin with no fan. Its sustained power is capped by heat, not by engineering ambition, so every gain must come from efficiency. That is the rule for the whole edge tier: the power envelope is the constraint, and performance per watt is the design metric.
قدمت Snapdragon 845 عام 2018 قدرة 3 TOPS عند نحو 9 W. وتقدم Snapdragon 8 Gen 1 عام 2022 قدرة 52 TOPS عند نحو 10 W. سبعة عشر ضعفا من الأداء، بلا قدرة إضافية تقريبا. لماذا خط القدرة مسطح بينما صعد الخط السحابي إلى 700 W؟ لأن الهاتف لوح مغلق يُمسك باليد ملاصقا للجلد ولا مروحة فيه. قدرته المستدامة محدودة بالحرارة، لا بطموح المهندسين، لذلك يجب أن يأتي كل تحسن من الكفاءة. هذه هي قاعدة مستوى الأجهزة الطرفية (edge) كله: غلاف القدرة (power envelope) هو القيد، والأداء لكل واط (performance per watt) هو مقياس التصميم.
Slides 19 to 21 show three families that each obey this rule in their own way. The Qualcomm Hexagon DSP and the Apple Neural Engine live inside phones and share a lid near 10 W. NVIDIA Jetson modules live in robots and industrial boxes that have a fan and a battery budget, so their power is allowed to climb with each tier. Explore all three, and the cloud and microcontroller tiers, before reading on.
تعرض الشرائح من 19 إلى 21 ثلاث عائلات تلتزم كل منها بهذه القاعدة بطريقتها. معالج Hexagon DSP من Qualcomm وApple Neural Engine يعيشان داخل الهواتف ويشتركان في سقف قريب من 10 W. أما وحدات Jetson من NVIDIA فتعيش في الروبوتات وصناديق الأنظمة الصناعية التي فيها مروحة وميزانية بطارية، لذلك يُسمح لقدرتها أن ترتفع مع كل مستوى. استكشف العائلات الثلاث، ومعها المستوى السحابي ومستوى المتحكمات الدقيقة، قبل أن تكمل القراءة.
NVIDIA data center, dense FP16 TOPS (slide 18)مراكز بيانات NVIDIA، قيم TOPS بدقة FP16 الكثيفة (dense) (الشريحة 18)
Values are the slide figures. Compare within one family only: cloud numbers are dense FP16, Jetson Xavier and Orin are INT8 (Orin sparse) while Nano and TX2 are FP16 FLOPS, Qualcomm sums INT8 across CPU, GPU and Hexagon, Apple states no precision, and MCUs are rated in integer DMIPS, which is not an operations-per-second figure at all.القيم هي أرقام الشرائح. قارن داخل العائلة الواحدة فقط: أرقام السحابة بدقة FP16 الكثيفة، وJetson Xavier وOrin بدقة INT8 (وOrin متناثرة) بينما Nano وTX2 بوحدة FP16 FLOPS، وQualcomm تجمع INT8 عبر CPU وGPU وHexagon، وApple لا تذكر الدقة العددية، أما المتحكمات الدقيقة فتقاس بـ DMIPS الصحيحة، وهي ليست رقمًا لعدد العمليات في الثانية أصلًا.
Qualcomm Hexagon: seventeen times the work under the same lidQualcomm Hexagon: سبعة عشر ضعفا من العمل تحت السقف نفسه
Hexagon began as a digital signal processor for audio and camera pipelines. Qualcomm turned it into what its Snapdragon 888 brief calls a "fused AI-accelerator architecture": a tensor accelerator, vector extensions and a scalar unit sharing memory, supporting INT8, INT16 and FP16. The brief claims 26 TOPS for the whole AI Engine and "up to 3 times performance per watt improvement" over the 865; the 8 Gen 1 brief claims "up to 4x faster" and "best performance-per-watt in Snapdragon history" (Qualcomm product briefs). Notice the vendor language: every headline is a ratio to power. The products on the slide are the Qualcomm Robotics RB5 platform (865 class, 15 TOPS), the Galaxy Tab with the 888+ and the Galaxy Z Fold with the 8+ Gen 1.
بدأ Hexagon كمعالج إشارات رقمية لمسارات معالجة الصوت والكاميرا. ثم حولته Qualcomm إلى ما يسميه ملخص منتج Snapdragon 888 «معمارية مسرّع ذكاء اصطناعي مدمجة» (fused AI-accelerator architecture): مسرّع موترات (tensor accelerator)، وامتدادات متجهية (vector)، ووحدة قياسية (scalar) تتشارك الذاكرة، مع دعم INT8 وINT16 وFP16. يدّعي الملخص 26 TOPS لمحرك الذكاء الاصطناعي (AI Engine) كاملا و«تحسنا يصل إلى 3 أضعاف في الأداء لكل واط» مقارنة بـ 865، ويدّعي ملخص 8 Gen 1 أنه «أسرع بما يصل إلى 4 أضعاف» وأنه يقدم «أفضل أداء لكل واط في تاريخ Snapdragon» (ملخصات منتجات Qualcomm). لاحظ لغة الشركة: كل عنوان رئيسي هو نسبة إلى القدرة. المنتجات في الشريحة هي منصة Qualcomm Robotics RB5 (من فئة 865، 15 TOPS)، وجهاز Galaxy Tab بمعالج 888+، وجهاز Galaxy Z Fold بمعالج 8+ Gen 1.
| Partالشريحة | TOPSTOPS | Power Wالقدرة W | Memory GBالذاكرة GB | TOPS/WTOPS/W |
|---|---|---|---|---|
| Snapdragon 845Snapdragon 845 | 33 | 99 | 44 | 0.330.33 |
| Snapdragon 855Snapdragon 855 | 77 | 1010 | 88 | 0.700.70 |
| Snapdragon 865Snapdragon 865 | 1515 | 1010 | 1212 | 1.51.5 |
| Snapdragon 888Snapdragon 888 | 2626 | 1010 | 1616 | 2.62.6 |
| Snapdragon 8 Gen 1Snapdragon 8 Gen 1 | 5252 | 1010 | 1616 | 5.25.2 |
Worked exampleمثال محلول
Why the phone line is flatلماذا خط الهاتف مسطح
Thermal budgetالميزانية الحرارية
A fanless phone can sustain roughly 10 W before the case gets too hot to hold, so that number is fixed by physics, not by the chip roadmap.الهاتف بلا مروحة يستطيع أن يحافظ على نحو 10 W قبل أن يسخن غلافه بحيث لا يمكن الإمساك به، لذلك هذا الرقم تحدده الفيزياء، لا خارطة طريق الشرائح.Efficiency of the endpointsكفاءة الطرفين
Snapdragon 845: 3 / 9 = 0.33 TOPS/W. Snapdragon 8 Gen 1: 52 / 10 = 5.2 TOPS/W.Snapdragon 845: 3 / 9 = 0.33 TOPS/W. Snapdragon 8 Gen 1: 52 / 10 = 5.2 TOPS/W.Ratioالنسبة
5.2 / 0.33 ≈ 16x efficiency, which is 17x performance divided by 1.1x power.5.2 / 0.33 ≈ 16x في الكفاءة، وهي 17x في الأداء مقسومة على 1.1x في القدرة.Resultالنتيجة
All of the gain is efficiency. Under a fixed lid, TOPS per watt is the only lever.كل التحسن جاء من الكفاءة. تحت سقف ثابت، TOPS لكل واط هي الرافعة الوحيدة.
Apple Neural Engine: the same lesson from a different vendorApple Neural Engine: الدرس نفسه من شركة مختلفة
Apple describes the Neural Engine as an energy-efficient, high-throughput engine for ML inference on its own silicon. Its newsroom gives the per-generation numbers the slide plots: 600 billion operations per second for the A11 in 2017, 5 trillion for the A12, 11 trillion for the 16-core A14, 15.8 trillion for the A15 and "nearly 17 trillion" for the A16 (Apple Newsroom). The A17 Pro's 35 TOPS comes from Apple's 2023 event rather than the newsroom text, which only says "up to 2x faster". The products on the slide span an iPhone (A14), an iPad (A15) and an iMac with the M1 Max, the same engine design scaled up.
تصف Apple المحرك العصبي (Neural Engine) بأنه محرك موفر للطاقة وعالي الإنجاز للاستدلال (inference) في تعلم الآلة على شرائحها الخاصة. ويعطي مركزها الإخباري أرقام كل جيل التي ترسمها الشريحة: 600 مليار عملية في الثانية لـ A11 عام 2017، و5 تريليونات لـ A12، و11 تريليونا لـ A14 ذات النوى الـ 16، و15.8 تريليون لـ A15، و«قرابة 17 تريليونا» لـ A16 (Apple Newsroom). أما رقم 35 TOPS لـ A17 Pro فمصدره حدث Apple عام 2023 لا نص المركز الإخباري، الذي يقول فقط «أسرع بما يصل إلى الضعفين». والمنتجات في الشريحة تشمل iPhone (A14) وiPad (A15) وiMac بشريحة M1 Max، أي تصميم المحرك نفسه بعد تكبيره.
| Chipالشريحة | TOPSTOPS | Power Wالقدرة W | Memory GBالذاكرة GB | TOPS/WTOPS/W |
|---|---|---|---|---|
| A11 (2017)A11 (2017) | 0.60.6 | 88 | 33 | 0.0750.075 |
| A12 (2018)A12 (2018) | 55 | 66 | 44 | 0.830.83 |
| A13 (2019)A13 (2019) | 66 | 66 | 44 | 1.01.0 |
| A14 (2020)A14 (2020) | 1111 | 66 | 66 | 1.831.83 |
| A15 (2021)A15 (2021) | 15.815.8 | 66 | 66 | 2.632.63 |
| A16 (2022)A16 (2022) | 1717 | 88 | 66 | 2.132.13 |
| A17 Pro (2023)A17 Pro (2023) | 3535 | not plottedغير مرسومة | 88 | not computableلا يمكن حسابها |
From A11 to A17 the engine gained about 58x in throughput while the estimated power sat between 6 and 8 W. Two vendors, two architectures, one shape: a rising performance line under a flat power line.
من A11 إلى A17 كسب المحرك نحو 58x في معدل الإنجاز (throughput) بينما بقيت القدرة المقدرة بين 6 و8 W. شركتان، ومعماريتان، وشكل واحد: خط أداء صاعد تحت خط قدرة مسطح.
NVIDIA Jetson: a ladder instead of a lidNVIDIA Jetson: سلّم بدلا من سقف
A Jetson is a complete system on module: GPU, CPU, memory, power management and high-speed interfaces on one board that plugs into a carrier. It targets robots, drones and industrial edge boxes, and those have what a phone lacks: a fan and a battery or wall power. So NVIDIA sells a ladder of tiers, each with a configurable power range, and the slide plots the top of each range: Nano at 5 to 10 W, TX2 at 7.5 to 15 W, Xavier NX at 10 to 20 W, AGX Xavier at up to 30 W, AGX Orin 32GB at 15 to 40 W and AGX Orin 64GB at 15 to 60 W (NVIDIA Jetson pages, Connect Tech comparison).
وحدة Jetson هي نظام كامل على وحدة (system on module): GPU وCPU وذاكرة وإدارة للقدرة وواجهات عالية السرعة على لوحة واحدة تُركّب على لوحة حاملة (carrier). وهي تستهدف الروبوتات والطائرات المسيّرة وصناديق الأنظمة الطرفية الصناعية، وهذه تملك ما يفتقده الهاتف: مروحة، وبطارية أو تغذية من مقبس الجدار. لذلك تبيع NVIDIA سلّما من المستويات، لكل منها نطاق قدرة قابل للضبط، وترسم الشريحة أعلى كل نطاق: Nano من 5 إلى 10 W، وTX2 من 7.5 إلى 15 W، وXavier NX من 10 إلى 20 W، وAGX Xavier حتى 30 W، وAGX Orin 32GB من 15 إلى 40 W، وAGX Orin 64GB من 15 إلى 60 W (صفحات NVIDIA Jetson، ومقارنة Connect Tech).
| Moduleالوحدة | TOPSTOPS | Power Wالقدرة W | Memory GBالذاكرة GB | TOPS/WTOPS/W |
|---|---|---|---|---|
| NanoNano | 0.50.5 | 1010 | 44 | 0.050.05 |
| TX2TX2 | 1.31.3 | 1515 | 44 | 0.0870.087 |
| Xavier NXXavier NX | 2121 | 2020 | 88 | 1.051.05 |
| AGX XavierAGX Xavier | 3232 | 3030 | 1616 | 1.071.07 |
| AGX Orin 32GBAGX Orin 32GB | 200200 | 4040 | 3232 | 5.05.0 |
| AGX Orin 64GBAGX Orin 64GB | 275275 | 6060 | 6464 | 4.64.6 |
Here performance grew about 550x (0.5 to 275 TOPS) while power grew 6x, so efficiency still rose about 90x. The difference from the phone families is not the efficiency trend but the freedom to spend more watts when the application can afford them. A warehouse robot on a 60 W budget gets a different chip than a drone on 10 W.
هنا نما الأداء نحو 550x (من 0.5 إلى 275 TOPS) بينما نمت القدرة 6x، لذلك ارتفعت الكفاءة مع ذلك نحو 90x. الفرق عن عائلتي الهواتف ليس في اتجاه الكفاءة، بل في حرية إنفاق واطات أكثر عندما يستطيع التطبيق تحملها. روبوت مستودع بميزانية 60 W يحصل على شريحة مختلفة عن طائرة مسيّرة بميزانية 10 W.
Three families, one lessonثلاث عائلات، ودرس واحد
- Snapdragon 845 to 8 Gen 1من Snapdragon 845 إلى 8 Gen 1
- 17x performance, 1.1x power, fixed lid17x في الأداء، و1.1x في القدرة، وسقف ثابت
- Apple A11 to A17من Apple A11 إلى A17
- 58x performance, about 1x power, fixed lid58x في الأداء، ونحو 1x في القدرة، وسقف ثابت
- Jetson Nano to AGX Orin 64GBمن Jetson Nano إلى AGX Orin 64GB
- 550x performance, 6x power, ladder of tiers550x في الأداء، و6x في القدرة، وسلّم من المستويات
The trap: TOPS from different vendors are not one axisالفخ: أرقام TOPS من شركات مختلفة ليست على محور واحد
It is tempting to line up the A17 Pro at 35, the Snapdragon 888 at 26 and the Jetson AGX Orin at 275 and rank them. Do not. NVIDIA's Xavier and Orin figures are INT8 (Orin sparse INT8), while Nano and TX2 are FP16 FLOPS (NVIDIA Jetson pages). The cloud numbers on slide 18 are dense FP16. Qualcomm sums INT8 throughput across the CPU, GPU and Hexagon together. Apple does not state a precision at all. Sze, Chen, Yang and Emer titled a whole paper on this: "TOPS/W (Alone) Considered Harmful". Their point is that peak numbers say nothing about utilization on a real network; a fair comparison needs the same precision, the same workload and a measured, not theoretical, throughput (Sze et al., 2020).
من المغري أن تصف A17 Pro عند 35، وSnapdragon 888 عند 26، وJetson AGX Orin عند 275 ثم ترتبها. لا تفعل. أرقام Xavier وOrin من NVIDIA هي INT8 (وOrin بدقة INT8 مع التفرق)، بينما رقما Nano وTX2 هما FLOPS بدقة FP16 (صفحات NVIDIA Jetson). والأرقام السحابية في الشريحة 18 هي FP16 كثيفة. وQualcomm تجمع إنجاز INT8 عبر CPU وGPU وHexagon معا. وApple لا تذكر الدقة العددية (precision) أصلا. وقد كتب Sze وChen وYang وEmer ورقة كاملة عن هذا بعنوان «TOPS/W (Alone) Considered Harmful». وفكرتهم أن الأرقام القصوى لا تقول شيئا عن نسبة الاستغلال (utilization) على شبكة حقيقية، وأن المقارنة العادلة تحتاج الدقة نفسها، وعبء العمل نفسه، ومعدل إنجاز مقاسا لا نظريا (Sze et al., 2020).
Recall
The Snapdragon 845 and the 8 Gen 1 both run near 10 W. What changed between them, and by how much?تعمل Snapdragon 845 و8 Gen 1 كلتاهما قرب 10 W. ما الذي تغير بينهما، وبكم؟
Recall
How does the Jetson family differ from phone chips in the power column, and why?كيف تختلف عائلة Jetson عن شرائح الهواتف في عمود القدرة، ولماذا؟
Recall
Why can you not rank a 35 TOPS Apple A17 Pro against a 26 TOPS Snapdragon 888 from those numbers alone?لماذا لا يمكنك ترتيب Apple A17 Pro بقدرة 35 TOPS مقابل Snapdragon 888 بقدرة 26 TOPS من هذين الرقمين وحدهما؟
Quick checkاختبار سريع
Across Snapdragon 845 to 8 Gen 1, performance rose about 17x while power stayed near 10 W. What forced that pattern?عبر أجيال Snapdragon من 845 إلى 8 Gen 1 ارتفع الأداء نحو 17x بينما بقيت القدرة قرب 10 W. ما الذي فرض هذا النمط؟
Quick checkاختبار سريع
Which family on slides 19 to 21 shows power scaling up together with performance?أي عائلة في الشرائح من 19 إلى 21 تُظهر تصاعد القدرة مع الأداء معا؟
Quick checkاختبار سريع
Why are TOPS figures from different vendors not directly comparable?لماذا لا يمكن مقارنة أرقام TOPS من شركات مختلفة مقارنة مباشرة؟
The STM32F746NG is one chip with a Cortex-M7 core at 216 MHz, 1 MB of flash and 320 kB of SRAM, drawing about 360 mW. It is the "off-the-shelf commercial microcontroller" on which MCUNet ran ImageNet-class vision in part 01 (slide 7). Against the smallest Jetson, the Nano at 10 W and 4 GB, it has 28x less power and 12,500x less memory. This is the tier that TinyML is named for.
STM32F746NG شريحة واحدة فيها نواة Cortex-M7 بتردد 216 MHz، و1 MB من ذاكرة flash، و320 kB من SRAM، وتستهلك نحو 360 mW. إنها «المتحكم الدقيق التجاري الجاهز» (off-the-shelf commercial microcontroller) الذي شغّل عليه MCUNet رؤية حاسوبية بمستوى ImageNet في الجزء 01 (الشريحة 7). ومقارنة بأصغر Jetson، أي Nano بقدرة 10 W و4 GB، فقدرتها أقل بمقدار 28x وذاكرتها أقل بمقدار 12,500x. هذا هو المستوى الذي سُمي TinyML باسمه.
A microcontroller is a compact integrated circuit designed for embedded systems, integrating a processor, memory and input/output peripherals on a single chip. The MCUNet paper adds what the definition implies: these are "bare-metal devices that do not have an operating system, nor do they have DRAM" (Lin et al., 2020). Everything a model needs, weights and activations alike, must live in the on-chip flash and SRAM, because there is nothing else.
المتحكم الدقيق (microcontroller) دائرة متكاملة مدمجة مصممة للأنظمة المضمنة، تجمع معالجا وذاكرة وطرفيات إدخال وإخراج على شريحة واحدة. وتضيف ورقة MCUNet ما يلزم من هذا التعريف: هذه «أجهزة تعمل مباشرة على العتاد (bare-metal) بلا نظام تشغيل ولا ذاكرة DRAM» (Lin et al., 2020). كل ما يحتاجه النموذج، أوزانا وتنشيطات، يجب أن يعيش في ذاكرتي flash وSRAM على الشريحة، لأنه لا يوجد شيء آخر.
The units drop two prefixesالوحدات تنزل بادئتين
Slide 22 quietly changes the axes. Power is in milliwatts, not watts. Memory is in kilobytes, not gigabytes. Performance is in DMIPS, not TOPS. Each change is a signal that this tier is a different world, and the last one deserves the most care.
تغيّر الشريحة 22 المحاور بهدوء. القدرة بالميلي واط لا بالواط. والذاكرة بالكيلوبايت لا بالغيغابايت. والأداء بوحدة DMIPS لا TOPS. كل تغيير إشارة إلى أن هذا المستوى عالم مختلف، والتغيير الأخير يستحق أكبر قدر من الانتباه.
| Boardاللوحة | Coreالنواة | Clock MHzالتردد MHz | DMIPSDMIPS | Power mWالقدرة mW | SRAM kBSRAM kB | FlashFlash | DMIPS/mWDMIPS/mW |
|---|---|---|---|---|---|---|---|
| Arduino ZeroArduino Zero | Cortex-M0+Cortex-M0+ | 48 | 45 | 6 | 32 | 256 kB | 7.5 |
| Arduino DueArduino Due | Cortex-M3Cortex-M3 | 84 | 158 | 26 | 96 | 512 kB | 6.1 |
| STM32F407VGSTM32F407VG | Cortex-M4Cortex-M4 | 168 | 210 | 132 | 192 (slide says 196)192 (تذكر الشريحة 196) | 1 MB | 1.6 |
| STM32F746NGSTM32F746NG | Cortex-M7Cortex-M7 | 216 | 462 | 360 | 320 | 1 MB | 1.3 |
The core data come from the vendors: the Arduino Zero's SAMD21 is a Cortex-M0+ at 48 MHz with 32 kB SRAM and 256 kB flash; the Due's SAM3X8E is a Cortex-M3 at 84 MHz with 96 kB SRAM; the STM32F407VG is a Cortex-M4 at 168 MHz rated 210 DMIPS with 192 kB SRAM plus 4 kB backup and 1 MB flash; the STM32F746NG is a Cortex-M7 at 216 MHz rated 462 DMIPS with 320 kB SRAM and 1 MB flash (Arduino, Keil and ST documentation).
بيانات النوى مأخوذة من الشركات المصنعة: شريحة SAMD21 في Arduino Zero نواتها Cortex-M0+ بتردد 48 MHz مع 32 kB من SRAM و256 kB من flash، وشريحة SAM3X8E في Due نواتها Cortex-M3 بتردد 84 MHz مع 96 kB من SRAM، وSTM32F407VG نواتها Cortex-M4 بتردد 168 MHz ومصنفة عند 210 DMIPS مع 192 kB من SRAM إضافة إلى 4 kB احتياطية و1 MB من flash، وSTM32F746NG نواتها Cortex-M7 بتردد 216 MHz ومصنفة عند 462 DMIPS مع 320 kB من SRAM و1 MB من flash (وثائق Arduino وKeil وST).
What DMIPS measures, and what it does notما الذي يقيسه DMIPS، وما الذي لا يقيسه
Dhrystone is a synthetic benchmark that Reinhold Weicker published in 1984 to exercise typical systems code: integer arithmetic, string handling, pointer chasing, no floating point (Weicker, 1984). A DMIPS is Dhrystones per second divided by 1757, the score of a VAX 11/780, which was nominally a one-MIPS machine. Arm publishes DMIPS per MHz for each core so that a clock frequency turns into a rating: Cortex-M0+ 0.95, Cortex-M3 and M4 1.25, Cortex-M7 2.14 (Arm Cortex-M comparison table).
Dhrystone اختبار أداء اصطناعي (benchmark) نشره Reinhold Weicker عام 1984 ليحاكي شيفرة الأنظمة المعتادة: حساب بالأعداد الصحيحة، ومعالجة سلاسل نصية، وتتبع مؤشرات (pointers)، بلا أي فاصلة عائمة (Weicker, 1984). ووحدة DMIPS هي عدد Dhrystones في الثانية مقسوما على 1757، وهي نتيجة حاسوب VAX 11/780 الذي كان اسميا آلة بسرعة MIPS واحد. وتنشر Arm قيمة DMIPS لكل MHz لكل نواة حتى يتحول التردد إلى تصنيف: Cortex-M0+ تساوي 0.95، وCortex-M3 وM4 تساويان 1.25، وCortex-M7 تساوي 2.14 (جدول مقارنة Arm Cortex-M).
Worked exampleمثال محلول
Rebuilding the slide's DMIPS from Arm's tableإعادة بناء أرقام DMIPS في الشريحة من جدول Arm
STM32F746, Cortex-M7STM32F746، نواة Cortex-M7
2.14 × 216 = 462.2, matching the slide's 462.2.14 × 216 = 462.2، وهو يطابق رقم الشريحة 462.STM32F407, Cortex-M4STM32F407، نواة Cortex-M4
1.25 × 168 = 210, matching the slide.1.25 × 168 = 210، وهو يطابق الشريحة.Arduino Zero, Cortex-M0+Arduino Zero، نواة Cortex-M0+
0.95 × 48 = 45.6, matching the slide's 45.0.95 × 48 = 45.6، وهو يطابق رقم الشريحة 45.Arduino Due, Cortex-M3Arduino Due، نواة Cortex-M3
1.25 × 84 = 105, but the slide says 158, which implies about 1.88 DMIPS/MHz. That is an optimized-compiler score; Arm notes that Dhrystone results depend heavily on compiler switches.1.25 × 84 = 105، لكن الشريحة تقول 158، وهذا يعني نحو 1.88 DMIPS/MHz. هذه نتيجة مترجم محسَّن (optimized compiler)، وتنبه Arm إلى أن نتائج Dhrystone تعتمد كثيرا على خيارات المترجم.Resultالنتيجة
DMIPS is a core property times a clock. It says nothing about multiply-accumulate throughput.DMIPS خاصية للنواة مضروبة في التردد. ولا تقول شيئا عن معدل إنجاز عمليات الضرب والتجميع (MAC).
So why can you not convert DMIPS into a small TOPS? Because the benchmark contains no MACs, and a neural network is almost nothing but MACs. You can only bound the MCU from above by counting what its SIMD unit could do at best.
فلماذا لا يمكنك تحويل DMIPS إلى TOPS صغيرة؟ لأن اختبار الأداء لا يحتوي على أي عملية MAC، والشبكة العصبية تكاد تكون كلها عمليات MAC. كل ما تستطيعه هو وضع حد أعلى للمتحكم الدقيق بحساب أفضل ما تستطيع وحدة SIMD فيه أن تفعله.
Worked exampleمثال محلول
An upper bound on microcontroller TOPSحد أعلى لـ TOPS في المتحكم الدقيق
Best-case MAC rateمعدل MAC في أفضل حالة
A Cortex-M7 can issue at most two 16-bit MACs per cycle with its SIMD instructions: 216 × 10^6 × 2 = 4.3 × 10^8 MACs per second.نواة Cortex-M7 تستطيع إصدار عمليتي MAC بعرض 16 بت على الأكثر في كل دورة باستخدام تعليمات SIMD: 216 × 10^6 × 2 = 4.3 × 10^8 عملية MAC في الثانية.Convert to operationsالتحويل إلى عمليات
4.3 × 10^8 × 2 = 8.6 × 10^8 operations per second, about 0.0009 TOPS.4.3 × 10^8 × 2 = 8.6 × 10^8 عملية في الثانية، أي نحو 0.0009 TOPS.Compare with the edge tierالمقارنة مع المستوى الطرفي
Jetson Nano at 0.5 TOPS is about 580x higher; Snapdragon 8 Gen 1 at 52 TOPS about 60,000x.Jetson Nano عند 0.5 TOPS أعلى بنحو 580x، وSnapdragon 8 Gen 1 عند 52 TOPS أعلى بنحو 60,000x.Resultالنتيجة
Even after a generous conversion, the MCU sits three to five orders of magnitude below the accelerators. The design goal at this tier is fitting the workload in memory, not maximizing TOPS.حتى بعد تحويل سخي، يقع المتحكم الدقيق تحت المسرّعات بثلاث إلى خمس مراتب عشرية. وهدف التصميم في هذا المستوى هو أن يتسع عبء العمل في الذاكرة، لا تعظيم TOPS.
One more pattern in the table is worth noticing: DMIPS per milliwatt falls as the boards get faster, from 7.5 on the Zero to 1.3 on the F746. The faster core pays more energy per instruction. At this tier nobody buys the F746 for efficiency; they buy it because 320 kB is the smallest SRAM in which a useful vision model can breathe.
ونمط آخر في الجدول يستحق الانتباه: قيمة DMIPS لكل ميلي واط تنخفض كلما أصبحت اللوحات أسرع، من 7.5 في Zero إلى 1.3 في F746. النواة الأسرع تدفع طاقة أكبر لكل تعليمة. في هذا المستوى لا أحد يشتري F746 من أجل الكفاءة، بل لأن 320 kB هي أصغر SRAM يستطيع فيها نموذج رؤية مفيد أن يتنفس.
Recall
Define a microcontroller in one sentence and give the STM32F746's two memory numbers.عرّف المتحكم الدقيق في جملة واحدة واذكر رقمي الذاكرة في STM32F746.
Recall
What does DMIPS measure, and why can it not be compared with TOPS?ماذا تقيس DMIPS، ولماذا لا يمكن مقارنتها مع TOPS؟
Recall
Compute the DMIPS of a Cortex-M7 at 216 MHz using Arm's 2.14 DMIPS/MHz, and the ratio of a phone's 4 GB to the F746's 320 kB.احسب DMIPS لنواة Cortex-M7 بتردد 216 MHz باستخدام قيمة Arm البالغة 2.14 DMIPS/MHz، والنسبة بين 4 GB في الهاتف و320 kB في F746.
Quick checkاختبار سريع
What does the DMIPS figure on slide 22 measure?ماذا يقيس رقم DMIPS في الشريحة 22؟
Quick checkاختبار سريع
Which of the four boards is the Cortex-M7 device that MCUNet targeted in part 01?أي اللوحات الأربع هي جهاز Cortex-M7 الذي استهدفه MCUNet في الجزء 01؟
Take ResNet-50, the workhorse image classifier from part 01, with 25,557,032 parameters (torchvision). At FP32 its weights are 102 MB; at FP16, 51 MB; at INT8, 25.6 MB. A cloud GPU holds the FP32 version 783 times over in its HBM. A phone stores it in 256 GB of flash with room for thousands of copies. A microcontroller's 1 MB flash cannot hold even the INT8 version, which is 25.6x too big. Slide 23 turns this into three tiers with two numbers each, and the ratios between them are the thesis of the course.
خذ ResNet-50، مصنف الصور الأساسي من الجزء 01، بعدد 25,557,032 معاملا (torchvision). بدقة FP32 تبلغ أوزانه 102 MB، وبدقة FP16 تبلغ 51 MB، وبدقة INT8 تبلغ 25.6 MB. تتسع ذاكرة HBM في وحدة GPU سحابية لنسخة FP32 منه 783 مرة. ويخزنه الهاتف في 256 GB من flash مع متسع لآلاف النسخ. أما ذاكرة flash بسعة 1 MB في المتحكم الدقيق (microcontroller) فلا تتسع حتى لنسخة INT8، التي تكبرها بمقدار 25.6x. تحول الشريحة 23 ذلك إلى ثلاثة مستويات لكل منها رقمان، والنسب بينها هي أطروحة المقرر.
The lecture calls the tiers cloud AI, mobile AI and tiny AI, and gives each tier two budgets. Activation memory is the working memory that holds intermediate results during computation: 80 GB of HBM on an A100-class cloud GPU, 4 GB of DRAM on a phone, 320 kB of SRAM on the STM32F746. Weight storage is the persistent memory that holds the model: terabytes to petabytes in a data center, 256 GB of phone flash, 1 MB of on-chip flash.
تسمي المحاضرة المستويات الثلاثة cloud AI, mobile AI and tiny AI (الذكاء الاصطناعي السحابي والمحمول والدقيق)، وتعطي كل مستوى ميزانيتين. ذاكرة التنشيطات (activation memory) هي ذاكرة العمل التي تحمل النتائج الوسيطة أثناء الحساب: 80 GB من HBM في وحدة cloud GPU من فئة A100، و4 GB من DRAM في الهاتف، و320 kB من SRAM في STM32F746. وتخزين الأوزان (weight storage) هو الذاكرة الدائمة التي تحمل النموذج: من التيرابايتات إلى البيتابايتات في مركز البيانات، و256 GB من flash الهاتف، و1 MB من flash على الشريحة.
| Tierالمستوى | Example deviceجهاز مثال | Activation memoryذاكرة التنشيطات | Weight storageتخزين الأوزان | Memory vs tinyالذاكرة مقارنة بالدقيق | Storage vs tinyالتخزين مقارنة بالدقيق |
|---|---|---|---|---|---|
| Cloud AIالذكاء الاصطناعي السحابي (Cloud AI) | A100-class GPUوحدة GPU من فئة A100 | 80 GB | about 1 TB or moreنحو 1 TB أو أكثر | 250,000x | about 1,000,000xنحو 1,000,000x |
| Mobile AIالذكاء الاصطناعي المحمول (Mobile AI) | flagship phoneهاتف رائد | 4 GB | 256 GB | 12,500x | 256,000x |
| Tiny AIالذكاء الاصطناعي الدقيق (Tiny AI) | STM32F746STM32F746 | 320 kB | 1 MB | 1x | 1x |
Adjacent ratios worth memorizingنسب متجاورة تستحق الحفظ
- Cloud to mobile, activationمن السحابة إلى المحمول، التنشيطات
- 80 GB / 4 GB = 20x80 GB / 4 GB = 20x
- Mobile to tiny, activationمن المحمول إلى الدقيق، التنشيطات
- 4 GB / 320 kB = 12,500x4 GB / 320 kB = 12,500x
- Cloud to tiny, activationمن السحابة إلى الدقيق، التنشيطات
- 20 × 12,500 = 250,000x20 × 12,500 = 250,000x
- Cloud to mobile, storageمن السحابة إلى المحمول، التخزين
- about 1 TB / 256 GB ≈ 4x (taking the low end of TB/PB)نحو 1 TB / 256 GB ≈ 4x (بأخذ الحد الأدنى من نطاق TB/PB)
- Mobile to tiny, storageمن المحمول إلى الدقيق، التخزين
- 256 GB / 1 MB = 256,000x256 GB / 1 MB = 256,000x
MCUNet states the same gap in words: microcontroller memory is "3 orders of magnitude smaller than mobile devices, and 5-6 orders of magnitude smaller than cloud GPUs" (Lin et al., 2020). Its 2020 table used a V100 with 16 GB and an iPhone 11 with more than 64 GB; the slide updates the cloud and mobile columns to an 80 GB A100 and a 256 GB phone, while the tiny column is unchanged at 320 kB and 1 MB. The top tiers moved; the bottom did not.
يذكر MCUNet الفجوة نفسها بالكلمات: ذاكرة المتحكم الدقيق «أصغر بثلاث مراتب عشرية من الأجهزة المحمولة، وبخمس إلى ست مراتب عشرية من وحدات GPU السحابية» (Lin et al., 2020). استخدم جدوله عام 2020 وحدة V100 بسعة 16 GB وiPhone 11 بأكثر من 64 GB، بينما تحدّث الشريحة عمودي السحابة والمحمول إلى A100 بسعة 80 GB وهاتف بسعة 256 GB، ويبقى عمود المستوى الدقيق دون تغيير عند 320 kB و1 MB. المستويات العليا تحركت، والأدنى لم يتحرك.
Two budgets, not oneميزانيتان، لا ميزانية واحدة
The two rows on slide 23 are not interchangeable, and confusing them is the most common mistake in sizing a TinyML deployment. Storage holds the weights persistently, so what matters is the total model size, and on an MCU that budget is the read-only flash. Activation memory is the read-write scratch space used while a layer runs, so what matters is the peak across layers, because a layer's input and output tensors must coexist at the moment it executes. MCUNet puts it in one line: "SRAM constrains the activation size (read and write); Flash constrains the model size (read-only)". A model can fit in flash and still crash at runtime because one wide early layer's activations exceed SRAM, and a model with small activations can still be unloadable because its weights exceed flash.
الصفان في الشريحة 23 غير قابلين للتبادل، والخلط بينهما هو الخطأ الأكثر شيوعا عند تحجيم نشر TinyML. التخزين يحمل الأوزان بشكل دائم، لذلك ما يهم هو الحجم الكلي للنموذج، وفي المتحكم الدقيق هذه الميزانية هي ذاكرة flash للقراءة فقط. أما ذاكرة التنشيطات فهي مساحة مؤقتة للقراءة والكتابة تُستخدم أثناء تشغيل الطبقة، لذلك ما يهم هو الذروة عبر الطبقات، لأن موترات (tensors) الإدخال والإخراج للطبقة يجب أن تتواجد معا لحظة تنفيذها. ويلخصها MCUNet في سطر واحد: «SRAM تقيّد حجم التنشيطات (قراءة وكتابة)، وFlash تقيّد حجم النموذج (قراءة فقط)». قد يتسع النموذج في flash ومع ذلك ينهار أثناء التشغيل لأن تنشيطات طبقة مبكرة عريضة واحدة تتجاوز SRAM، وقد يكون نموذج ذو تنشيطات صغيرة غير قابل للتحميل أصلا لأن أوزانه تتجاوز flash.
| Quantityالكمية | Sizeالحجم | Cloud, 80 GB HBMالسحابة، 80 GB من HBM | Mobile, 256 GB flash and 4 GB DRAMالمحمول، 256 GB من flash و4 GB من DRAM | Tiny, 1 MB flash and 320 kB SRAMالدقيق، 1 MB من flash و320 kB من SRAM |
|---|---|---|---|---|
| FP32 weightsأوزان FP32 | 102.2 MB | yes, 783x headroomنعم، مع هامش 783x | yesنعم | no, 102x overلا، تتجاوز بمقدار 102x |
| FP16 weightsأوزان FP16 | 51.1 MB | yesنعم | yesنعم | no, 51x overلا، تتجاوز بمقدار 51x |
| INT8 weightsأوزان INT8 | 25.6 MB | yesنعم | yesنعم | no, 25.6x overلا، تتجاوز بمقدار 25.6x |
| Peak activation (MCUNet)ذروة التنشيطات (MCUNet) | 7.2 MB | yesنعم | yesنعم | no, 22.5x over 320 kB SRAMلا، تتجاوز 320 kB من SRAM بمقدار 22.5x |
Worked exampleمثال محلول
Two budgets, one model: MobileNetV2 at INT8 on the STM32F746ميزانيتان ونموذج واحد: MobileNetV2 بدقة INT8 على STM32F746
Storage checkفحص التخزين
MobileNetV2 INT8 weights are 3.4 MB (MCUNet Table 1). Against 1 MB of flash that is 3.4x over.أوزان MobileNetV2 بدقة INT8 تبلغ 3.4 MB (MCUNet، الجدول 1). ومقابل 1 MB من flash فهي تتجاوزها بمقدار 3.4x.Activation checkفحص التنشيطات
Its peak activation is 1.7 MB. Against 320 kB of SRAM that is 5.3x over.ذروة تنشيطاته 1.7 MB. ومقابل 320 kB من SRAM فهي تتجاوزها بمقدار 5.3x.What MCUNet didما فعله MCUNet
Co-designed the network (TinyNAS, a memory-aware architecture search) with the runtime (TinyEngine), cutting SRAM use by 3.5x and flash by 5.7x versus quantized MobileNetV2 (Lin et al., 2020).صمم الشبكة (TinyNAS، وهو بحث في المعماريات (architecture search) يراعي الذاكرة) بالتزامن مع بيئة التشغيل (TinyEngine)، فخفض استخدام SRAM بمقدار 3.5x واستخدام flash بمقدار 5.7x مقارنة بـ MobileNetV2 المكمّم (Lin et al., 2020).Resultالنتيجة
Both budgets had to be satisfied separately. Quantization alone (4x from FP32 to INT8) closes neither gap; the architecture and the runtime had to change too.كان لا بد من تلبية الميزانيتين كل على حدة. التكميم وحده (4x من FP32 إلى INT8) لا يسد أيا من الفجوتين، وكان لا بد أن تتغير المعمارية وبيئة التشغيل أيضا.
Why the rest of the course existsلماذا وُجد باقي المقرر
Put the two halves of this lecture side by side. The largest model in part 02, MT-NLG at 530B parameters, needs 1.06 TB of FP16 weights. The smallest tier here offers 1 MB. That is a factor of about one million, six orders of magnitude. GPU memory grew 12x in eight years, and phone memory grew 4x across the Snapdragon generations on slide 19. No hardware trend closes six orders of magnitude on any timescale that matters. So the model must change.
ضع نصفي هذه المحاضرة جنبا إلى جنب. أكبر نموذج في الجزء 02، وهو MT-NLG بعدد 530B معامل، يحتاج إلى 1.06 TB من أوزان FP16. وأصغر مستوى هنا يقدم 1 MB. هذا عامل يقارب المليون، أي ست مراتب عشرية. نمت ذاكرة الـ GPU بمقدار 12x في ثماني سنوات، ونمت ذاكرة الهاتف بمقدار 4x عبر أجيال Snapdragon في الشريحة 19. لا يوجد اتجاه في العتاد يسد ست مراتب عشرية في أي إطار زمني له معنى. لذلك يجب أن يتغير النموذج.
Worked exampleمثال محلول
530B at FP16 against each tier530B بدقة FP16 مقابل كل مستوى
Cloudالسحابة
1.06 TB / 80 GB = 13.25: fourteen A100s just for the weights, as computed in the first concept.1.06 TB / 80 GB = 13.25: أربع عشرة وحدة A100 للأوزان فقط، كما حسبنا في المفهوم الأول.Mobileالمحمول
1.06 TB / 256 GB = 4.1: does not fit even the phone's storage, let alone its 4 GB of working memory.1.06 TB / 256 GB = 4.1: لا يتسع حتى في تخزين الهاتف، فضلا عن ذاكرة العمل فيه البالغة 4 GB.Tinyالدقيق
1.06 TB / 1 MB = 1,060,000: a million times over.1.06 TB / 1 MB = 1,060,000: يتجاوزها مليون مرة.Resultالنتيجة
Every tier below the cloud rejects the model. Compression is not optional; it is the subject.كل مستوى تحت السحابة يرفض النموذج. الضغط (compression) ليس اختياريا، بل هو الموضوع نفسه.
Each later lecture is one lever on the model side of this gap. Pruning removes weights; quantization shrinks each remaining weight from 4 bytes to 1 or fewer; neural architecture search, including Once-for-All from part 01, designs networks under an explicit memory budget; knowledge distillation transfers a large model's accuracy into a small one; and algorithm and system co-design, as in TinyEngine, makes the runtime spend the budget wisely. Slide 24 credits the source of this framing: the deck follows Prof. Song Han's MIT 6.5940 course, TinyML and Efficient Deep Learning Computing, whose introductory lecture carries the same charts (MIT HAN Lab).
كل محاضرة لاحقة هي رافعة واحدة على جانب النموذج من هذه الفجوة. التقليم (pruning) يزيل أوزانا، والتكميم (quantization) يقلص كل وزن متبق من 4 بايت إلى 1 أو أقل، والبحث في المعماريات العصبية (neural architecture search)، ومنه Once-for-All من الجزء 01، يصمم شبكات تحت ميزانية ذاكرة صريحة، وتقطير المعرفة (knowledge distillation) ينقل دقة نموذج كبير إلى نموذج صغير، والتصميم المشترك للخوارزمية والنظام (algorithm and system co-design)، كما في TinyEngine، يجعل بيئة التشغيل تنفق الميزانية بحكمة. وتذكر الشريحة 24 مصدر هذا الإطار: العرض يتبع مقرر البروفيسور Song Han في MIT رقم 6.5940، TinyML and Efficient Deep Learning Computing، الذي تحمل محاضرته التمهيدية المخططات نفسها (MIT HAN Lab).
Recall
Give the six numbers on slide 23.اذكر الأرقام الستة في الشريحة 23.
Recall
Distinguish activation memory from weight storage and name the microcontroller component for each.ميّز بين ذاكرة التنشيطات وتخزين الأوزان، واذكر مكوّن المتحكم الدقيق المقابل لكل منهما.
Recall
Does INT8 ResNet-50 fit the tiny AI tier? Check both budgets.هل يتسع ResNet-50 بدقة INT8 في مستوى tiny AI؟ افحص الميزانيتين.
Quick checkاختبار سريع
Using 1 GB = 1,000,000 kB, what is the ratio of cloud AI activation memory (80 GB) to tiny AI (320 kB)?باعتبار 1 GB = 1,000,000 kB، ما نسبة ذاكرة التنشيطات في cloud AI (80 GB) إلى tiny AI (320 kB)؟
Quick checkاختبار سريع
A model's INT8 weights fit in an MCU's 1 MB flash, yet inference crashes. What is the most likely reason?أوزان نموذج بدقة INT8 تتسع في ذاكرة flash بسعة 1 MB في متحكم دقيق، ومع ذلك ينهار الاستدلال. ما السبب الأرجح؟
Quick checkاختبار سريع
On slide 23, which budget does the 256 GB figure for mobile AI describe?في الشريحة 23، أي ميزانية يصفها رقم 256 GB في mobile AI؟
Quick checkاختبار سريع
Why does the course turn to compression, quantization and NAS rather than waiting for hardware?لماذا يتجه المقرر إلى الضغط والتكميم وNAS بدلا من انتظار العتاد؟
Recapالخلاصة
If you remember nothing elseإن لم تتذكر شيئاً آخر فتذكّر هذا
- Slide 17 repeats the three pillars. Part 01 covered algorithm and data; this part is the hardware pillar.تعيد الشريحة 17 عرض الركائز الثلاث. غطى الجزء 01 الخوارزمية والبيانات، وهذا الجزء هو ركيزة العتاد.
- P100 to B100: dense FP16 18.7 to 1750 TOPS (94x), power 250 to 700 W (2.8x), memory 16 to 192 GB (12x), bandwidth 732 to 8192 GB/s (11x). TOPS/W: 0.075, 0.42, 0.78, 1.41, 2.5.من P100 إلى B100: أداء FP16 الكثيف من 18.7 إلى 1750 TOPS (94 ضعفا)، والقدرة من 250 إلى 700 W (2.8 ضعف)، والذاكرة من 16 إلى 192 GB (12 ضعفا)، وعرض النطاق من 732 إلى 8192 GB/s (11 ضعفا). وقيم TOPS/W هي: 0.075 و0.42 و0.78 و1.41 و2.5.
- TOPS counts two operations per MAC. NVIDIA headline numbers double with 2:4 sparsity; the slide and this part use dense figures.تحسب TOPS عمليتين لكل MAC. أرقام NVIDIA الدعائية تتضاعف مع التفرق بنمط 2:4، أما الشريحة وهذا الجزء فيستخدمان الأرقام الكثيفة.
- The memory wall: peak compute grows about 3x every two years while DRAM bandwidth grows about 1.6x, so bandwidth and capacity, not TOPS, bound LLM serving.جدار الذاكرة: ذروة الحوسبة تنمو نحو 3 أضعاف كل سنتين بينما ينمو عرض نطاق DRAM نحو 1.6 ضعف، لذلك فإن عرض النطاق والسعة، لا TOPS، هما ما يحدّ خدمة نماذج LLM.
- Phones are capped near 10 W by heat. Snapdragon 845 to 8 Gen 1 went 3 to 52 TOPS (17x) at flat power; Apple A11 to A17 went 0.6 to 35 TOPS at 6 to 8 W.الهواتف محدودة بنحو 10 W بسبب الحرارة. انتقلت Snapdragon من 845 إلى 8 Gen 1 من 3 إلى 52 TOPS (17 ضعفا) بقدرة ثابتة، وانتقلت Apple من A11 إلى A17 من 0.6 إلى 35 TOPS عند 6 إلى 8 W.
- Jetson is a system on module whose power scales with tier: 0.5 TOPS at 10 W (Nano) to 275 TOPS at 60 W (AGX Orin 64GB).Jetson نظام على وحدة (system on module) تتدرج قدرته مع المستوى: 0.5 TOPS عند 10 W (Nano) حتى 275 TOPS عند 60 W (AGX Orin 64GB).
- TOPS figures depend on precision, sparsity and workload. Compare only within a family at the same precision.أرقام TOPS تعتمد على الدقة العددية والتفرق وعبء العمل. قارن فقط داخل العائلة الواحدة وبالدقة نفسها.
- A microcontroller puts processor, memory and I/O on one chip. STM32F746: Cortex-M7, 216 MHz, 462 DMIPS, 320 kB SRAM, 1 MB flash, about 360 mW.يضع المتحكم الدقيق المعالج والذاكرة ووحدات الإدخال والإخراج على شريحة واحدة. STM32F746: نواة Cortex-M7، بتردد 216 MHz، و462 DMIPS، و320 kB من SRAM، و1 MB من flash، ونحو 360 mW.
- DMIPS is an integer benchmark (Dhrystones per second divided by 1757), not a neural network throughput. MCU compute is on the order of 0.001 TOPS.DMIPS اختبار أداء للعمليات الصحيحة (عدد Dhrystones في الثانية مقسوما على 1757)، وليس معدل إنجاز للشبكات العصبية. حوسبة المتحكم الدقيق من رتبة 0.001 TOPS.
- Cloud, mobile, tiny: 80 GB, 4 GB, 320 kB of activation memory (20x and 12,500x steps, 250,000x end to end); about 1 TB, 256 GB, 1 MB of weight storage (256,000x mobile to tiny).السحابة والمحمول والدقيق: 80 GB و4 GB و320 kB من ذاكرة التنشيطات (خطوتان بمقدار 20 ضعفا و12,500 ضعف، و250,000 ضعف من الطرف إلى الطرف)، ونحو 1 TB و256 GB و1 MB من تخزين الأوزان (256,000 ضعف من المحمول إلى الدقيق).
- Activation memory (SRAM, peak per layer) and weight storage (flash, total size) are separate budgets. ResNet-50 fails both on an MCU, by about 100x and 22x.ذاكرة التنشيطات (SRAM، الذروة لكل طبقة) وتخزين الأوزان (flash، الحجم الكلي) ميزانيتان منفصلتان. يفشل ResNet-50 في كلتيهما على المتحكم الدقيق، بنحو 100 ضعف و22 ضعفا.
- A 530B FP16 model (1.06 TB) is a million times a 1 MB flash. The course closes the gap on the model side: pruning, quantization, NAS, distillation and co-design.نموذج بحجم 530B بدقة FP16 (أي 1.06 TB) يساوي مليون ضعف ذاكرة flash بسعة 1 MB. يسد المقرر هذه الفجوة من جانب النموذج: التقليم (pruning)، والتكميم (quantization)، والبحث في المعماريات (NAS)، والتقطير (distillation)، والتصميم المشترك (co-design).
- The deck follows Prof. Song Han's MIT 6.5940 TinyML and Efficient Deep Learning Computing.يتبع العرض مقرر البروفيسور Song Han في MIT رقم 6.5940: TinyML and Efficient Deep Learning Computing.
Sourcesالمصادر
- MIT 6.5940: TinyML and Efficient Deep Learning Computing, Fall 2024DocsMIT HAN Lab, Song HanSchedule with Lecture 1 Introduction slides; the source the deck credits on slide 24الجدول الزمني مع شرائح المحاضرة 1 (Introduction)، وهو المصدر الذي ينسب إليه العرض الفضل في الشريحة 24(opens in a new tab)(يفتح في تبويب جديد)
- TinyML and Efficient AI Computing, course landing pageDocsMIT HAN LabCurrent course page (efficientml.ai redirects here)صفحة المقرر الحالية (يُعاد توجيه efficientml.ai إليها)(opens in a new tab)(يفتح في تبويب جديد)
- MCUNet: Tiny Deep Learning on IoT DevicesPaperNeurIPS 2020, Lin, Chen, Lin, Cohn, Gan, HanTable 1 (cloud, mobile, tiny budgets; ResNet-50 and MobileNetV2 sizes), SRAM versus flash constraint, no DRAM and no OSالجدول 1 (ميزانيات السحابة والمحمول والدقيق، وأحجام ResNet-50 وMobileNetV2)، وقيد SRAM مقابل flash، ولا DRAM ولا نظام تشغيل(opens in a new tab)(يفتح في تبويب جديد)
- AI and Memory WallPaperIEEE Micro 2024, Gholami, Yao, Kim, Hooper, Mahoney, KeutzerPeak FLOPS 3.0x per two years versus DRAM bandwidth 1.6x and interconnect 1.4xذروة FLOPS تنمو 3.0x كل سنتين، مقابل 1.6x لعرض نطاق DRAM و1.4x للربط البيني(opens in a new tab)(يفتح في تبويب جديد)
- How to Evaluate Deep Neural Network Processors: TOPS/W (Alone) Considered HarmfulPaperIEEE Solid-State Circuits Magazine 2020, Sze, Chen, Yang, EmerWhy peak TOPS and TOPS/W are not comparable across chips without workload and utilizationلماذا لا يمكن مقارنة ذروة TOPS وTOPS/W بين الشرائح دون معرفة عبء العمل ونسبة الاستغلال(opens in a new tab)(يفتح في تبويب جديد)
- Efficient Processing of Deep Neural Networks: A Tutorial and SurveyPaperProceedings of the IEEE 2017, Sze, Chen, Yang, EmerMetrics beyond peak throughput for evaluating acceleratorsمقاييس تتجاوز ذروة معدل الإنجاز لتقييم المسرّعات(opens in a new tab)(يفتح في تبويب جديد)
- Using DeepSpeed and Megatron to Train Megatron-Turing NLG 530BPaperSmith et al., 2022530 billion parameters530 مليار معامل(opens in a new tab)(يفتح في تبويب جديد)
- torchvision resnet50 weightsDocsPyTorch25,557,032 parameters, 4.09 GFLOPS25,557,032 معاملا، و4.09 GFLOPS(opens in a new tab)(يفتح في تبويب جديد)
- Deep Residual Learning for Image RecognitionPaperHe, Zhang, Ren, Sun, 2015ResNet-50نموذج ResNet-50(opens in a new tab)(يفتح في تبويب جديد)
- NVIDIA Tesla P100 PCIe datasheetDocsNVIDIA18.7 TFLOPS FP16, 16 GB HBM2 at 732 GB/s, 250 W18.7 TFLOPS بدقة FP16، و16 GB من HBM2 بعرض نطاق 732 GB/s، و250 W(opens in a new tab)(يفتح في تبويب جديد)
- NVIDIA V100 Tensor Core GPUDocsNVIDIA125 TFLOPS Tensor, 900 GB/s, 300 W125 TFLOPS على Tensor Cores، و900 GB/s، و300 W(opens in a new tab)(يفتح في تبويب جديد)
- NVIDIA A100 Tensor Core GPUDocsNVIDIA312 TFLOPS dense and 624 with sparsity, 80 GB, 2,039 GB/s, 400 W312 TFLOPS كثيفة و624 مع التفرق، و80 GB، و2,039 GB/s، و400 W(opens in a new tab)(يفتح في تبويب جديد)
- NVIDIA H100 Tensor Core GPUDocsNVIDIA1,979 TFLOPS with sparsity, 80 GB, 3.35 TB/s, up to 700 W; NVL variant 94 GB1,979 TFLOPS مع التفرق، و80 GB، و3.35 TB/s، وحتى 700 W، ونسخة NVL بسعة 94 GB(opens in a new tab)(يفتح في تبويب جديد)
- NVIDIA Blackwell Platform Arrives to Power a New Era of ComputingArticleNVIDIA Newsroom, 18 March 2024Blackwell announcement, availability later in 2024إعلان Blackwell، مع التوفر لاحقا في عام 2024(opens in a new tab)(يفتح في تبويب جديد)
- NVIDIA Blackwell deployments: HGX B100 and B200 specificationsArticleExxactSecondary source reproducing NVIDIA's HGX table: 192 GB, 8 TB/s, 700 W, 3.5 PFLOPS FP16 sparse per GPUمصدر ثانوي ينقل جدول HGX من NVIDIA: 192 GB، و8 TB/s، و700 W، و3.5 PFLOPS بدقة FP16 مع التفرق لكل GPU(opens in a new tab)(يفتح في تبويب جديد)
- Snapdragon 888 5G Mobile Platform product briefDocsQualcommFused AI accelerator, 26 TOPS, up to 3x performance per watt, up to 16 GBمسرّع ذكاء اصطناعي مدمج، و26 TOPS، وتحسن حتى 3x في الأداء لكل واط، وذاكرة حتى 16 GB(opens in a new tab)(يفتح في تبويب جديد)
- Snapdragon 8 Gen 1 Mobile Platform product briefDocsQualcommUp to 4x faster, best performance per watt, INT8, INT16 and FP16أسرع حتى 4x، وأفضل أداء لكل واط، ودعم INT8 وINT16 وFP16(opens in a new tab)(يفتح في تبويب جديد)
- Qualcomm Robotics RB5 Platform product briefDocsQualcomm15 TOPS robotics platform pictured on slide 19منصة روبوتات بقدرة 15 TOPS تظهر صورتها في الشريحة 19(opens in a new tab)(يفتح في تبويب جديد)
- List of Qualcomm Snapdragon processorsArticleWikipediaSlide 19's stated source; the TOPS and power figures are community-compiled, not Qualcomm statementsالمصدر المذكور في الشريحة 19، وأرقام TOPS والقدرة فيه جمعها المجتمع وليست تصريحات من Qualcomm(opens in a new tab)(يفتح في تبويب جديد)
- The future is here: iPhone XDocsApple NewsroomA11 Neural Engine, 600 billion operations per secondNeural Engine في A11، و600 مليار عملية في الثانية(opens in a new tab)(يفتح في تبويب جديد)
- iPhone XS and iPhone XS MaxDocsApple NewsroomA12 Neural Engine, 5 trillion operations per secondNeural Engine في A12، و5 تريليونات عملية في الثانية(opens in a new tab)(يفتح في تبويب جديد)
- Apple unveils all-new iPad Air with A14 BionicDocsApple NewsroomA14 16-core Neural Engine, 11 trillion operations per secondNeural Engine بست عشرة نواة في A14، و11 تريليون عملية في الثانية(opens in a new tab)(يفتح في تبويب جديد)
- Apple unveils iPhone 13 Pro and iPhone 13 Pro MaxDocsApple NewsroomA15 Neural Engine, 15.8 trillion operations per secondNeural Engine في A15، و15.8 تريليون عملية في الثانية(opens in a new tab)(يفتح في تبويب جديد)
- Apple debuts iPhone 14 Pro and iPhone 14 Pro MaxDocsApple NewsroomA16 Neural Engine, nearly 17 trillion operations per secondNeural Engine في A16، وقرابة 17 تريليون عملية في الثانية(opens in a new tab)(يفتح في تبويب جديد)
- Apple unveils iPhone 15 Pro and iPhone 15 Pro MaxDocsApple NewsroomA17 Pro Neural Engine up to 2x faster; the 35 TOPS figure is from the event, not this textNeural Engine في A17 Pro أسرع حتى 2x، ورقم 35 TOPS مصدره الحدث لا هذا النص(opens in a new tab)(يفتح في تبويب جديد)
- Jetson ModulesDocsNVIDIA DeveloperSystem on module family overviewنظرة عامة على عائلة الأنظمة على وحدة (system on module)(opens in a new tab)(يفتح في تبويب جديد)
- Jetson Nano Developer KitDocsNVIDIA472 GFLOPS, 4 GB, 5 to 10 W472 GFLOPS، و4 GB، ومن 5 إلى 10 W(opens in a new tab)(يفتح في تبويب جديد)
- Jetson TX2 ModuleDocsNVIDIA1.33 TFLOPS, 8 GB, 7.5 to 15 W1.33 TFLOPS، و8 GB، ومن 7.5 إلى 15 W(opens in a new tab)(يفتح في تبويب جديد)
- Jetson Xavier NXDocsNVIDIA21 TOPS, 8 or 16 GB, 10 to 20 W21 TOPS، و8 أو 16 GB، ومن 10 إلى 20 W(opens in a new tab)(يفتح في تبويب جديد)
- Jetson AGX XavierDocsNVIDIA32 TOPS; 16 GB on the original module, later 32 GB and 64 GB; 10, 15 or 30 W modes32 TOPS، و16 GB في الوحدة الأصلية ثم 32 GB و64 GB لاحقا، وأنماط قدرة 10 أو 15 أو 30 W(opens in a new tab)(يفتح في تبويب جديد)
- Jetson OrinDocsNVIDIAAI performance stated as sparse INT8 TOPS; current JetPack figures differ from the 2022 values on the slideأداء الذكاء الاصطناعي مذكور بوحدة TOPS بدقة INT8 مع التفرق، وأرقام JetPack الحالية تختلف عن قيم 2022 في الشريحة(opens in a new tab)(يفتح في تبويب جديد)
- Jetson Module ComparisonArticleConnect TechSlide 21's source: AGX Orin 32GB 200 TOPS at 15 to 40 W, AGX Orin 64GB 275 TOPS at 15 to 60 Wمصدر الشريحة 21: AGX Orin 32GB بقدرة 200 TOPS عند 15 إلى 40 W، وAGX Orin 64GB بقدرة 275 TOPS عند 15 إلى 60 W(opens in a new tab)(يفتح في تبويب جديد)
- STM32F746NGDocsSTMicroelectronicsCortex-M7 at 216 MHz, 462 DMIPS and 2.14 DMIPS/MHz, 1 MB flash, 320 KB SRAM; verified via the search index because ST blocks automated fetchesنواة Cortex-M7 بتردد 216 MHz، و462 DMIPS و2.14 DMIPS/MHz، و1 MB من flash، و320 KB من SRAM، وجرى التحقق عبر فهرس البحث لأن ST تحجب الجلب الآلي(opens in a new tab)(يفتح في تبويب جديد)
- STM32F407VG device dataDocsKeilCortex-M4 at 168 MHz, 210 DMIPS and 1.25 DMIPS/MHz, 1 MB flash, 192 plus 4 KB SRAMنواة Cortex-M4 بتردد 168 MHz، و210 DMIPS و1.25 DMIPS/MHz، و1 MB من flash، و192 زائد 4 KB من SRAM(opens in a new tab)(يفتح في تبويب جديد)
- Arduino ZeroDocsArduinoSAMD21 Cortex-M0+ at 48 MHz, 256 KB flash, 32 KB SRAMشريحة SAMD21 بنواة Cortex-M0+ بتردد 48 MHz، و256 KB من flash، و32 KB من SRAM(opens in a new tab)(يفتح في تبويب جديد)
- Arduino Due documentationDocsArduinoSAM3X8E Cortex-M3 at 84 MHz, 96 KB SRAMشريحة SAM3X8E بنواة Cortex-M3 بتردد 84 MHz، و96 KB من SRAM(opens in a new tab)(يفتح في تبويب جديد)
- Arm Cortex-M Processor Comparison TableDocsArmDMIPS/MHz: Cortex-M0+ 0.95, M3 1.25, M4 1.25, M7 2.14قيم DMIPS/MHz: نواة Cortex-M0+ تساوي 0.95، وM3 تساوي 1.25، وM4 تساوي 1.25، وM7 تساوي 2.14(opens in a new tab)(يفتح في تبويب جديد)
- Dhrystone Benchmarking for ARM Cortex ProcessorsDocsArmDMIPS is Dhrystones per second divided by 1757; small integer benchmark; results depend on compiler switchesDMIPS تساوي عدد Dhrystones في الثانية مقسوما على 1757، وهو اختبار أداء صغير للأعداد الصحيحة، ونتائجه تعتمد على خيارات المترجم(opens in a new tab)(يفتح في تبويب جديد)
- Dhrystone: a synthetic systems programming benchmarkPaperCommunications of the ACM 27(10), 1984, Reinhold WeickerThe original benchmark; bibliographic record confirmed via search since the ACM DL blocked direct fetchesاختبار الأداء الأصلي، وتأكدت بياناته الببليوغرافية عبر البحث لأن مكتبة ACM الرقمية حجبت الجلب المباشر(opens in a new tab)(يفتح في تبويب جديد)