Skip to content
This repository was archived by the owner on Apr 18, 2026. It is now read-only.

Improve Tabular Training Speed with FastTensorDataLoader for Large Datasets - #19

Open
daksh777f wants to merge 2 commits into
usarfoss:mainfrom
daksh777f:feature/tabular
Open

Improve Tabular Training Speed with FastTensorDataLoader for Large Datasets#19
daksh777f wants to merge 2 commits into
usarfoss:mainfrom
daksh777f:feature/tabular

Conversation

@daksh777f

Copy link
Copy Markdown

#Description
This PR addresses a major performance bottleneck in training tabular models on large datasets using FastAI. The default DataLoader implementation introduces significant overhead when working with torch.Tensor inputs, particularly for large, in-memory tabular datasets.

To resolve this, we integrate the FastTensorDataLoader, a lightweight and efficient DataLoader alternative that directly batches tensors without additional indexing or worker overhead. This change dramatically improves training speed (up to 20x faster in tests) without affecting model accuracy or API ergonomics.

Fix #9

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FastAI 20x slower for tabular datasets vs hand-rolled Pytorch

1 participant