Skip to content

Problem with finetuning speed #9

@insundaycathy

Description

@insundaycathy

Hi, thanking for the great work.
But when I tried to finetune the network on my own data, I encounter problems with efficiency.

  1. If I set the num_workers in the Dataloader to >0, the data loading process becomes extremely slow and the loading time increases with each worker.
  2. The time to backpropagate tho the graph (the time to execute this line of code) increases in proportion to the batch size.
    scaler.scale(loss).backward()

I want to ask if this is normal in finetuning or have I somehow introduced a bug. Also, is there anyway to speed up?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions