cost-model

Tag

Cards List
#cost-model

ML compiler eng, your job is NP-hard (4 minute read)

TLDR AI ↗ · yesterday Cached

A blog post analyzing Amazon's 'Tensor Seeks Layout' paper, which proves tensor layout selection is NP-hard for Trainium workloads, plus the author's own experiments showing Triton's RemoveLayoutConversions heuristic cost rule overestimates layout conversion costs by up to 19x yet performs surprisingly well in practice.

0 favorites 0 likes
#cost-model

SpecSearch: Towards Hardware-Aware Efficient Speculative Decoding

arXiv cs.AI ↗ · 2026-11-18 Cached

SpecSearch is a hardware-aware search engine that jointly optimizes decoding strategy, draft length, and precision across workload-GPU pairs, using an analytical cost model and a Jev-based predictor to achieve up to 2.01× throughput over autoregressive decoding in vLLM without per-GPU calibration.

0 favorites 0 likes
#cost-model

Cache-Aware Prompt Compression:A Two-Tier Cost Model for LLM API Caching

arXiv cs.AI ↗ · 2026-07-20 Cached

Proposes Cache-Aware Prompt Compression (CAPC), a method that combines query-agnostic compression with caching to reduce LLM API costs, demonstrating significant savings over existing approaches on Anthropic's Sonnet API and production workloads.

0 favorites 0 likes
#cost-model

Optimality of Sequential Filtering Under Independent Cost and Selectivity Models

arXiv cs.LG ↗ · 2026-06-09 Cached

This paper formalizes the problem of ordering filters in sequential filtering pipelines under independent cost and selectivity models, proving that ordering by increasing ratio of cost to rejection probability is optimal. Monte Carlo simulations demonstrate that this ordering dominates common heuristics both in expectation and across the full distribution of outcomes.

0 favorites 0 likes
← Back to home

Submit Feedback