File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 19
19
<a href =" https://pypi.org/project/ms-swift/ " ><img src =" https://badge.fury.io/py/ms-swift.svg " ></a >
20
20
<a href =" https://github.com/modelscope/swift/blob/main/LICENSE " ><img src =" https://img.shields.io/github/license/modelscope/swift " ></a >
21
21
<a href =" https://pepy.tech/project/ms-swift " ><img src =" https://pepy.tech/badge/ms-swift " ></a >
22
- <a href =" https://github.com/modelscope/swift/ " ><img src =" https://img.shields.io/badge/ms--swift-Build from source-6FEBB9 .svg " ></a >
22
+ <a href =" https://github.com/modelscope/swift/pulls " ><img src =" https://img.shields.io/badge/PR-welcome-55EB99 .svg " ></a >
23
23
</p >
24
24
25
25
## 📖 Table of Contents
Original file line number Diff line number Diff line change 19
19
<a href =" https://pypi.org/project/ms-swift/ " ><img src =" https://badge.fury.io/py/ms-swift.svg " ></a >
20
20
<a href =" https://github.com/modelscope/swift/blob/main/LICENSE " ><img src =" https://img.shields.io/github/license/modelscope/swift " ></a >
21
21
<a href =" https://pepy.tech/project/ms-swift " ><img src =" https://pepy.tech/badge/ms-swift " ></a >
22
- <a href =" https://github.com/modelscope/swift/ " ><img src =" https://img.shields.io/badge/ms--swift-Build from source-6FEBB9 .svg " ></a >
22
+ <a href =" https://github.com/modelscope/swift/pulls " ><img src =" https://img.shields.io/badge/PR-welcome-55EB99 .svg " ></a >
23
23
</p >
24
24
25
25
## 📖 目录
Original file line number Diff line number Diff line change @@ -585,12 +585,12 @@ class DeployArguments(InferArguments):
585
585
ssl_certfile : Optional [str ] = None
586
586
587
587
def __post_init__ (self ):
588
+ super ().__post_init__ ()
588
589
model_info = MODEL_MAPPING [self .model_type ]
589
590
tags = model_info .get ('tags' , [])
590
591
if 'multi-modal' in tags :
591
592
raise ValueError (
592
593
'Deployment of multimodal models is currently not supported.' )
593
- super ().__post_init__ ()
594
594
595
595
596
596
@dataclass
You can’t perform that action at this time.
0 commit comments