ai

Auto Added by WPeMatico

How to Build Memory-Efficient Transformers with xFormers Using Packed Sequences, GQA, ALiBi, SwiGLU, and Causal Attention

In this tutorial, we implement xFormers: a practical toolkit for building fast, memory-efficient Transformer models on GPUs. We begin by validating memory-efficient attention against a standard attention implementation, then compare their speed and memory consumption across different sequence lengths. We then examine causal masking, packed variable-length sequences, grouped-query attention, and custom ALiBi positional biases. Finally, […]

How to Build Memory-Efficient Transformers with xFormers Using Packed Sequences, GQA, ALiBi, SwiGLU, and Causal Attention Read More »

AI Weekly Issue #504: America blocked its best AI. China just raised $7.4 billion.

Four days after Washington cut foreign access to Anthropic’s top models, the fallout is clear — and it’s flowing to everyone but Anthropic. Cohere says it’s drowning in government inbounds, DeepSeek just closed a record $7.4B round, and China’s labs are slashing token prices up to 99%. The export control meant to protect America’s AI

AI Weekly Issue #504: America blocked its best AI. China just raised $7.4 billion. Read More »

Trump’s DoJ intervenes to back Elon Musk in datacenter pollution lawsuit

Justice department urges judge to throw out suit brought by NAACP over xAI’s methane-gas turbines in MississippiThe Trump administration is coming to the defense of Elon Musk in a lawsuit over claims that his artificial intelligence company, xAI, is polluting residential neighborhoods in north Mississippi. The justice department told a federal court late on Monday

Trump’s DoJ intervenes to back Elon Musk in datacenter pollution lawsuit Read More »

Trump admin helps xAI fight pollution lawsuit, says military needs Grok for war

The Trump administration is trying to help Elon Musk’s xAI Corp. beat a Clean Air Act lawsuit filed by the National Association for the Advancement of Colored People (NAACP). The US said the NAACP lawsuit threatens an xAI data center that powers Grok systems needed by the military. The NAACP sued xAI and subsidiary MZX

Trump admin helps xAI fight pollution lawsuit, says military needs Grok for war Read More »

Anthropic “pauses” token-based billing for its Claude Agent SDK

Last month, Anthropic announced a billing change that would have substantially increased costs for heavy users of its automation-focused Claude Agent SDK, including many third-party apps. On Monday, though, Anthropic abruptly announced it had paused those pricing changes just as they were set to take effect, allowing Agent SDK users to continue drawing from the

Anthropic “pauses” token-based billing for its Claude Agent SDK Read More »

Exclusive eBook: How AI is becoming the next military advisor

A collection of stories about how militaries are using AI models to make decisions. This subscriber-only eBook is a package of six stories that were originally published in MIT Technology Review between April 11, 2025, and April 21, 2026, and have been updated to reflect recent developments. by James O’Donnell Choose which file format to

Exclusive eBook: How AI is becoming the next military advisor Read More »