try macOS fix
This commit is contained in:
parent
299d681c52
commit
baa8b5d2d2
1 changed files with 1 additions and 1 deletions
|
@ -262,7 +262,7 @@ static FILE * get_handcrafted_file(const unsigned int seed, const enum handcraft
|
||||||
|
|
||||||
size_t type_size = hft == HANDCRAFTED_KV_BAD_TYPE ? 1 : gguf_type_size(type);
|
size_t type_size = hft == HANDCRAFTED_KV_BAD_TYPE ? 1 : gguf_type_size(type);
|
||||||
if (hft == HANDCRAFTED_KV_BAD_VALUE_SIZE) {
|
if (hft == HANDCRAFTED_KV_BAD_VALUE_SIZE) {
|
||||||
type_size += rng() % 3 - 1;
|
type_size += rng() % 3;
|
||||||
}
|
}
|
||||||
helper_write(data, type_size, file);
|
helper_write(data, type_size, file);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue