Skip to content

checkpointing: make code aware of changed GPU device on resume #71

@mwibral

Description

@mwibral

I just noticed that resuming from a checkpoint with the current code will assume tht it is running on the same GPU (number) as before. E.g. if the process started on GPU #0, after resume it will assume it is still running on GPU #0. However if you work on a cluster and your resume command goes through eh queuing system, then the process may well run on GPU#1,2,3 etc. after resume.

Fix: Provide the GPU number as an additional argument to the resume function.

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