mirror of https://github.com/google/gemma.cpp.git
Merge pull request #422 from ufownl:bugfix/compress_weights_ce
PiperOrigin-RevId: 685635493
This commit is contained in:
commit
2892e232e2
|
|
@ -161,8 +161,8 @@ void CompressWeights(const Path& weights_path,
|
|||
printf("Compressing weights from %s to %s\n", weights_path.path.c_str(),
|
||||
compressed_weights_path.path.c_str());
|
||||
|
||||
using CConfig = Configs::c;
|
||||
using UCConfig = Configs::uc;
|
||||
using CConfig = typename Configs::c;
|
||||
using UCConfig = typename Configs::uc;
|
||||
// Allocate compressed weights.
|
||||
using CWeights = CompressedWeights<CConfig>;
|
||||
ByteStorageT c_weights_u8 = AllocateCompressedWeights<CConfig>()(pool);
|
||||
|
|
|
|||
Loading…
Reference in New Issue