Skip to content

expose dataloader configuration in all configs #1971

Open
@felipemello1

Description

Currently, we dont allow users to decide on their own the number of works, pin_to_memory, etc. We should expose it in the configs.

Recipe example:

dataloader = DataLoader(

then in the config we have something like:

dataloader:
	batch_size:  ...
	num_workers: 0 # set to -1 to use all. This may not work in some setups.
	pin_memory: False # Set to true to xyz
	#TODO: check if it makes sense to expose other arguments

The script in this PR should help to bulk update the configs: #1954

Metadata

Assignees

No one assigned

    Labels

    community help wantedWe would love the community's help completing this issueenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions