File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2208,28 +2208,28 @@ common_params_context common_params_parser_init(common_params & params, llama_ex
22082208 [](common_params & params, const std::string & value) {
22092209 params.mmproj .path = value;
22102210 }
2211- ).set_examples (mmproj_examples));
2211+ ).set_examples (mmproj_examples). set_env ( " LLAMA_ARG_MMPROJ " ) );
22122212 add_opt (common_arg (
22132213 {" --mmproj-url" }, " URL" ,
22142214 " URL to a multimodal projector file. see tools/mtmd/README.md" ,
22152215 [](common_params & params, const std::string & value) {
22162216 params.mmproj .url = value;
22172217 }
2218- ).set_examples (mmproj_examples));
2218+ ).set_examples (mmproj_examples). set_env ( " LLAMA_ARG_MMPROJ_URL " ) );
22192219 add_opt (common_arg (
22202220 {" --no-mmproj" },
22212221 " explicitly disable multimodal projector, useful when using -hf" ,
22222222 [](common_params & params) {
22232223 params.no_mmproj = true ;
22242224 }
2225- ).set_examples (mmproj_examples));
2225+ ).set_examples (mmproj_examples). set_env ( " LLAMA_ARG_NO_MMPROJ " ) );
22262226 add_opt (common_arg (
22272227 {" --no-mmproj-offload" },
22282228 " do not offload multimodal projector to GPU" ,
22292229 [](common_params & params) {
22302230 params.mmproj_use_gpu = false ;
22312231 }
2232- ).set_examples (mmproj_examples));
2232+ ).set_examples (mmproj_examples). set_env ( " LLAMA_ARG_NO_MMPROJ_OFFLOAD " ) );
22332233 add_opt (common_arg (
22342234 {" --image" }, " FILE" ,
22352235 " path to an image file. use with multimodal models. Specify multiple times for batching" ,
You can’t perform that action at this time.
0 commit comments