Finding the optimal parameters for a Dataloader.
Project description
⚡ DataLoader Parameter Optimization Package
🚀 Optimize torch.utils.data.DataLoader Parameters Effortlessly
torch.utils.data.DataLoader parameters such as num_workers, prefetch_factor, pin_memory, and persistent_workers can be challenging and system-dependent. This package leverages efficient algorithms to streamline the process, saving you time and effort while enhancing your model's training speed.
Overview
This package is designed to optimize the loading parameters for
torch.utils.data.DataLoader, specifically num_workers, prefetch_factor,
pin_memory, and persistent_workers.
These parameters can have varying optimal values depending on the specific hardware and system configurations.
While the identified configuration may not always guarantee absolute optimality, it is designed to outperform default settings and significantly accelerate your training pipeline, ensuring your model runs more efficiently.
Caching and Loading Optimized Parameters
Installation
pip. Follow the command below to install:
pip install dataloader-param-helper
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dataloader_param_helper-0.1.1.tar.gz.
File metadata
- Download URL: dataloader_param_helper-0.1.1.tar.gz
- Upload date:
- Size: 12.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.10.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5d1f77bc0f8d59af68db099f0ce744abb87ad3325b7648dfa8fb3ad9c49d2a0c
|
|
| MD5 |
7688e8da2c6344acd683e02f652fec5c
|
|
| BLAKE2b-256 |
ebd252e5374b4a9e4db19c815030e836ab7d38e8b384b1cc05eba9e0293c6f85
|
File details
Details for the file dataloader_param_helper-0.1.1-py3-none-any.whl.
File metadata
- Download URL: dataloader_param_helper-0.1.1-py3-none-any.whl
- Upload date:
- Size: 10.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.10.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
536109f7a2bbf4330c6de68fb560980d8957fc3b15f2405a3ad1c358c5292a66
|
|
| MD5 |
36b8d66391ecdc30cef4b74e0361706e
|
|
| BLAKE2b-256 |
ab682063aa0cd1a578d1f265806e9ccc24dd531bdbc5ed2599e6e06386bb82ea
|