explosion / explosion/spaCy

How to free up tensor from GPU while using en_core_web_trf for inference

Open
#9,086 2 comments 0 reactions 0 assignees View on GitHub
feat / transformer gpu perf / memory
Dominant language
Python
Stars
33.9k
Forks
4.7k
Avg merge
3m
Merged PRs (30d)
1

Description

Getting OOM while inferencing documents using the spacy Transformer model.
The GPU memory is not getting free up when doc object get created.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.