Skip to content

Commit

Permalink
Remove the unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
ufownl committed Oct 25, 2024
1 parent 9c46b6d commit b4feafe
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/session.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -307,17 +307,6 @@ int stats(lua_State* L) {
return 1;
}

template <class Config>
struct image_tokens_factory {
gcpp::ImageTokens operator()() const {
if constexpr (Config::VitConfig::kSeqLen > 0) {
return gcpp::ImageTokens(Config::VitConfig::kSeqLen, Config::kModelDim);
} else {
return gcpp::ImageTokens();
}
}
};

}

namespace cgemma {
Expand Down

0 comments on commit b4feafe

Please sign in to comment.