Skip to content

Commit a7af627

Browse files
test 01
1 parent 1d37599 commit a7af627

File tree

3 files changed

+10
-11
lines changed

3 files changed

+10
-11
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,12 @@ import tensor_array.core as ta
4141
import numpy as np
4242

4343
def test_add():
44-
example_tensor_array = ta.Tensor(np.array([[1, 2, 3, 4], [5, 6, 7, 8], [9, 10, 11, 12], [13, 14, 15, 16]], dtype=np.int32))
44+
example_tensor_array = ta.Tensor(np.array([
45+
[1, 2, 3, 4],
46+
[5, 6, 7, 8],
47+
[9, 10, 11, 12],
48+
[13, 14, 15, 16]
49+
], dtype=np.int32))
4550
example_tensor_array_scalar = ta.Tensor(100)
4651
example_tensor_sum = example_tensor_array + example_tensor_array_scalar
4752
print(example_tensor_sum)

pyproject.toml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,13 @@ requires = [
77
build-backend = "setuptools.build_meta"
88

99
[tool.cibuildwheel]
10-
build = "cp38-*"
1110
environment = { cuda="12.9", temp="/tmp/cuda-temp" }
12-
manylinux-x86_64-image = "quay.io/pypa/manylinux_2_24_x86_64:latest"
13-
manylinux-i686-image = "quay.io/pypa/manylinux_2_24_i686:latest"
14-
manylinux-pypy_x86_64-image = "quay.io/pypa/manylinux_2_24_x86_64:latest"
15-
manylinux-aarch64-image = "quay.io/pypa/manylinux_2_24_aarch64:latest"
16-
manylinux-ppc64le-image = "quay.io/pypa/manylinux_2_24_ppc64le:latest"
17-
manylinux-s390x-image = "quay.io/pypa/manylinux_2_24_s390x:latest"
1811
xbuild-tools = ["cmake", "ninja"]
1912

2013
[tool.cibuildwheel.linux]
2114
before-all = [
22-
"chmod +x {package}/tensor-array-repo/Tensor-Array/scripts/actions/install-cuda-ubuntu.sh",
23-
"bash -c {package}/tensor-array-repo/Tensor-Array/scripts/actions/install-cuda-ubuntu.sh"
15+
"chmod +x {package}/tensor-array-repo/Tensor-Array/scripts/actions/install-cuda-rhel.sh",
16+
"dnf -y install lsb-release wget",
17+
"{package}/tensor-array-repo/Tensor-Array/scripts/actions/install-cuda-rhel.sh"
2418
]
2519
xbuild-tools = ["cmake", "ninja"]

tensor-array-repo/Tensor-Array

0 commit comments

Comments
 (0)