wenmeng.zwm aaa604cb16 [to #43878347] device placement support certain gpu
1. add device util to verify, create and place device
2. pipeline and trainer support update
3.  fix pipeline which use tf models does not place model to the right device

usage

```python
pipe = pipeline('damo/xxx', device='cpu')
pipe = pipeline('damo/xxx', device='gpu')
pipe = pipeline('damo/xxx', device='gpu:0')
pipe = pipeline('damo/xxx', device='gpu:2')
pipe = pipeline('damo/xxx', device='cuda')
pipe = pipeline('damo/xxx', device='cuda:1')
```
 Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9800672
2022-08-22 15:32:00 +08:00
2022-08-17 22:51:22 +08:00

Introduction

ModelScope library is targeted to support training, evaluation and inference for the state of the art models provided by Mind and further support third-party models provided by users outside alibaba.

Design doc

Please refer to alidoc link

Development doc

Please refer to develop.md

ChangeLog

  • 20/05/2022 First release version

Refer to change_log.md for more details

Description
ModelScope: bring the notion of Model-as-a-Service to life.
Readme Apache-2.0 69 MiB
Languages
Python 98.7%
Cuda 0.8%
C++ 0.4%