We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bea4890 commit b4137fcCopy full SHA for b4137fc
fbgemm_gpu/fbgemm_gpu/tbe/ssd/training.py
@@ -2291,8 +2291,7 @@ def split_optimizer_states(
2291
table_offset += emb_height
2292
logging.info(
2293
f"KV ZCH tables split_optimizer_states query latency: {(time.time() - start_time) * 1000} ms, "
2294
- # pyre-ignore [16]
2295
- f"num ids list: {[ids.numel() for ids in sorted_id_tensor]}"
+ f"num ids list: {None if not sorted_id_tensor else [ids.numel() for ids in sorted_id_tensor]}"
2296
)
2297
return opt_list
2298
0 commit comments