mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-10 09:04:36 +00:00
test without g3n fix
This commit is contained in:
parent
8cebec5128
commit
bc2877d2fe
1 changed files with 5 additions and 5 deletions
|
@ -2292,11 +2292,11 @@ ModelLoadResult gpttype_load_model(const load_model_inputs inputs, FileFormat in
|
||||||
}
|
}
|
||||||
//handle override tensor
|
//handle override tensor
|
||||||
std::string tensoroverrides = inputs.override_tensors;
|
std::string tensoroverrides = inputs.override_tensors;
|
||||||
if(file_format_meta.model_architecture==GGUFArch::ARCH_GEMMA3N)
|
// if(file_format_meta.model_architecture==GGUFArch::ARCH_GEMMA3N)
|
||||||
{
|
// {
|
||||||
std::string forced = "per_layer_token_embd.weight=CPU"; //this tensor on gpu is problematic on unsloth q4_0
|
// std::string forced = "per_layer_token_embd.weight=CPU"; //this tensor on gpu is problematic on unsloth q4_0
|
||||||
tensoroverrides = (tensoroverrides=="" ? forced: (forced+","+tensoroverrides));
|
// tensoroverrides = (tensoroverrides=="" ? forced: (forced+","+tensoroverrides));
|
||||||
}
|
// }
|
||||||
if(tensoroverrides!="" && ggml_backend_dev_count()>1)
|
if(tensoroverrides!="" && ggml_backend_dev_count()>1)
|
||||||
{
|
{
|
||||||
printf("Handling Override Tensors for backends: ");
|
printf("Handling Override Tensors for backends: ");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue