TLDRocket
Sign in
Latest Nebius looks to raise $4.5BN through bond issue — Tech.eu Also’s $3,500 e-bike is a $1 billion Trojan horse for autonomous trans... — Fortune Unitree, famous for its dancing robots, surges by 460% on its trading... — Fortune Exclusive: Replit taps OpenAI's low-cost Luna model for new 'Free Mode... — Fortune Adronite launches Codistry AI coding platform, claims half the token c... — SiliconANGLE Rundoo raises $30M to expand its AI-native operating system for small... — SiliconANGLE Temporal is in talks to raise $500M at a $12B pre-money valuation, mor... — Tech Funding News Etched raises $700M led by Jane Street, doubling to $21B and it still... — Tech Funding News

The AI intelligence platform

Every AI story that matters and the intelligence behind it.

TLDRocket reads all relevant sources, removes duplicate coverage, and publishes a short neutral summary of every story, linking back to the original. Free, no spam, unsubscribe anytime.

Add to Slack

Every story also updates live profiles event timelines weekly rankings the AI Market Index

Wednesday, 27 July 2022

Faster Text Generation with TensorFlow and XLA

Hugging Face 4 years ago 43

TensorFlow text generation compiled with XLA now runs up to 100x faster than the uncompiled version, with performance exceeding PyTorch equivalents on GPU or TPU hardware. The optimization requires a single line of code (`jit_compile=True`) but introduces a tradeoff where the first call with a new tensor shape or type triggers slow recompilation, while subsequent calls with identical shapes reuse the compiled binary. Users must pad inputs to consistent lengths and accept initial overhead when using different generation options to maintain the speed benefits.

The daily briefing

Every AI story that matters, in your inbox by 8am.

TLDRocket reads all relevant sources, removes duplicate coverage, and summarises the day in two minutes. Follow companies and topics for alerts, or get the briefing in Slack. Free, no spam, unsubscribe anytime.