Skip to content

Commit 0d49628

Browse files
q10meta-codesync[bot]
authored andcommitted
support loading libraries when installing multiple FBGEMM targets (#4993)
Summary: This addresses #4990 Pull Request resolved: #4993 Reviewed By: jwfromm Differential Revision: D84469019 Pulled By: q10 fbshipit-source-id: fd3c452ae0850b25ca1d54ae4dc631a92cd48eac
1 parent 0659244 commit 0d49628

File tree

12 files changed

+63
-81
lines changed

12 files changed

+63
-81
lines changed

fbgemm_gpu/experimental/example/example/__init__.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@
1515
# pyre-ignore[21]
1616
# @manual=//deeplearning/fbgemm/fbgemm_gpu:test_utils
1717
from fbgemm_gpu import open_source
18-
19-
# pyre-ignore[21]
20-
# @manual=//deeplearning/fbgemm/fbgemm_gpu:test_utils
21-
from fbgemm_gpu.docs.version import __version__ # noqa: F401
2218
except Exception:
2319
open_source: bool = False
2420

fbgemm_gpu/experimental/gemm/triton_gemm/__init__.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,5 @@
1111
# pyre-ignore[21]
1212
# @manual=//deeplearning/fbgemm/fbgemm_gpu:test_utils
1313
from fbgemm_gpu import open_source
14-
15-
# pyre-ignore[21]
16-
# @manual=//deeplearning/fbgemm/fbgemm_gpu:test_utils
17-
from fbgemm_gpu.docs.version import __version__ # noqa: F401
1814
except Exception:
1915
open_source: bool = False

fbgemm_gpu/experimental/gen_ai/bench/__init__.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,5 @@
99
# pyre-ignore[21]
1010
# @manual=//deeplearning/fbgemm/fbgemm_gpu:test_utils
1111
from fbgemm_gpu import open_source
12-
13-
# pyre-ignore[21]
14-
# @manual=//deeplearning/fbgemm/fbgemm_gpu:test_utils
15-
from fbgemm_gpu.docs.version import __version__ # noqa: F401
1612
except Exception:
1713
open_source: bool = False

fbgemm_gpu/experimental/gen_ai/gen_ai/__init__.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@
1515
# pyre-ignore[21]
1616
# @manual=//deeplearning/fbgemm/fbgemm_gpu:test_utils
1717
from fbgemm_gpu import open_source
18-
19-
# pyre-ignore[21]
20-
# @manual=//deeplearning/fbgemm/fbgemm_gpu:test_utils
21-
from fbgemm_gpu.docs.version import __version__ # noqa: F401
2218
except Exception:
2319
open_source: bool = False
2420

fbgemm_gpu/experimental/gen_ai/gen_ai/attention/cutlass_blackwell_fmha/__init__.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@
1010
# pyre-ignore[21]
1111
# @manual=//deeplearning/fbgemm/fbgemm_gpu:test_utils
1212
from fbgemm_gpu import open_source
13-
14-
# pyre-ignore[21]
15-
# @manual=//deeplearning/fbgemm/fbgemm_gpu:test_utils
16-
from fbgemm_gpu.docs.version import __version__ # noqa: F401
1713
except Exception:
1814
open_source: bool = False
1915

fbgemm_gpu/experimental/gen_ai/gen_ai/attention/cutlass_blackwell_fmha/cutlass_blackwell_fmha_interface.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@
1212
# pyre-ignore[21]
1313
# @manual=//deeplearning/fbgemm/fbgemm_gpu:test_utils
1414
from fbgemm_gpu import open_source
15-
16-
# pyre-ignore[21]
17-
# @manual=//deeplearning/fbgemm/fbgemm_gpu:test_utils
18-
from fbgemm_gpu.docs.version import __version__ # noqa: F401
1915
except Exception:
2016
open_source: bool = False
2117

fbgemm_gpu/experimental/gen_ai/gen_ai/moe/__init__.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@
1414
# pyre-ignore[21]
1515
# @manual=//deeplearning/fbgemm/fbgemm_gpu:test_utils
1616
from fbgemm_gpu import open_source
17-
18-
# pyre-ignore[21]
19-
# @manual=//deeplearning/fbgemm/fbgemm_gpu:test_utils
20-
from fbgemm_gpu.docs.version import __version__ # noqa: F401
2117
except Exception:
2218
open_source: bool = False
2319

fbgemm_gpu/experimental/gen_ai/gen_ai/moe/layers.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,6 @@
3838
# pyre-ignore[21]
3939
# @manual=//deeplearning/fbgemm/fbgemm_gpu:test_utils
4040
from fbgemm_gpu import open_source
41-
42-
# pyre-ignore[21]
43-
# @manual=//deeplearning/fbgemm/fbgemm_gpu:test_utils
44-
from fbgemm_gpu.docs.version import __version__ # noqa: F401
4541
except Exception:
4642
open_source: bool = False
4743

fbgemm_gpu/experimental/gen_ai/test/moe/gather_scatter_test.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@
3131
try:
3232
# @manual=//deeplearning/fbgemm/fbgemm_gpu:test_utils
3333
from fbgemm_gpu import open_source
34-
35-
# @manual=//deeplearning/fbgemm/fbgemm_gpu:test_utils
36-
from fbgemm_gpu.docs.version import __version__ # noqa: F401
3734
except Exception:
3835
open_source: bool = False
3936

fbgemm_gpu/experimental/gen_ai/test/moe/shuffling_test.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@
2929
try:
3030
# @manual=//deeplearning/fbgemm/fbgemm_gpu:test_utils
3131
from fbgemm_gpu import open_source
32-
33-
# @manual=//deeplearning/fbgemm/fbgemm_gpu:test_utils
34-
from fbgemm_gpu.docs.version import __version__ # noqa: F401
3532
except Exception:
3633
open_source: bool = False
3734

0 commit comments

Comments
 (0)