windows-cupy-nvrtc

Configure Windows PATH to resolve CuPy NVRTC compilation errors.

3|Updated Dec 10, 2025
One-click install
npx skills add https://github.com/smith6jt-cop/Skills_Registry --skill windows-cupy-nvrtc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: windows-cupy-nvrtc
Source: https://github.com/smith6jt-cop/Skills_Registry/tree/main/plugins/scientific/windows-cupy-nvrtc/skills/windows-cupy-nvrtc
Command: npx skills add https://github.com/smith6jt-cop/Skills_Registry --skill windows-cupy-nvrtc

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates frustrating CuPy NVRTC compilation failures on Windows systems, saving you hours of debugging time.

Core Features & Use Cases

  • Automatic CUDA Path Detection: Dynamically finds and adds CUDA directories to PATH before CuPy imports.
  • Jupyter Notebook Integration: Add GPU support with a single cell at notebook start.
  • Use Case: When your CuPy code crashes with "nvrtc-builtins64 not found" errors.

Quick Start

When you get the error "NVRTC_ERROR_BUILTIN_OPERATION_FAILURE", use this Skill to automatically configure your Windows environment for seamless GPU acceleration.

Quick Start

Fix the CuPy NVRTC compilation error for the current Windows environment.

Frequently Asked Questions about windows-cupy-nvrtc

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix CuPy NVRTC compilation errors on Windows?

CuPy NVRTC compilation errors on Windows occur when CUDA binaries aren't discoverable at runtime. This Skill dynamically adds CUDA directories to PATH before importing CuPy, resolving errors like NVRTC_ERROR_BUILTIN_OPERATION_FAILURE and missing nvrtc-builtins64 DLLs on Windows 10/11 with CUDA 12.x and CuPy 13.x.

Why does CuPy fail with 'nvrtc-builtins64 not found' on Windows?

This error occurs when Windows cannot locate NVRTC runtime libraries because CUDA installation directories aren't in the system PATH. The Skill detects nvrtc DLL presence and automatically configures PATH at runtime or per-session to make CUDA binaries discoverable before CuPy GPU operations execute.

Can I use CuPy GPU acceleration in Jupyter notebooks on Windows?

Yes. This Skill provides Jupyter notebook integration to add GPU support with a single setup cell at notebook start, automatically detecting and configuring CUDA paths so CuPy GPU operations work without manual environment configuration.

Does this Skill work with CUDA 12.x and CuPy 13.x on Windows?

This Skill is designed specifically for Windows 10/11 environments running CUDA 12.x and CuPy 13.x in Conda or pip setups. It handles runtime PATH modification and DLL detection for these versions to resolve NVRTC compilation failures.

What Windows environments does this NVRTC fix support?

The Skill supports Windows 10 and Windows 11 with CUDA 12.x and CuPy 13.x installed via Conda or pip. It modifies PATH at runtime or per-session and detects nvrtc DLL presence to ensure CUDA binaries are discoverable.

Do I need to manually edit environment variables to fix CuPy GPU errors?

No. This Skill automatically configures your Windows environment by detecting CUDA directories and adding them to PATH at runtime before importing CuPy, eliminating the need for manual environment variable editing or system restarts.