Skip to content

Error occurs when setting samples_per_gpu=2, seems related to multiprocessing #253

Open

Description

@xxinine

When I set samples_per_gpu=2, the program throws an error. It looks like a multithreading issue. Could you please check if this configuration is supported or if there’s a known workaround?

Image

Activity

  1. HyPoThe365 commented on Dec 25, 2025

    @HyPoThe365

    When I trained the model on a single GPU with samples_per_gpu=2, there was the same error. Have you solved the question?

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions