[XLA] Remove unused cache_key field from HloModuleGroup

PiperOrigin-RevId: 843854869
This commit is contained in:
Michael Kuperstein
2025-12-12 15:30:53 -08:00
committed by TensorFlower Gardener
parent ab3cb07046
commit 23b6ac7fa8

View File

@@ -92,18 +92,10 @@ class HloModuleGroup {
// Returns true if there are no modules in the module group.
bool empty() const { return !module_; }
absl::string_view cache_key() const { return cache_key_; }
void set_cache_key(absl::string_view cache_key) {
cache_key_ = std::string(cache_key);
}
private:
std::string name_;
// Vector of modules as std::unique_ptrs.
std::unique_ptr<HloModule> module_;
std::string cache_key_;
};
std::ostream& operator<<(std::ostream& out, const HloModuleGroup& group);