Skip to content

Commit

Permalink
Re-organize TBE tests, pt 1 (pytorch#2263)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: pytorch#2263

- Re-organize TBE tests, pt 1

Reviewed By: spcyppt

Differential Revision: D52714927

fbshipit-source-id: bd9b80c9db6b33e28770b00f58cae3af16e2b2b7
  • Loading branch information
q10 authored and facebook-github-bot committed Jan 13, 2024
1 parent 4361086 commit 7e50cd9
Show file tree
Hide file tree
Showing 10 changed files with 3,197 additions and 2,512 deletions.
6 changes: 3 additions & 3 deletions .github/scripts/fbgemm_gpu_test.bash
Original file line number Diff line number Diff line change
Expand Up @@ -84,19 +84,19 @@ run_fbgemm_gpu_tests () {

# These are either non-tests or currently-broken tests in both FBGEMM_GPU and FBGEMM_GPU-CPU
local files_to_skip=(
./test_utils.py
./split_table_batched_embeddings_test.py
./tbe/split_table_batched_embeddings_test.py
./ssd_split_table_batched_embeddings_test.py
)

if [ "$fbgemm_variant" == "cpu" ]; then
# These are tests that are currently broken in FBGEMM_GPU-CPU
local ignored_tests=(
./tbe/forward_test.py
./uvm_test.py
)
elif [ "$fbgemm_variant" == "rocm" ]; then
# https://github.com/pytorch/FBGEMM/issues/1559
local ignored_tests=(
# https://github.com/pytorch/FBGEMM/issues/1559
./batched_unary_embeddings_test.py
)
else
Expand Down
File renamed without changes.
6 changes: 6 additions & 0 deletions fbgemm_gpu/test/tbe/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/env python3
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
Loading

0 comments on commit 7e50cd9

Please sign in to comment.