Skip to content

Commit dfaf999

Browse files
howard0suCopilot
andcommitted
gemma4: fix namespace dflash27b -> dflash::common after rebase
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent d399796 commit dfaf999

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

dflash/src/gemma4/gemma4_backend.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -936,7 +936,7 @@ bool Gemma4Backend::handle_compress(const std::string & line,
936936

937937
void Gemma4Backend::free_drafter() {
938938
if (drafter_loaded_) {
939-
dflash27b::free_drafter(drafter_ctx_);
939+
::dflash::common::free_drafter(drafter_ctx_);
940940
drafter_loaded_ = false;
941941
}
942942
}

dflash/src/gemma4/gemma4_dflash_target.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#include <cmath>
88
#include <cstdio>
99

10-
namespace dflash27b {
10+
namespace dflash::common {
1111

1212
Gemma4DFlashTarget::Gemma4DFlashTarget(
1313
Gemma4Weights & w,
@@ -148,4 +148,4 @@ const std::vector<int> & Gemma4DFlashTarget::capture_layer_ids() const {
148148
return capture_ids_;
149149
}
150150

151-
} // namespace dflash27b
151+
} // namespace dflash::common

dflash/src/gemma4/gemma4_dflash_target.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
#include <vector>
1616

17-
namespace dflash27b {
17+
namespace dflash::common {
1818

1919
class Gemma4DFlashTarget : public DFlashTarget {
2020
public:
@@ -60,4 +60,4 @@ class Gemma4DFlashTarget : public DFlashTarget {
6060
Gemma4Snapshot verify_snap_;
6161
};
6262

63-
} // namespace dflash27b
63+
} // namespace dflash::common

0 commit comments

Comments
 (0)