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 411f71b commit 9b7b223Copy full SHA for 9b7b223
torchrec/distributed/tests/test_dynamic_sharding.py
@@ -583,11 +583,10 @@ def test_sharding(
583
"""
584
Tests resharding from DMP module interface, rather than EBC level.
585
586
- if (
587
- self.device == torch.device("cpu")
588
- and kernel_type != EmbeddingComputeKernel.FUSED.value
589
- ):
590
- self.skipTest("CPU does not support uvm.")
+ assume(
+ self.device != torch.device("cpu")
+ or kernel_type == EmbeddingComputeKernel.FUSED.value
+ )
591
592
assume(
593
sharder_type == SharderType.EMBEDDING_BAG_COLLECTION.value
0 commit comments