Skip to content
This repository was archived by the owner on Aug 15, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions test/smoke_test/smoke_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@ def load_json_from_basedir(filename: str):
def read_release_matrix():
return load_json_from_basedir("release_matrix.json")

def test_numpy():
import numpy as np
x = np.arange(5)
torch.tensor(x)

def check_version(package: str) -> None:
release_version = os.getenv("RELEASE_VERSION")
# if release_version is specified, use it to validate the packages
Expand Down Expand Up @@ -307,6 +312,7 @@ def main() -> None:
check_version(options.package)
smoke_test_conv2d()
test_linalg()
test_numpy()
if is_cuda_system:
test_linalg("cuda")

Expand Down