Skip to content

Commit fc76e10

Browse files
committed
v25.01.00
1 parent 49271fa commit fc76e10

102 files changed

Lines changed: 617 additions & 437 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/copy-pr-bot.yaml

Lines changed: 0 additions & 5 deletions
This file was deleted.

.pre-commit-config.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
repos:
2-
#- repo: https://github.com/pre-commit/mirrors-mypy
3-
# rev: 'v1.5.1'
4-
# hooks:
5-
# - id: mypy
6-
# language: system
7-
# pass_filenames: false
8-
# args: ['legate_sparse']
2+
- repo: https://github.com/pre-commit/mirrors-mypy
3+
rev: 'v1.5.1'
4+
hooks:
5+
- id: mypy
6+
language: system
7+
pass_filenames: false
8+
args: ['legate_sparse']
99
- repo: https://github.com/psf/black
1010
rev: 23.9.1
1111
hooks:

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ include(rapids-find)
6060
###################################
6161
# Project
6262

63-
set(legate_sparse_version 24.11.01)
63+
set(legate_sparse_version 25.01.00)
6464

6565
set(CMAKE_CXX_FLAGS_DEBUG "-O0 -g")
6666
set(CMAKE_CUDA_FLAGS_DEBUG "-O0 -g")

cmake/generate_install_info_py.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
execute_process(
1818
COMMAND ${CMAKE_C_COMPILER}
1919
-E -DLEGATE_USE_PYTHON_CFFI
20-
-I "${CMAKE_CURRENT_LIST_DIR}/../src/sparse"
21-
-P "${CMAKE_CURRENT_LIST_DIR}/../src/sparse/sparse_c.h"
20+
-I "${CMAKE_CURRENT_LIST_DIR}/../src/legate_sparse"
21+
-P "${CMAKE_CURRENT_LIST_DIR}/../src/legate_sparse/sparse_c.h"
2222
ECHO_ERROR_VARIABLE
2323
OUTPUT_VARIABLE header
2424
COMMAND_ERROR_IS_FATAL ANY

cmake/versions.json

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,22 @@
11
{
22
"packages" : {
33
"legate" : {
4-
"repo": "legate.core.internal",
5-
"artifact_name": "${{ inputs.platform }}-${{ inputs.build-type }}-<<repo>>-python${{ inputs.python-version }}-${{ inputs.target-device }}-release-with_tests-${{ inputs.network }}-<<git_tag>>",
4+
"repo": "legate.internal",
65
"org": "nv-legate",
7-
"artifact_workflow": "ci-gh.yml",
8-
"version": "24.11.01",
9-
"git_url" : "git@github.com:nv-legate/legate.core.internal.git",
6+
"version": "25.01.00",
7+
"git_url" : "git@github.com:nv-legate/legate.internal.git",
108
"git_shallow": false,
119
"always_download": false,
12-
"git_tag" : "29368dc25a97579dc8669aeb81322504a8c6639a"
10+
"git_tag" : "c9748050eed8f6087fc2ecb86ff7eb2b5f3edb45"
11+
},
12+
"cupynumeric" : {
13+
"repo": "cupynumeric.internal",
14+
"org": "nv-legate",
15+
"version": "25.01.00",
16+
"git_url" : "git@github.com:nv-legate/cupynumeric.internal",
17+
"git_shallow": false,
18+
"always_download": false,
19+
"git_tag" : "0464776f098f7a54c1341cb3c19b3aa5812f658f"
1320
}
1421
}
1522
}

examples/common.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,6 @@ def parse_common_args():
205205
# we construct csr arrya directly - might be slightly faster
206206
def banded_matrix(N, nnz_per_row, from_diags=False):
207207
if from_diags:
208-
print("Banded matrices will be generated using sparse.diags API")
209208
return sparse.diags(
210209
[1] * nnz_per_row,
211210
[x - (nnz_per_row // 2) for x in range(nnz_per_row)],
@@ -214,7 +213,6 @@ def banded_matrix(N, nnz_per_row, from_diags=False):
214213
dtype=np.float64,
215214
)
216215
else:
217-
print("Banded matrices will be manually generated")
218216
assert N > nnz_per_row
219217
assert nnz_per_row % 2 == 1
220218
half_nnz = nnz_per_row // 2

legate_sparse/base.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,7 @@
4646
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4747

4848
import cupynumeric
49-
from legate.core import LogicalStore # type: ignore[attr-defined]
50-
from legate.core import align # type: ignore[attr-defined]
49+
from legate.core import LogicalStore, align
5150

5251
from .config import SparseOpCode, rect1
5352
from .runtime import runtime

legate_sparse/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from typing import Any, cast
2020

2121
import cffi # type: ignore
22-
from legate.core import Library, get_legate_runtime, types # type: ignore[attr-defined]
22+
from legate.core import Library, get_legate_runtime, types
2323

2424

2525
class _LegateSparseSharedLib:

legate_sparse/coverage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from types import FunctionType, MethodDescriptorType, MethodType, ModuleType
1919
from typing import Any, Container, Mapping, Optional, cast
2020

21-
from legate.core import track_provenance # type: ignore[attr-defined]
21+
from legate.core import track_provenance
2222
from typing_extensions import Protocol
2323

2424
MOD_INTERNAL = {"__dir__", "__getattr__"}

legate_sparse/csr.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,7 @@
5050
import cupynumeric
5151
import numpy
5252
import scipy # type: ignore
53-
from legate.core import ImageComputationHint # type: ignore[attr-defined]
54-
from legate.core import Shape # type: ignore[attr-defined]
55-
from legate.core import align # type: ignore[attr-defined]
56-
from legate.core import broadcast # type: ignore[attr-defined]
57-
from legate.core import image # type: ignore[attr-defined]
58-
from legate.core import types # type: ignore[attr-defined]
53+
from legate.core import ImageComputationHint, Shape, align, broadcast, image, types
5954

6055
from .base import (
6156
CompressedBase,

0 commit comments

Comments
 (0)