Skip to content

Commit 6591c8c

Browse files
committed
[fbgemm_gpu] Fix test reliability with table order
- Fix test reliability with table order
1 parent 9df97a7 commit 6591c8c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

fbgemm_gpu/fbgemm_gpu/split_table_batched_embeddings_ops_training.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1560,7 +1560,7 @@ def get_table_name_for_logging(table_names: Optional[list[str]]) -> str:
15601560
return "<Unknown>"
15611561
# Do this because sometimes multiple shards of the same table could appear
15621562
# in one TBE.
1563-
table_name_set = set(table_names)
1563+
table_name_set = sorted(list(set(table_names)))
15641564
if len(table_name_set) == 1:
15651565
return next(iter(table_name_set))
15661566
return f"<{len(table_name_set)} tables>: {table_name_set}"

fbgemm_gpu/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,7 @@ def main(argv: list[str]) -> None:
655655
]
656656
+ [
657657
f"Programming Language :: Python :: {x}"
658-
for x in ["3", "3.9", "3.10", "3.11", "3.12", "3.13"]
658+
for x in ["3", "3.10", "3.11", "3.12", "3.13"]
659659
],
660660
)
661661

0 commit comments

Comments
 (0)