MCPcopy
hub / github.com/InternLM/lmdeploy / revision

Method revision

lmdeploy/cli/utils.py:163–169  ·  view source on GitHub ↗
(parser, default: str = None)

Source from the content-addressed store, hash-verified

161
162 @staticmethod
163 def revision(parser, default: str = None):
164 return parser.add_argument('--revision',
165 type=str,
166 default=default,
167 help='The specific model version to use. '
168 'It can be a branch name, a tag name, or a commit id. '
169 'If unspecified, will use the default version.')
170
171 @staticmethod
172 def download_dir(parser, default: str = None):

Callers 5

add_parser_chatMethod · 0.80
add_parser_api_serverMethod · 0.80
add_parser_auto_awqMethod · 0.80
add_parser_auto_gptqMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected