Skip to content
Open
Show file tree
Hide file tree
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
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
repos:
- repo: https://github.com/pre-commit/mirrors-mypy
rev: 'v1.5.1'
rev: 'v1.19.1'
hooks:
- id: mypy
language: system
pass_filenames: false
args: ['legate_sparse']
- repo: https://github.com/psf/black
rev: 23.9.1
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 25.12.0
hooks:
- id: black
- repo: https://github.com/PyCQA/isort
rev: 5.12.0
rev: 7.0.0
hooks:
- id: isort
args: ["--profile", "black"]
- repo: https://github.com/PyCQA/flake8
rev: 6.1.0
rev: 7.3.0
hooks:
- id: flake8
args: [--config=.flake8]
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: 'v16.0.6' # Use the sha / tag you want to point at
rev: 'v21.1.8' # Use the sha / tag you want to point at
hooks:
- id: clang-format
files: \.(cu|cuh|h|cc|inl)$
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ include(rapids-find)
###################################
# Project

set(legate_sparse_version 25.03.00)
set(legate_sparse_version 25.07.00)

set(CMAKE_CXX_FLAGS_DEBUG "-O0 -g")
set(CMAKE_CUDA_FLAGS_DEBUG "-O0 -g")
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ for [NumPy](https://numpy.org/doc/stable/reference/index.html#reference), to
enable writing programs that operate on distributed dense and sparse arrays.
Take a look at the `examples` directory for some applications that can
use Legate Sparse. We have implemented
an explicit partial-differential equation (PDE) [solver](examples/pde.py)
and [Geometric multi-grid](examples/gmg.py) solver.
an explicit partial-differential equation (PDE) [solver](examples/pde.py).
More complex and interesting applications are on the way -- stay tuned!

Legate Sparse is currently in alpha and supports a subset of APIs
Expand Down
1 change: 1 addition & 0 deletions cmake/thirdparty/get_legate.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ function(find_or_configure_legate)
include("${rapids-cmake-dir}/cpm/detail/package_details.cmake")
rapids_cpm_package_details(legate version git_repo git_branch shallow exclude_from_all)

set(version ${PKG_VERSION})
set(exclude_from_all ${PKG_EXCLUDE_FROM_ALL})
if(PKG_BRANCH)
set(git_branch "${PKG_BRANCH}")
Expand Down
14 changes: 7 additions & 7 deletions cmake/versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,22 @@
"legate" : {
"repo": "legate.internal",
"org": "nv-legate",
"version": "25.03.02",
"git_url" : "git@github.com:nv-legate/legate.internal.git",
"version": "25.07.00",
"git_url" : "git@github.com:nv-legate/legate.git",
"git_shallow": false,
"always_download": false,
"git_tag" : "75dc0a92bbd2dfb79b6b680a0f37cbd0370d0181",
"git_tag" : "a46dc3d5b176ff9546bc831409c394c1bbc3b936",
"anaconda_label": "main"
},
"cupynumeric" : {
"repo": "cupynumeric.internal",
"org": "nv-legate",
"version": "25.03.02",
"git_url" : "git@github.com:nv-legate/cupynumeric.internal",
"version": "25.07.00",
"git_url" : "git@github.com:nv-legate/cupynumeric",
"git_shallow": false,
"always_download": false,
"git_tag" : "1fa45603c560068508c3be2e0df45aec62359019",
"anaconda_label": "experimental"
"git_tag" : "6132d8450049a7abd7786fb4d60444eb5b4e25db",
"anaconda_label": "main"
}
}
}
6 changes: 4 additions & 2 deletions conda/conda-build/conda_build_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,14 @@ upload_build:
- false

python:
- 3.10
- 3.11
- 3.12
- 3.13

numpy_version:
- ">=1.22,<2"
# Not 2.1.0 which segfaults on asarray() sometimes, see
# https://github.com/numpy/numpy/pull/27249
- ">=1.22,!=2.1.0"

cmake_version:
- ">=3.20.1,!=3.23.0"
15 changes: 3 additions & 12 deletions conda/conda-build/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,6 @@
{# We need to have a default value for the initial pass over the recipe #}
{% set gpu_enabled_bool = false %}
{% endif %}
{% if upload_build == "true" %}
{% set upload_build_bool = true %}
{% elif upload_build == "false" %}
{% set upload_build_bool = false %}
{% else %}
{# We need to have a default value for the initial pass over the recipe #}
{% set upload_build_bool = false %}
{% endif %}
## The placeholder version is strictly for making two-pass conda build process.
## It should not be used for any other purpose, and this is not a default version.
{% set placeholder_version = '0.0.0.dev' %}
Expand Down Expand Up @@ -68,9 +60,9 @@ build:

## Create legate/cupynumeric version and build string
{% set legate_version = os.environ.get("LEGATE_VERSION", "1.0.0") %}
{% set legate_buildstr = "_".join(["cuda" ~ cuda_major, "py" ~ py_version, os.environ.get("LEGATE_BUILDSTR", ""), cpu_gpu_tag]) %}
{% set legate_buildstr = "_".join(["py" ~ py_version, "*" ~ cpu_gpu_tag.strip('_'), os.environ.get("LEGATE_BUILDSTR", "") ]) %}
{% set cupynumeric_version = os.environ.get("CUPYNUMERIC_VERSION", "1.0.0") %}
{% set cupynumeric_buildstr = "_".join(["cuda" ~ cuda_major, "py" ~ py_version, os.environ.get("CUPYNUMERIC_BUILDSTR", ""), cpu_gpu_tag]) %}
{% set cupynumeric_buildstr = "_".join(["cuda" ~ cuda_major, "py" ~ py_version, cpu_gpu_tag, os.environ.get("CUPYNUMERIC_BUILDSTR", "")]) %}

{% if use_local_path is not defined %}
# use git hash
Expand Down Expand Up @@ -126,7 +118,7 @@ requirements:
#- libcurand-dev
- openblas =* =*openmp*
- llvm-openmp
- legate ={{ legate_version }}={{ legate_buildstr }}
- legate ={{ legate_version }}=*{{ legate_buildstr }}
- cupynumeric ={{ cupynumeric_version }}={{ cupynumeric_buildstr }}
{% if gpu_enabled_bool %}
# cupynumeric could be only in the run section and we could have just legate
Expand All @@ -146,7 +138,6 @@ requirements:
- numpy {{ numpy_version }}
- scipy
- openblas =* =*openmp*
- legate ={{ legate_version }}={{ legate_buildstr }}
- cupynumeric ={{ cupynumeric_version }}={{ cupynumeric_buildstr }}
{% if gpu_enabled_bool %}
- libnvjitlink
Expand Down
Loading