Skip to content

Commit

Permalink
update DTensor namespace for non public APIs in TorchRec (pytorch#2314)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: pytorch#2314

Interim fix to use torchrec LocalShardsWrapper to fix OSS CI for `_shards_wrapper` while PT distributed tensor namespace changes sync to internal.

Reviewed By: PaulZhang12

Differential Revision: D61483729

fbshipit-source-id: 42f2fe7e5234bc327966ffbe67c4750606f15595
  • Loading branch information
iamzainhuda authored and facebook-github-bot committed Aug 20, 2024
1 parent 63d46fb commit b6380be
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions torchrec/distributed/tests/test_shards_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@
from typing import List, Optional, Union

import torch
from hypothesis import settings, Verbosity
from torch import distributed as dist
from torch.distributed._tensor._shards_wrapper import LocalShardsWrapper
from torchrec.distributed.shards_wrapper import LocalShardsWrapper
from torchrec.distributed.test_utils.multi_process import (
MultiProcessContext,
MultiProcessTestBase,
Expand Down

0 comments on commit b6380be

Please sign in to comment.