You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(1/n) Support DI sharding for FPE_EBC (pytorch#2968)
Summary:
Support models that have FeatureProcessedEmbeddingBagCollection.
These changes make sure we add QuantFeatureProcessedEmbeddingBagCollectionSharder as a recognized sharder, handle multiple envs needed for specifying DI sharding, and propagate TBE properly when processing the sharding plan.
This doesn't support true hybrid sharding yet, so FPE_EBCs must be all sharded with the same (sharding_type, device).
Differential Revision: D74671655
), "Cannot have any two of ShardedQuantEmbeddingBagCollection, ShardedQuantEmbeddingCollectionand ShardedQuantManagedCollisionEmbeddingCollection are true"
469
+
is_sqec+is_sqebc+is_sqmcec+is_sfpebc==1
470
+
), "Cannot have any two of ShardedQuantEmbeddingBagCollection, ShardedQuantEmbeddingCollection, ShardedQuantManagedCollisionEmbeddingCollection and ShardedQuantFeatureProcessedEmbeddingBagCollection are true"
0 commit comments