mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-24 11:08:50 +00:00
[embedding] rename FreqAwareEmbedding -> CachedEmbedding (#1699)
This commit is contained in:
@@ -352,7 +352,8 @@ class CachedParamMgr(torch.nn.Module):
|
||||
|
||||
# move sure the cuda rows will not be evicted!
|
||||
with record_function("(cache) prepare_rows_on_cuda"):
|
||||
self._prepare_rows_on_cuda(comm_cpu_row_idxs)
|
||||
with self.timer("prepare_rows_on_cuda") as timer:
|
||||
self._prepare_rows_on_cuda(comm_cpu_row_idxs)
|
||||
|
||||
self.evict_backlist = torch.tensor([], device=cpu_row_idxs.device, dtype=cpu_row_idxs.dtype)
|
||||
|
||||
|
Reference in New Issue
Block a user