InternLM / InternLM/lmdeploy

[Feature] pipeline.get_logits() support tensor on gpu as input rather than list input

Open
#2,926 0 comments 0 reactions 1 assignee Claimed by @lzhangzz View on GitHub
Dominant language
Python
Stars
8.1k
Forks
748
Avg merge
6d 2h
Merged PRs (30d)
54

Description

### Motivation

Now the get_logits() function of pipeline only support list input from cpu, could you support tensor input on gpu?

### Related resources

_No response_

### Additional context

_No response_

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.