Update baby-llama.cpp

This commit is contained in:
0xspringtime 2023-06-12 14:45:19 -04:00 committed by GitHub
parent 9301ff0624
commit 55290ba801
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -148,10 +148,9 @@ struct llama_hparams_lora {
uint32_t n_rot = 64; uint32_t n_rot = 64;
uint32_t n_lora = 64; uint32_t n_lora = 64;
bool operator!=(const llama_hparams & other) const { bool operator!=(const llama_hparams_lora & other) const {
return memcmp(this, &other, sizeof(llama_hparams)) != 0; return memcmp(this, &other, sizeof(llama_hparams_lora)) != 0;
} }
};
struct llama_layer { struct llama_layer {
// normalization // normalization