Skip to content

Commit

Permalink
v23.03.00
Browse files Browse the repository at this point in the history
v23.03.00
  • Loading branch information
marcinz authored Mar 8, 2023
2 parents e05983c + 8f5dd49 commit 3b1b245
Show file tree
Hide file tree
Showing 180 changed files with 7,880 additions and 1,883 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/require-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,9 @@ jobs:
label:
runs-on: ubuntu-latest
steps:
- name: Delay checking labels if PR is just created
if: ${{ github.event.action == 'opened' }}
run: sleep 300s
shell: bash
- name: Check Labels
uses: mheap/github-action-required-labels@v2
uses: mheap/github-action-required-labels@v3
with:
mode: exactly
count: 1
labels: "category:new-feature, category:improvement, category:bug-fix, category:task"
labels: "category:new-feature, category:improvement, category:bug-fix, category:task, category:documentation"
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
repos:
- repo: https://github.com/PyCQA/isort
rev: 5.11.4
rev: 5.12.0
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: 22.12.0
rev: 23.1.0
hooks:
- id: black
- repo: https://github.com/PyCQA/flake8
Expand All @@ -18,7 +18,7 @@ repos:
files: \.(cu|cuh|h|cc|inl)$
types_or: []
- repo: https://github.com/pre-commit/mirrors-mypy
rev: 'v0.991'
rev: 'v1.0.1'
hooks:
- id: mypy
pass_filenames: false
Expand Down
3 changes: 2 additions & 1 deletion BUILD.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ Legate has been tested on Linux and MacOS, although only a few flavors of Linux
such as Ubuntu have been thoroughly tested. There is currently no support for
Windows.

### Python >= 3.8 (`--python` flag)
### Python >= 3.9 (`--python` flag)

In terms of Python compatibility, Legate *roughly* follows the timeline outlined
in [NEP 29](https://numpy.org/neps/nep-0029-deprecation_policy.html).
Expand Down Expand Up @@ -189,6 +189,7 @@ in the environment file:
- `git`
- `make`
- `ninja` (this is optional, but produces more informative build output)
- `rust`
- `scikit-build`

### OpenBLAS
Expand Down
9 changes: 7 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ endif()
# - Download and initialize RAPIDS CMake helpers -----------------------------

if(NOT EXISTS ${CMAKE_BINARY_DIR}/RAPIDS.cmake)
file(DOWNLOAD https://raw.githubusercontent.com/rapidsai/rapids-cmake/branch-22.08/RAPIDS.cmake
file(DOWNLOAD https://raw.githubusercontent.com/rapidsai/rapids-cmake/branch-23.02/RAPIDS.cmake
${CMAKE_BINARY_DIR}/RAPIDS.cmake)
endif()
include(${CMAKE_BINARY_DIR}/RAPIDS.cmake)
Expand All @@ -72,7 +72,7 @@ include(rapids-cuda)
include(rapids-export)
include(rapids-find)

set(legate_core_version 22.12.00)
set(legate_core_version 23.03.00)

# For now we want the optimization flags to match on both normal make and cmake
# builds so we override the cmake defaults here for release, this changes
Expand Down Expand Up @@ -123,3 +123,8 @@ if(CMAKE_GENERATOR STREQUAL "Ninja")
endfunction()
add_touch_legate_core_ninja_build_target()
endif()

option(legate_core_EXAMPLE_BUILD_TESTS OFF)
if (legate_core_EXAMPLE_BUILD_TESTS)
add_subdirectory(examples)
endif()
23 changes: 12 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ by running the same code that runs on a desktop or a laptop at scale.
Using this technology, computational and data scientists can develop and test
programs on moderately sized data sets on local machines and then immediately
scale up to larger data sets deployed on many nodes in the cloud or on a
supercomputer without any code modifications. In visual terms:

<img src="docs/figures/vision.png" alt="drawing" width="700"/>
supercomputer without any code modifications.

The Legate project is built upon two foundational principles:

Expand Down Expand Up @@ -223,8 +221,12 @@ Legate Core is available [on conda](https://anaconda.org/legate/legate-core):
conda install -c nvidia -c conda-forge -c legate legate-core
```

The conda package is compatible with CUDA >= 11.4 (CUDA driver version >= r470),
and Volta or later GPU architectures.
Only linux-64 packages are available at the moment.

The default package contains GPU support, and is compatible with CUDA >= 11.4
(CUDA driver version >= r470), and Volta or later GPU architectures. There are
also CPU-only packages available, and will be automatically selected by `conda`
when installing on a machine without GPUs.

See [BUILD.md](BUILD.md) for instructions on building Legate Core from source.

Expand Down Expand Up @@ -461,15 +463,14 @@ See the discussion of contributing in [CONTRIBUTING.md](CONTRIBUTING.md).

## Documentation

A complete list of available features can is provided in the [API
reference](https://nv-legate.github.io/legate.core/api.html).
A complete list of available features can is found in the [Legate Core
documentation](https://nv-legate.github.io/legate.core).

## Next Steps

We recommend starting by experimenting with at least one Legate application
library to test out performance and see how Legate works. If you are interested
in building your own Legate application library, we recommend that you
investigate our [Legate Hello World application
library](https://github.com/nv-legate/legate.hello) that provides a small
example of how to get started developing your own drop-in replacement library
on top of Legion using the Legate Core library.
investigate our [Legate Hello World application library](examples/hello) that
provides a small example of how to get started developing your own drop-in
replacement library on top of Legion using the Legate Core library.
4 changes: 4 additions & 0 deletions cmake/Modules/cuda_arch_helpers.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ function(set_cuda_arch_from_names)
if(CMAKE_CUDA_ARCHITECTURES MATCHES "ampere")
list(APPEND cuda_archs 80)
endif()
if(CMAKE_CUDA_ARCHITECTURES MATCHES "hopper")
list(APPEND cuda_archs 90)
endif()

if(cuda_archs)
list(LENGTH cuda_archs num_archs)
Expand Down Expand Up @@ -83,6 +86,7 @@ function(add_cuda_architecture_defines defs)
add_def_if_arch_enabled("70" "VOLTA_ARCH")
add_def_if_arch_enabled("75" "TURING_ARCH")
add_def_if_arch_enabled("80" "AMPERE_ARCH")
add_def_if_arch_enabled("90" "HOPPER_ARCH")

set(${defs} ${_defs} PARENT_SCOPE)
endfunction()
3 changes: 2 additions & 1 deletion cmake/Modules/legate_core_options.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ endif()

option(legate_core_STATIC_CUDA_RUNTIME "Statically link the cuda runtime library" OFF)
option(legate_core_EXCLUDE_LEGION_FROM_ALL "Exclude Legion targets from legate.core's 'all' target" OFF)
option(legate_core_COLLECTIVE "Use of collective instances" OFF)
option(legate_core_COLLECTIVE "Use of collective instances" ON)
option(legate_core_BUILD_DOCS "Build doxygen docs" OFF)


set_or_default(NCCL_DIR NCCL_PATH)
Expand Down
Loading

0 comments on commit 3b1b245

Please sign in to comment.