[Model Runner V2] Enable encoder token classification (#50293)
Signed-off-by: Taneem Ibrahim <taneem.ibrahim@gmail.com>
This commit is contained in:
@@ -291,7 +291,9 @@ class GPUModelRunner(LoRAModelRunnerMixin):
|
||||
# Do not rely on pooling_runner here, since this information is needed
|
||||
# on the first PP rank, while pooling_runner is only initialized
|
||||
# on the last PP rank.
|
||||
tasks.extend(PoolingRunner.get_supported_tasks(self.model))
|
||||
tasks.extend(
|
||||
PoolingRunner.get_supported_tasks(self.model, self.model_config)
|
||||
)
|
||||
return tuple(tasks)
|
||||
|
||||
def load_model(self, load_dummy_weights: bool = False, *args, **kwargs) -> None:
|
||||
|
||||
Reference in New Issue
Block a user