Skip to content

Commit

Permalink
add enable_async_update into tbe config (pytorch#2599)
Browse files Browse the repository at this point in the history
Summary:

X-link: pytorch/FBGEMM#3431

X-link: facebookresearch/FBGEMM#518

ad eanble_async_update into tbe config

Reviewed By: chrisxcai

Differential Revision: D66550001
  • Loading branch information
duduyi2013 authored and facebook-github-bot committed Dec 3, 2024
1 parent f0768a0 commit 40d5fbc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions torchrec/distributed/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -650,6 +650,7 @@ class KeyValueParams:
stats_reporter_config: Optional[TBEStatsReporterConfig] = None
use_passed_in_path: bool = True
l2_cache_size: Optional[int] = None
enable_async_update: Optional[bool] = None

# Parameter Server (PS) Attributes
ps_hosts: Optional[Tuple[Tuple[str, int], ...]] = None
Expand All @@ -672,6 +673,7 @@ def __hash__(self) -> int:
self.gather_ssd_cache_stats,
self.stats_reporter_config,
self.l2_cache_size,
self.enable_async_update,
)
)

Expand Down

0 comments on commit 40d5fbc

Please sign in to comment.