Skip to content

Commit 46ada5f

Browse files
aliafzalmeta-codesync[bot]
authored andcommitted
unused import [6/n] (#3417)
Summary: Pull Request resolved: #3417 https://www.flake8rules.com/rules/F401.html Reviewed By: TroyGarden Differential Revision: D83739310 fbshipit-source-id: 7baacb1a10cf3c9753b8637ac69f6702f27c6e13
1 parent a31bd76 commit 46ada5f

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

torchrec/distributed/benchmark/benchmark_zch/data/get_metric_modules.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import argparse
1010
import os
1111
import sys
12-
from typing import Any, Dict, List, Optional, Tuple, Union
12+
from typing import Dict
1313

1414
import torch
1515
import yaml

torchrec/distributed/benchmark/benchmark_zch/data/nonzch_remapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
# pyre-strict
99
from dataclasses import dataclass
10-
from typing import Dict, List, Optional, Tuple, Union
10+
from typing import Dict, List, Union
1111

1212
import torch
1313
from torchrec.modules.embedding_configs import EmbeddingBagConfig, EmbeddingConfig

torchrec/distributed/benchmark/benchmark_zch/data/preprocess/movielens_1m.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
import os
1111

1212
from dataclasses import dataclass
13-
from typing import Any, Dict, List, Tuple, Union
13+
from typing import Any, Dict, List, Union
1414

1515
import pandas as pd
1616
import torch

torchrec/modules/embedding_configs.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,11 @@
77

88
# pyre-strict
99

10-
from abc import ABC
1110
from dataclasses import dataclass, field
1211
from enum import Enum, unique
1312
from functools import partial
1413
from math import sqrt
15-
from typing import Callable, Dict, List, NamedTuple, Optional, Tuple
14+
from typing import Callable, Dict, List, NamedTuple, Optional
1615

1716
import torch
1817
from fbgemm_gpu.split_embedding_configs import SparseType

0 commit comments

Comments
 (0)