You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, from_pretrained() for BertForSequenceClassification does not support device_map='auto', and is preventing inference using large models that don't fit into a single GPU. I'd also appreciate it if you could suggest the best alternative right now.
Motivation
Inference using large models that don't fit into a single GPU is a big issue.
Your contribution
N/A
The text was updated successfully, but these errors were encountered:
Feature request
Currently, from_pretrained() for BertForSequenceClassification does not support
device_map='auto'
, and is preventing inference using large models that don't fit into a single GPU. I'd also appreciate it if you could suggest the best alternative right now.Motivation
Inference using large models that don't fit into a single GPU is a big issue.
Your contribution
N/A
The text was updated successfully, but these errors were encountered: