integrate autofit for upstream, removed forceversion

This commit is contained in:
Concedo 2025-12-17 18:42:47 +08:00
parent 9bc724f86c
commit 1e083d9c8b
4 changed files with 63 additions and 19 deletions

View file

@ -36,16 +36,8 @@ extern "C"
mmproj_filename = inputs.mmproj_filename;
draftmodel_filename = inputs.draftmodel_filename;
int forceversion = inputs.forceversion;
file_format = check_file_format(model.c_str(),&file_format_meta);
if(forceversion!=0)
{
printf("\nWARNING: FILE FORMAT FORCED TO VER %d\nIf incorrect, loading may fail or crash.\n",forceversion);
file_format = (FileFormat)forceversion;
}
//first digit is whether configured, second is platform, third is devices
int cl_parseinfo = inputs.clblast_info;