Kodlama 9 Nisan 2024

Google open-sources tools to support AI model development

Google open-sources tools to support AI model development

Google open-sources tools to support AI model development

In a typical year, Cloud Next — one of Google’s two major annual developer conferences, the other being I/O — almost exclusively features managed and otherwise closed-source, gated-behind-locked-down-APIs products and services. But this year, whether to foster developer goodwill or advance its ecosystem ambitions (or both), Google debuted a number of open-source tools primarily aimed at supporting generative AI projects and infrastructure.

The first, MaxDiffusion, which Google actually quietly released in February, is a collection of reference implementations of various diffusion models — models like the image generator Stable Diffusion — that run on XLA devices. “XLA” stands for Accelerated Linear Algebra, an admittedly awkward acronym referring to a technique that optimizes and speeds up specific types of AI workloads including fine-tuning and serving.

Google’s own tensor processing units (TPUs) are XLA devices, as are recent Nvidia GPUs.

Beyond MaxDiffusion, Google’s launching Jetstream, a new engine to run generative AI models — specifically text-generating models (so not Stable Diffusion). Currently limited to supporting TPUs with GPU compatibility supposedly coming in the future, Jetstream offers up to 3x higher “performance per dollar” for models like Google’s own Gemma 7B and Meta’s Llama 2, Google claims.

“As customers bring their AI workloads to production, there’s an increasing demand for a cost-efficient inference stack that delivers high performance,” Mark Lohmeyer, Google Cloud’s GM of compute and machine learning infrastructure, wrote in a blog post shared with TechCrunch. “JetStream helps with this need … and includes optimizations for popular open models such as Llama 2 and Gemma.”

Now, “3x” improvement is quite a claim to make, and it’s not exactly clear how Google arrived at that figure. Using which generation of TPU? Compared to which baseline engine? And how’s “performance” being defined here, anyway?

I’ve asked Google all these questions and will update this post if I hear back.

Second-to-last on the list of Google’s open-source contributions are new additions to MaxText, Google’s collection of text-generating AI models targeting TPUs and Nvidia GPUs in the cloud. MaxText now includes Gemma 7B, OpenAI’s GPT-3 (the predecessor to GPT-4), Llama 2 and models from AI startup Mistral — all of which Google says can be customized and fine-tuned to developers’ needs.

We’ve heavily optimized [the models’] performance on TPUs and also partnered closely with Nvidia to optimize performance on large GPU clusters,” Lohmeyer said. “These improvements maximize GPU and TPU utilization, leading to higher energy efficiency and cost optimization.”

Finally, Google’s collaborated with Hugging Face, the AI startup, to create Optimum TPU, which provides tooling to bring certain AI workloads to TPUs. The goal is to reduce the barrier to entry for getting generative AI models onto TPU hardware, according to Google — in particular text-generating models.

But at present, Optimum TPU is a bit bare bones. The only model it works with is Gemma 7B. And Optimum TPU doesn’t yet support training generative models on TPUs — only running them.

Google’s promising improvements down the line.

source

Spread the love <3

You may also like...

Eki
02
2024
0

AMD, Adrenalin Edition sürümünü güncelledi: Oyunlar coştu!

AMD, Adrenalin Edition 24.9.1 sürüm numaralı yeni grafik sürücüsünü kullanıcılarla buluşturdu. Yeni güncelleme, Frostpunk 2, God of War: Ragnarök, Warhammer...

Spread the love <3
Mar
27
2024
0
Altın kaplama Apple Vision Pro, fiyatıyla dudak uçuklattı!

Altın kaplama Apple Vision Pro, fiyatıyla dudak uçuklattı!

Apple, geçtiğimiz aylarda piyasaya sürdüğü ilk karma gerçeklik gözlüğü Vision Pro ile teknoloji dünyasında dikkatleri çekmeyi başardı. AR/VR pazarında dengeleri...

Spread the love <3
Mar
10
2024
12
Türkiye’de trafiğe kayıtlı araç sayısı ne kadar? Her 3 kişiye 1 tane!

Türkiye’de trafiğe kayıtlı araç sayısı ne kadar? Her 3 kişiye 1 tane!

Türkiye’de trafiğe kayıtlı araç sayısı ne kadar? Kaç tane araç trafiğe çıkıyor. TÜİK tarafından paylaşılan liste ile tüm bu soruların...

Spread the love <3
Eki
19
2024
0

Valve’dan Steam Deck 2 açıklaması: Her yıl yeni cihaz beklemeyin!

Steam Deck hayranları için yeni bir model bekleyenlere Valve şirketinden beklenmedik bir haber geldi. Steam Deck’in baş tasarımcısı Lawrence Young,...

Spread the love <3
Whatsapp İletişim
Merhaba,
Size nasıl yardımcı olabilirim ?