Get Started with GPU-Accelerated DuckDB Analytics Using the Sirius Core Extension

NVIDIA and DuckLabs have released Sirius as a DuckDB core extension, bringing a GPU-native SQL engine into DuckDB's standard extension workflow. Sirius itself was developed through a collaboration between the University of Wisconsin–Madison and NVIDIA and is open source. With this release, developers install it from inside DuckDB and activate it in a session, and supported analytical queries run on NVIDIA GPUs without rewriting SQL or altering database schemas.
The setup is deliberately short. Running INSTALL sirius; downloads the extension, which the post notes is roughly 700 MB, so download time depends on the connection. LOAD sirius; then activates it for the current connection, and the extension selects the CUDA backend for the installed driver automatically. The prerequisites are DuckDB 2.0 and an NVIDIA GPU with a compatible driver. The documented walkthrough uses DuckDB's separate TPC-H extension to generate a small dataset at scale factor 0.01, runs CHECKPOINT to persist the generated tables so Sirius can read native DuckDB files, loads Sirius, and then issues an ordinary grouping query over the lineitem table. On that tiny dataset the query returns totals of 380456.00, 774222.00 and 381449.00 for the three return flags, which demonstrates the mechanics rather than any speedup.
Architecturally, DuckDB stays the front door. It parses SQL and performs optimization, while Sirius takes the resulting query plans and executes supported ones on the GPU, returning results through the same connection. Unsupported features fall back to DuckDB's CPU engine. In practice, that split means Sirius accelerates a supported query as a whole rather than piecemeal, and existing scripts and applications keep the same interface. This is a sensible design for adoption: the usual way to get GPU analytics today is to move data into a separate vectorized engine with its own types, ingestion path and API, which is a migration. A core extension that preserves SQL and schemas lowers that switching cost, at the price of depending on what Sirius does and does not support. The fallback keeps queries correct when a plan is out of scope, but a plan that quietly drops back to the CPU is also where unexpected latency can hide, so profiling which queries actually execute on the GPU is worth doing. The extension also works with the user's own DuckDB tables and supported Parquet workflows.
The performance figures come from cold runs of TPC-H-derived queries with data in Amazon S3, at scale factors 100 (100 GB), 1,000 (1 TB), 3,000 (3 TB) and 10,000 (10 TB). Tests measured total query runtime and query-time compute cost under default and tuned configurations on pinned development builds. Tuned Sirius on AWS instances with two NVIDIA GPUs produced speedups of 3.25x to 5.50x over the best tested CPU-based DuckDB setups. At SF1K, runtime went from 347.3 seconds to 63.2 seconds. At SF3K, it fell from 752.4 seconds to 160.6 seconds, a 4.69x speedup, with query-time compute cost down roughly 71%. At SF10K the tuned two-GPU configuration finished in 729.9 seconds against 2,369.4 seconds for the best CPU configuration, a 3.25x speedup and about 79% lower query-time compute cost.
Two caveats are stated in the post and matter for anyone reading the numbers. Sirius timings exclude result fetch and export, while DuckDB timings include CSV output; and the cost figures cover measured instance runtime only, excluding startup, validation, storage, S3 and idle time. Methodological asymmetries like these can flatter the accelerated side, so the headline ratios should be treated as indicative rather than a guarantee for a given warehouse or query mix. The post also notes that results vary with query structure, dataset size, hardware and cache conditions, and the Sirius repository ships a benchmark runner, query definitions and configuration details for reproducing or rerunning the comparison.
Configuration choice turns out to depend on scale. At SF100, a single GPU gave the lowest cost while two GPUs gave the shortest runtime; at SF10K the tuned two-GPU setup beat the tuned single-GPU setup on both runtime and cost. Tuning was most consequential at the top end: with two GPUs at SF10K, the default configuration was recorded as not finishing, while the tuned one completed in 729.9 seconds. This suggests that the gap between installing the extension and getting the published speedups runs through configuration, and teams should budget time for that rather than expecting defaults to match the benchmarks.
Why it matters: teams already running DuckDB for analytics can try GPU acceleration with two SQL statements and no rewrite, which lowers the barrier to experimenting with GPU execution for large scans and aggregations. The caveat is that the gains are measured on specific TPC-H workloads, exclude some costs, and depend on tuning, so an evaluation on real queries and data is the sensible next step, and that expectation is inference from the reported methodology rather than a stated result. For developers, the practical work shifts from porting SQL to profiling query plans and sizing GPU instances against dataset scale.
Based on reporting from the original publisher. Visit the source for full context and later updates.
Publisher excerpt
As datasets grow, analytical queries can take longer to run, slowing down data exploration, pipelines, and applications. For developers using DuckDB, reducing...