File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
src/bentoml/_internal/bento Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 2424from ..configuration import get_bentoml_requirement
2525from ..configuration import get_debug_mode
2626from ..configuration import get_quiet_mode
27+ from ..configuration .containers import BentoMLContainer
2728from ..container import generate_containerfile
2829from ..container .frontend .dockerfile import ALLOWED_CUDA_VERSION_ARGS
2930from ..container .frontend .dockerfile import CONTAINER_SUPPORTED_DISTROS
@@ -886,7 +887,9 @@ def __attrs_post_init__(self) -> None:
886887 )
887888
888889 if self .args :
889- set_arguments (** self .args )
890+ # Merge command line args with the ones in the config file
891+ # and the command line args take precedence
892+ set_arguments (** self .args , ** BentoMLContainer .bento_arguments .get ())
890893
891894 def with_defaults (self ) -> FilledBentoBuildConfig :
892895 """
You can’t perform that action at this time.
0 commit comments