Skip to content

docs: document multi-worker DataLoader support for remote tables#260

Open
mintlify[bot] wants to merge 1 commit into
mainfrom
mintlify/f5da8d82
Open

docs: document multi-worker DataLoader support for remote tables#260
mintlify[bot] wants to merge 1 commit into
mainfrom
mintlify/f5da8d82

Conversation

@mintlify
Copy link
Copy Markdown
Contributor

@mintlify mintlify Bot commented Jun 1, 2026

Summary

Document that remote LanceDB tables can now be used directly with multi-worker PyTorch DataLoaders, and refresh guidance on the optional with_connection_factory escape hatch.

Changes

  • Add a "Using multiple DataLoader workers" section to the PyTorch integration page covering num_workers, spawn, and persistent_workers.
  • Add a subsection showing remote (db://) tables working in worker processes out of the box.
  • Add a subsection showing how to provide a custom connection factory when credentials should be loaded inside the worker.

Context

Triggered by an upstream change that lets remote tables carry their connection state through pickling so they reopen correctly in PyTorch DataLoader workers, while keeping the connection factory available for custom credential loading.

@mintlify
Copy link
Copy Markdown
Contributor Author

mintlify Bot commented Jun 1, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
lancedb-bcbb4faf 🟢 Ready View Preview Jun 1, 2026, 9:57 AM

@prrao87 prrao87 added the needs_new_release Only merge once we release a new version of LanceDB label Jun 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs_new_release Only merge once we release a new version of LanceDB

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant