mirror of https://github.com/google/gemma.cpp.git
Fix compilation error of the weights compression tool
This commit is contained in:
parent
dfda53e634
commit
ed88115e6a
|
|
@ -161,8 +161,8 @@ void CompressWeights(const Path& weights_path,
|
||||||
printf("Compressing weights from %s to %s\n", weights_path.path.c_str(),
|
printf("Compressing weights from %s to %s\n", weights_path.path.c_str(),
|
||||||
compressed_weights_path.path.c_str());
|
compressed_weights_path.path.c_str());
|
||||||
|
|
||||||
using CConfig = Configs::c;
|
using CConfig = typename Configs::c;
|
||||||
using UCConfig = Configs::uc;
|
using UCConfig = typename Configs::uc;
|
||||||
// Allocate compressed weights.
|
// Allocate compressed weights.
|
||||||
using CWeights = CompressedWeights<CConfig>;
|
using CWeights = CompressedWeights<CConfig>;
|
||||||
ByteStorageT c_weights_u8 = AllocateCompressedWeights<CConfig>()(pool);
|
ByteStorageT c_weights_u8 = AllocateCompressedWeights<CConfig>()(pool);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue