MCPcopy Index your code
hub / github.com/InternLM/lmdeploy / eager_mode

Method eager_mode

lmdeploy/cli/utils.py:640–647  ·  view source on GitHub ↗

Add argument eager_mode to parser.

(parser)

Source from the content-addressed store, hash-verified

638
639 @staticmethod
640 def eager_mode(parser):
641 """Add argument eager_mode to parser."""
642
643 return parser.add_argument('--eager-mode',
644 action='store_true',
645 default=False,
646 help='Whether to enable eager mode. '
647 'If True, cuda graph would be disabled')
648
649 @staticmethod
650 def communicator(parser):

Callers 5

add_parser_chatMethod · 0.80
add_parser_api_serverMethod · 0.80
parse_argsFunction · 0.80
parse_argsFunction · 0.80
parse_argsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected