For years, Elon Musk has talked about Dojo — the AI supercomputer that would be the cornerstone of Tesla’s AI ambitions. It’s essential sufficient to Musk that he lately stated the corporate’s AI group goes to “double down” on Dojo as Tesla gears as much as reveal its robotaxi in October.
However what precisely is Dojo? And why is it so vital to Tesla’s long-term technique?
In brief: Dojo is Tesla’s custom-built supercomputer that’s designed to coach its “Full Self-Driving” neural networks. Beefing up Dojo goes hand-in-hand with Tesla’s purpose to achieve full self-driving and convey a robotaxi to market. FSD, which is on about 2 million Tesla automobiles at the moment, can carry out some automated driving duties, however nonetheless requires a human to be attentive behind the wheel.
Tesla delayed the reveal of its robotaxi, which was slated for August, to October, however each Musk’s public rhetoric and data from sources inside Tesla inform us that the purpose of autonomy isn’t going away.
And Tesla seems poised to spend huge on AI and Dojo to achieve that feat.
Tesla’s Dojo backstory
Musk doesn’t need Tesla to be simply an automaker, or perhaps a purveyor of photo voltaic panels and vitality storage methods. As a substitute, he needs Tesla to be an AI firm, one which has cracked the code to self-driving vehicles by mimicking human notion.
Most different corporations constructing autonomous car expertise depend on a mix of sensors to understand the world – like lidar, radar and cameras – in addition to high-definition maps to localize the car. Tesla believes it may obtain totally autonomous driving by counting on cameras alone to seize visible knowledge after which use superior neural networks to course of that knowledge and make fast choices about how the automobile ought to behave.
As Tesla’s former head of AI, Andrej Karpathy, stated on the automaker’s first AI Day in 2021, the corporate is principally attempting to construct “an artificial animal from the bottom up.” (Musk had been teasing Dojo since 2019, however Tesla formally introduced it at AI Day.)
Firms like Alphabet’s Waymo have commercialized Degree 4 autonomous automobiles – which the SAE defines as a system that may drive itself with out the necessity for human intervention beneath sure circumstances — via a extra conventional sensor and machine studying strategy. Tesla has nonetheless but to provide an autonomous system that doesn’t require a human behind the wheel.
About 1.8 million folks have paid the hefty subscription value for Tesla’s FSD, which presently prices $8,000 and has been priced as excessive as $15,000. The pitch is that Dojo-trained AI software program will ultimately be pushed out to Tesla prospects through over-the-air updates. The size of FSD additionally means Tesla has been capable of rake in thousands and thousands of miles price of video footage that it makes use of to coach FSD. The concept there may be that the extra knowledge Tesla can accumulate, the nearer the automaker can get to truly reaching full self-driving.
Nonetheless, some business specialists say there is perhaps a restrict to the brute drive strategy of throwing extra knowledge at a mannequin and anticipating it to get smarter.
“Initially, there’s an financial constraint, and shortly it can simply get too costly to do this,” Anand Raghunathan, Purdue College’s Silicon Valley professor {of electrical} and laptop engineering, informed TechCrunch. Additional, he stated, “Some folks declare that we’d really run out of significant knowledge to coach the fashions on. Extra knowledge doesn’t essentially imply extra info, so it is dependent upon whether or not that knowledge has info that’s helpful to create a greater mannequin, and if the coaching course of is ready to really distill that info into a greater mannequin.”
Raghunathan stated regardless of these doubts, the development of extra knowledge seems to be right here for the short-term not less than. And extra knowledge means extra compute energy wanted to retailer and course of all of it to coach Tesla’s AI fashions. That’s the place Dojo, the supercomputer, is available in.
What’s a supercomputer?
Dojo is Tesla’s supercomputer system that’s designed to perform as a coaching floor for AI, particularly FSD. The title is a nod to the house the place martial arts are practiced.
A supercomputer is made up of hundreds of smaller computer systems known as nodes. Every of these nodes has its personal CPU (central processing unit) and GPU (graphics processing unit). The previous handles general administration of the node, and the latter does the complicated stuff, like splitting duties into a number of components and dealing on them concurrently. GPUs are important for machine studying operations like people who energy FSD coaching in simulation. Additionally they energy giant language fashions, which is why the rise of generative AI has made Nvidia probably the most priceless firm on the planet.
Even Tesla buys Nvidia GPUs to coach its AI (extra on that later).
Why does Tesla want a supercomputer?
Tesla’s vision-only strategy is the principle cause Tesla wants a supercomputer. The neural networks behind FSD are skilled on huge quantities of driving knowledge to acknowledge and classify objects across the car after which make driving choices. That signifies that when FSD is engaged, the neural nets have to gather and course of visible knowledge constantly at speeds that match the depth and velocity recognition capabilities of a human.
In different phrases, Tesla means to create a digital duplicate of the human visible cortex and mind perform.
To get there, Tesla must retailer and course of all of the video knowledge collected from its vehicles around the globe and run thousands and thousands of simulations to coach its mannequin on the information.
Dojo pics pic.twitter.com/Lu8YiZXo8c
— Elon Musk (@elonmusk) July 23, 2024
Tesla seems to depend on Nvidia to energy its present Dojo coaching laptop, but it surely doesn’t need to have all its eggs in a single basket — not least as a result of Nvidia chips are costly. Tesla additionally hopes to make one thing higher that will increase bandwidth and reduces latencies. That’s why the automaker’s AI division determined to provide you with its personal {custom} {hardware} program that goals to coach AI fashions extra effectively than conventional methods.
At that program’s core is Tesla’s proprietary D1 chips, which the corporate says are optimized for AI workloads.
Inform me extra about these chips
Tesla is of an analogous opinion to Apple, in that it believes {hardware} and software program ought to be designed to work collectively. That’s why Tesla is working to maneuver away from the usual GPU {hardware} and design its personal chips to energy Dojo.
Tesla unveiled its D1 chip, a silicon sq. the dimensions of a palm, on AI Day in 2021. The D1 chip entered into manufacturing as of not less than Might this 12 months. The Taiwan Semiconductor Manufacturing Firm (TSMC) is manufacturing the chips utilizing 7 nanometer semiconductor nodes. The D1 has 50 billion transistors and a big die measurement of 645 millimeters squared, based on Tesla. That is all to say that the D1 guarantees to be extraordinarily highly effective and environment friendly and to deal with complicated duties rapidly.
“We will do compute and knowledge transfers concurrently, and our {custom} ISA, which is the instruction set structure, is totally optimized for machine studying workloads,” stated Ganesh Venkataramanan, former senior director of Autopilot {hardware}, at Tesla’s 2021 AI Day. “This can be a pure machine studying machine.”
The D1 remains to be not as highly effective as Nvidia’s A100 chip, although, which can be manufactured by TSMC utilizing a 7 nanometer course of. The A100 incorporates 54 billion transistors and has a die measurement of 826 sq. millimeters, so it performs barely higher than Tesla’s D1.
To get a better bandwidth and better compute energy, Tesla’s AI group fused 25 D1 chips collectively into one tile to perform as a unified laptop system. Every tile has a compute energy of 9 petaflops and 36 terabytes per second of bandwidth, and incorporates all of the {hardware} crucial for energy, cooling and knowledge switch. You’ll be able to consider the tile as a self-sufficient laptop made up of 25 smaller computer systems. Six of these tiles make up one rack, and two racks make up a cupboard. Ten cupboards make up an ExaPOD. At AI Day 2022, Tesla stated Dojo would scale by deploying a number of ExaPODs. All of this collectively makes up the supercomputer.
Tesla can be engaged on a next-gen D2 chip that goals to resolve info move bottlenecks. As a substitute of connecting the person chips, the D2 would put your entire Dojo tile onto a single wafer of silicon.
Tesla hasn’t confirmed what number of D1 chips it has ordered or expects to obtain. The corporate additionally hasn’t supplied a timeline for the way lengthy it can take to get Dojo supercomputers working on D1 chips.
In response to a June put up on X that stated: “Elon is constructing an enormous GPU cooler in Texas,” Musk replied that Tesla was aiming for “half Tesla AI {hardware}, half Nvidia/different” over the subsequent 18 months or so. The “different” might be AMD chips, per Musk’s remark in January.
What does Dojo imply for Tesla?
Taking management of its personal chip manufacturing signifies that Tesla may sooner or later be capable of rapidly add giant quantities of compute energy to AI coaching applications at a low price, notably as Tesla and TSMC scale up chip manufacturing.
It additionally signifies that Tesla could not need to depend on Nvidia’s chips sooner or later, that are more and more costly and exhausting to safe.
Throughout Tesla’s second-quarter earnings name, Musk stated that demand for Nvidia {hardware} is “so excessive that it’s usually tough to get the GPUs.” He stated he was “fairly involved about really with the ability to get regular GPUs once we need them, and I believe this due to this fact requires that we put much more effort on Dojo with the intention to be certain that we’ve bought the coaching functionality that we’d like.”
That stated, Tesla remains to be shopping for Nvidia chips at the moment to coach its AI. In June, Musk posted on X:
“Of the roughly $10B in AI-related expenditures I stated Tesla would make this 12 months, about half is inside, primarily the Tesla-designed AI inference laptop and sensors current in all of our vehicles, plus Dojo. For constructing the AI coaching superclusters, Nvidia {hardware} is about 2/3 of the price. My present finest guess for Nvidia purchases by Tesla are $3B to $4B this 12 months.”
Inference compute refers back to the AI computations carried out by Tesla vehicles in actual time, and is separate from the coaching compute that Dojo is answerable for.
Dojo is a dangerous guess, one which Musk has hedged a number of occasions by saying that Tesla may not succeed.
In the long term, Tesla might theoretically create a brand new enterprise mannequin based mostly on its AI division. Musk has stated that the primary model of Dojo will probably be tailor-made for Tesla laptop imaginative and prescient labeling and coaching, which is nice for FSD and for coaching Optimus, Tesla’s humanoid robotic. Nevertheless it wouldn’t be helpful for a lot else.
Musk has stated that future variations of Dojo will probably be extra tailor-made to basic goal AI coaching. One potential downside with that’s that the majority AI software program out there was written to work with GPUs. Utilizing Dojo to coach basic goal AI fashions would require rewriting the software program.
That’s, except Tesla rents out its compute, much like how AWS and Azure hire out cloud computing capabilities. Musk additionally famous throughout Q2 earnings that he sees “a path to being aggressive with Nvidia with Dojo.”
A September 2023 report from Morgan Stanley predicted that Dojo might add $500 billion to Tesla’s market worth by unlocking new income streams within the type of robotaxis and software program providers.
In brief, Dojo’s chips are an insurance coverage coverage for the automaker, however one that would pay dividends.
How far alongside is Dojo?
Reuters reported final 12 months that Tesla started manufacturing on Dojo in July 2023, however a June 2023 put up from Musk steered that Dojo had been “on-line and working helpful duties for a couple of months.”
Across the similar time, Tesla stated it anticipated Dojo to be one of many prime 5 strongest supercomputers by February 2024 — a feat that has but to be publicly disclosed, leaving us uncertain that it has occurred.
The corporate additionally stated it expects Dojo’s complete compute to achieve 100 exaflops in October 2024. (1 exaflop is the same as 1 quintillion laptop operations per second. To achieve 100 exaflops and assuming that one D1 can obtain 362 teraflops, Tesla would want greater than 276,000 D1s, or round 320,500 Nvidia A100 GPUs.)
Tesla additionally pledged in January 2024 to spend $500 million to construct a Dojo supercomputer at its gigafactory in Buffalo, New York.
In Might 2024, Musk famous that the rear portion of Tesla’s Austin gigafactory will probably be reserved for a “tremendous dense, water-cooled supercomputer cluster.”
Simply after Tesla’s second-quarter earnings name, Musk posted on X that the automaker’s AI group is utilizing Tesla HW4 AI laptop (renamed AI4), which is the {hardware} that lives on Tesla automobiles, within the coaching loop with Nvidia GPUs. He famous that the breakdown is roughly 90,000 Nvidia H100s plus 40,000 AI4 computer systems.
“And Dojo 1 may have roughly 8k H100-equivalent of coaching on-line by finish of 12 months,” he continued. “Not large, however not trivial both.”