A walkthrough of GPU-accelerated Conditional Value-at-Risk (CVaR) portfolio optimization running entirely within the Snowflake AI Data Cloud using NVIDIA CUDA libraries (cuOpt, cuML, cuDF). The architecture eliminates the traditional extract-transform-load bottleneck by keeping compute inside Snowflake's security perimeter via Container Runtime Notebooks. Using an NVIDIA A10G GPU with CUDA 12.8 and the cuFOLIO library, 10,000 return scenarios across 100 S&P 500 tickers are generated and optimized, achieving roughly an 80x speedup over CPU-based solvers. The post covers environment setup with uv, data sourcing from Snowflake Marketplace, CVaR parameter configuration, backtesting, and performance visualization with Plotly. NVIDIA RTX PRO 6000 Blackwell GPUs are noted as coming soon to Snowflake.
Table of contents
Get Jonathan Regenstein’s stories in your inboxThe Secret Assistant: Snowflake Cortex CodeSort: