Add argument trust_remote_code to parser.
(parser)
| 784 | |
| 785 | @staticmethod |
| 786 | def trust_remote_code(parser): |
| 787 | """Add argument trust_remote_code to parser.""" |
| 788 | return parser.add_argument('--trust-remote-code', |
| 789 | action='store_true', |
| 790 | default=False, |
| 791 | help='Whether to trust remote code from model repositories.') |
| 792 | |
| 793 | |
| 794 | # adapted from https://github.com/vllm-project/vllm/blob/main/vllm/utils/__init__.py |
no outgoing calls
no test coverage detected