Skip to content

Commit

Permalink
Additional smoke tests
Browse files Browse the repository at this point in the history
Remove release blocking changes
  • Loading branch information
atalman committed Mar 7, 2023
1 parent a86e0bc commit 20b4b4f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/validate-nightly-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ jobs:
nightly:
uses: ./.github/workflows/validate-binaries.yml
with:
channel: test
channel: nightly
os: all
limit-win-builds: disable
limit-win-builds: enable
8 changes: 2 additions & 6 deletions test/smoke_test/smoke_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,7 @@ def smoke_test_cuda(package: str) -> None:
if (sys.platform == "linux" or sys.platform == "linux2") and sys.version_info < (3, 11, 0):
smoke_test_compile()

# This check has to be run last, since its messing up CUDA runtime.
# Restrict only to conda builds since Wheel seems to crash with
# segmentation fault and don't recover
if(package_type == 'conda'):
test_cuda_runtime_errors_captured()
test_cuda_runtime_errors_captured()


def smoke_test_conv2d() -> None:
Expand Down Expand Up @@ -169,7 +165,7 @@ def smoke_test_linalg() -> None:
torch.linalg.svd(A)

def smoke_test_compile() -> None:
supported_dtypes = [torch.float32]
supported_dtypes = [torch.float16, torch.float32, torch.float64]
def foo(x: torch.Tensor) -> torch.Tensor:
return torch.sin(x) + torch.cos(x)
for dtype in supported_dtypes:
Expand Down

0 comments on commit 20b4b4f

Please sign in to comment.