Skip to content
This repository was archived by the owner on Nov 20, 2024. It is now read-only.
This repository was archived by the owner on Nov 20, 2024. It is now read-only.

Support per_process_gpu_memory_fraction for pytorch and spacy models? #21

@ambroserb3

Description

@ambroserb3

Setting per_process_gpu_memory_fraction seems to work for our tensorflow models, but doesn't seem to work for our pytorch and spacy models. So we consistently run into Out of memory errors since spacy, and pytorch models are using the same vgpus as our tensorflow models?

I know torch released this: https://pytorch.org/docs/stable/generated/torch.cuda.set_per_process_memory_fraction.html#torch.cuda.set_per_process_memory_fraction in 1.8.0, is there a way to use this flag with this plugin? Is there an equivalent with spacy models?

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