-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD.bazel
41 lines (37 loc) · 1005 Bytes
/
BUILD.bazel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
load("@rules_python//python:pip.bzl", "compile_pip_requirements")
load("@rules_python//python:defs.bzl", "py_test")
load("@my_requirements//:requirements.bzl", "requirement")
compile_pip_requirements(
name = "requirements",
extra_args = [
"--allow-unsafe",
"--resolver=backtracking",
],
requirements_in = "requirements.in",
requirements_txt = "requirements.txt",
tags = [
"manual",
],
)
py_test(
name = "nvidia_submodules_test_blas_only",
srcs = ["nvidia_submodules_test_blas_only.py"],
deps = [
requirement("nvidia_cublas_cu11"),
],
)
py_test(
name = "nvidia_submodules_test_cuda_cupti_only",
srcs = ["nvidia_submodules_test_cuda_cupti_only.py"],
deps = [
requirement("nvidia_cuda_cupti_cu11"),
],
)
py_test(
name = "nvidia_submodules_test",
srcs = ["nvidia_submodules_test.py"],
deps = [
requirement("nvidia_cublas_cu11"),
requirement("nvidia_cuda_cupti_cu11"),
],
)