gpu-document-processing

Extract text and tables from large PDFs using GPU acceleration.

3|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/bogware/bog-agents --skill gpu-document-processing-bogware
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gpu-document-processing
Source: https://github.com/bogware/bog-agents/tree/main/examples/nvidia_deep_agent/skills/gpu-document-processing
Command: npx skills add https://github.com/bogware/bog-agents --skill gpu-document-processing-bogware

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill reduces the time and effort required to extract text, tables, and structured information from large document collections, especially when conventional CPU-only processing becomes too slow or costly.

Core Features & Use Cases

  • GPU-accelerated document processing: Offloads heavy parsing and embedding workloads to a GPU-equipped environment while keeping the main agent reasoning on CPU.
  • Layout-preserving PDF extraction: Detects headers, paragraphs, lists, and tables with page and section boundaries maintained.
  • Table extraction into structured data: Converts PDF tables into CSV/DataFrames with column typing and support for merged/multi-row headers.
  • Semantic chunking and embedding generation: Produces analysis-ready chunks (default 512 tokens) and generates embeddings for large sets via NVIDIA NeMo Retriever NIM.

Quick Start

Use this Skill when the user provides a large PDF or a batch of documents and ask the agent to extract structured text and tables, then return embeddings for the document chunks.

Frequently Asked Questions about gpu-document-processing

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

FAQPage Schema
How do I extract tables from PDF documents in bulk?

To extract tables from PDFs in bulk, this Skill converts PDF tables into structured CSV or DataFrames while maintaining column typing and handling merged or multi-row headers. It processes large document collections by offloading parsing to a GPU environment for faster results.

How do I generate embeddings for large document collections?

You can generate embeddings for large document collections by using this Skill to perform semantic chunking into 512-token segments and running embedding workflows via NVIDIA NeMo Retriever NIM. It keeps agent reasoning on CPU while sending embedding generation to a GPU.

What is the best way to extract text from PDFs while keeping page and section boundaries?

Layout-preserving PDF extraction detects headers, paragraphs, lists, and tables while keeping page and section boundaries intact. This approach ensures structured outputs include per-section content and page-referenced results for accurate document chunking.

Do I need a GPU to extract and chunk large PDF files?

A GPU is required for this Skill because it uses sandbox-as-tool execution to send parsing and embedding workloads to a GPU-equipped environment. This setup is necessary when your document collections exceed typical CPU processing comfort zones for bulk text extraction.

Why does CPU-only document processing become too slow for large PDF collections?

CPU-only document processing becomes slow for large PDF collections because parsing layout, harvesting tables, and generating embeddings are computationally heavy. GPU-accelerated extraction offloads these intensive workloads to reduce the time and effort required for bulk processing.