gpu-document-processing

Extract structured text, tables, and embeddings from multi-page PDFs using GPU acceleration.

Updated Apr 12, 2026
One-click install
npx skills add https://github.com/dotlab-hq/torque --skill gpu-document-processing-dotlab-hq
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gpu-document-processing
Source: https://github.com/dotlab-hq/torque/tree/main/.agents/skills/gpu-document-processing
Command: npx skills add https://github.com/dotlab-hq/torque --skill gpu-document-processing-dotlab-hq

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Large multi-page PDFs and document collections are slow and costly to process on CPU-only systems, and manual extraction of text, tables, and embeddings from many files is time-consuming and error-prone. This Skill enables high-throughput, GPU-accelerated parsing and embedding generation while keeping reasoning and orchestration on the CPU to protect credentials and reduce costs.

Core Features & Use Cases

  • High-volume PDF text extraction: Preserve layout, headers, paragraphs, lists, and page references for documents with 50+ pages.
  • Robust table extraction: Convert complex PDF tables to CSV or DataFrames with merged cell and multi-row header handling.
  • Semantic document chunking: Produce meaningful chunks for retrieval and summarization with configurable sizes and overlap.
  • Embedding generation at scale: Batch GPU-accelerated embeddings compatible with vector stores (Milvus, ChromaDB) and NVIDIA NeMo Retriever.
  • Sandbox-as-tool architecture: Offload heavy parsing and model inference to a GPU sandbox while the agent performs planning and synthesis on CPU.

Quick Start

Process the attached 120-page PDF 'annual_report.pdf' to extract structured text and tables, create semantic chunks with 512-token targets, generate batch embeddings, and return a per-document summary with page references.

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 and text from large multi-page PDFs using GPU acceleration?

GPU-accelerated document processing extracts structured text and complex tables from large multi-page PDFs, preserving layout and handling merged cells. It offloads parsing and embedding generation to a sandboxed GPU while orchestrating reasoning on the CPU to reduce costs.

What is the best way to generate batch embeddings for a large document collection?

Batch embedding generation for document collections is handled by GPU-accelerated processing that produces vector embeddings compatible with standard vector stores like Milvus and ChromaDB. This method enables high-throughput semantic chunking and embedding generation for retrieval workflows.

Does GPU document processing work with vector stores like Milvus or ChromaDB?

Yes, GPU document processing works with standard vector stores like Milvus and ChromaDB, as well as NVIDIA NeMo Retriever. It generates batch embeddings specifically formatted for seamless integration into these search and retrieval environments.

How do I perform semantic chunking on PDFs for retrieval and summarization?

Semantic document chunking for retrieval and summarization is performed by configuring target sizes and overlaps during GPU-accelerated processing. This approach creates meaningful chunks from multi-page PDFs, maintaining page references for downstream analysis.

Can I convert complex PDF tables to DataFrames with merged cell and multi-row header handling?

Yes, you can convert complex PDF tables to CSV files or DataFrames with robust table extraction. The GPU-accelerated parsing specifically handles merged cells and multi-row headers, ensuring accurate structured data conversion from large documents.

Why does GPU document processing keep reasoning and orchestration on the CPU?

GPU document processing keeps reasoning and orchestration on the CPU to protect credentials and reduce overall costs. This sandbox-as-tool architecture offloads only heavy parsing and model inference to the GPU sandbox, ensuring secure and efficient high-throughput execution.