100 Trillion Parameter AI Training Models

Recommender AI systems are an important component of Internet services today: billion dollar revenue businesses like Amazon and Netflix are directly driven by recommendation services. AI recommenders get better as they get bigger. Several models have been previously released with billion parameters up to even trillion very recently. Every jump in the model capacity has…
100 Trillion Parameter AI Training Models


Recommender AI systems are an important component of Internet services today: billion dollar revenue businesses like Amazon and Netflix are directly driven by recommendation services.

AI recommenders get better as they get bigger. Several models have been previously released with billion parameters up to even trillion very recently. Every jump in the model capacity has brought in significant improvement on quality. The era of 100 trillion parameters is just around the corner.

Complicated, dense rest neural network is increasingly computation-intensive with more than 100 TFLOPs in each training iteration. Thus, it is important to have some sophisticated mechanism to manage a cluster with heterogeneous resources for such training tasks.

Recently, Kwai Seattle AI Lab and DS3 Lab from ETH Zurich have collaborated to propose a novel system named “Persia” to tackle this problem through careful co-design of both the training algorithm and the training system. At the algorithm level, Persia adopts a hybrid training algorithm to handle the embedding layer and dense neural network modules differently. The embedding layer is trained asynchronously to improve the throughput of training samples, while the rest neural network is trained synchronously to preserve statistical efficiency. At the system level, a wide range of system optimizations for memory management and communication reduction have been implemented to unleash the full potential of the hybrid algorithm.

Cloud Resources for 100 Trillion Parameter AI Models

Persia 100 trillion parameter AI workload runs on the following heterogeneous resources:

3,000 cores of compute-intensive Virtual Machines


8 A2 Virtual Machines adding a total of 64 A100 Nvidia GPUs


30 High Memory Virtual Machines, each with 12 TB of RAM, totalling 360 TB


Orchestration with Kubernetes


All resources had to be launched concurrently in the same zone to minimize network latency. Google Cloud was able to provide the required capacity with very little notice.

AI Training needs resources in bursts.

Google Kubernetes Engine (GKE) was utilized to orchestrate the deployment of the 138 VMs and software containers. Having the workload containerized also allows for porting and repeatability of the training.

Results and Conclusions


With the support of the Google Cloud infrastructure, the team demonstrated Persia’s scalability up to 100 trillion parameters. The hybrid distributed training algorithm introduced elaborate system relaxations for efficient utilization of heterogeneous clusters, while converging as fast as vanilla SGD. Google Cloud was essential to overcome the limitations of on-premise hardware and proved an optimal computing environment for distributed Machine Learning training on a massive scale.

Persia has been released as an open source project on github with setup instructions for Google Cloud —everyone from both academia and industry would find it easy to train 100-trillion-parameter scale, deep learning recommender models.

Read More

Total
0
Shares
Leave a Reply

Your email address will not be published.

Related Posts
Speculation on Possible Tesla Big News On Dec 9, 2021
Read More

Speculation on Possible Tesla Big News On Dec 9, 2021

Elon Musk seemed to have been dropping hints that there would be a big announcement on Dec 9, 2021. This had the Tesla community speculating that it could be a stock split but there is some evidence that Dec 9, 2021 could see the announcement of an early start of Cybertruck production. The clues may…
The Rate of Russian Loss of Tanks and Gear Has Tripled
Read More

The Rate of Russian Loss of Tanks and Gear Has Tripled

David Axe, respected and experienced military journalist, says Russia is losing a Battalion every day. Losses have tripled during the Ukraine offensive. Russia has 100 understrength battalions. Increased equipment loss is confirmed. There are about 1000 soldiers per battalion. The Russian army is losing at least a battalion’s worth of vehicles and men a day…
EV Companies Not Using Iron LFP Batteries Are Doomed
Read More

EV Companies Not Using Iron LFP Batteries Are Doomed

Volkswagen, Ford and GM are making nickel batteries. Nickel batteries are currently about twice as expensive as iron LFP batteries. LFP battery volume will be about 80% of the total battery market in 2024-2025. Nickel prices are increasing and LFP battery mass production will drive down their prices faster. Iron LFP batteries could become three…