-
-
Notifications
You must be signed in to change notification settings - Fork 868
Actions Needed for Dependency Update
Kenichi Maehashi edited this page Dec 9, 2024
·
54 revisions
These templates are used as a TODO list for the dependency upgrade issue.
### [Tasks](https://github.com/cupy/cupy/wiki/Actions-Needed-for-Dependency-Update)
- [ ] Read [CUDA Release Notes](https://docs.nvidia.com/cuda/cuda-toolkit-release-notes/index.html).
- [ ] Update CUDA driver in FlexCI Windows image (ask @kmaehashi).
- [ ] Fix code and CI to support the new version.
- **FlexCI**: Update `.pfnci/schema.yaml`, `.pfnci/matirx.yaml`, and `.pfnci/config.pbtxt`.
- **Compute Capability Support**: Check [NVRTC Reference (--gpu-architecture option)](https://docs.nvidia.com/cuda/nvrtc/index.html#group__options) and [NVCC Reference (--generate-code)](https://docs.nvidia.com/cuda/cuda-compiler-driver-nvcc/index.html#options-for-steering-gpu-code-generation-generate-code), and if needed, change the maximum value of supported compute capability defined in [cupy/cuda/compiler.py](https://github.com/cupy/cupy/blob/master/cupy/cuda/compiler.py) (`nvrtc_max_compute_capability`) and `_cc_major_map` in `cupy/fft/_callback.pyx`. Also update the list of architectures in [_compiler.py](https://github.com/cupy/cupy/blob/master/install/cupy_builder/_compiler.py) (`arch_list`).
- **FP16 Headers**: Copy FP16 header files to `cupy/_core/include/cupy/_cuda/`, then update `cupy/_core/core.pyx` to use it (for major versions).
- **Library Installer**: Update `cupyx/tools/install_library.py`.
- **Wheel Package Detection**: Add the package to the [duplicate detection](https://github.com/cupy/cupy/blob/master/cupy/_environment.py).
- [ ] Backport the above PR.
- [ ] Update Rules to require CI added
- [ ] Fix `cupy-release-tools` to support the new version.
- [ ] Backport the above PR.
- [ ] Fix documentation.
- Add new wheel package to the [Installation Guide](https://docs.cupy.dev/en/latest/install.html) and `README.md`.
- Update requirements in the installation guide.
- [ ] Backport the above PR.
- [ ] Add new wheel package to the [website](https://cupy.dev).
- [ ] Implement or create an issue to support new features, if applicable.
When dropping support for the CUDA version, in addition to the task list above, update minimum_cuda_version
in install/cupy_builder/install_build.py
.
## [Tasks](https://github.com/cupy/cupy/wiki/Actions-Needed-for-Dependency-Update)
- [ ] Read [ROCm Release Notes](https://docs.amd.com/).
- [ ] Update AMD driver in Self-Hosted CI infrastructure (ask @kmaehashi).
- [ ] Fix code and CI to support the new version.
- **FlexCI**: Update `.pfnci/schema.yaml` and `.pfnci/matirx.yaml`.
- **Wheel Package Detection**: Add the package to the [duplicate detection](https://github.com/cupy/cupy/blob/master/cupy/_environment.py).
- [ ] Backport the above PR.
- [ ] Fix `cupy-release-tools` to support the new version.
- [ ] Backport the above PR.
- [ ] Fix documentation.
- Add new wheel package to the [Installation Guide](https://docs.cupy.dev/en/latest/install.html) and `README.md`.
- Update requirements in the installation guide.
- [ ] Backport the above PR.
- [ ] Add new wheel package to the [website](https://cupy.dev).
- [ ] Implement or create an issue to support new features, if applicable.
## [Tasks](https://github.com/cupy/cupy/wiki/Actions-Needed-for-Dependency-Update)
- [ ] Read Release Notes ([cuTENSOR](https://docs.nvidia.com/cuda/cutensor/index.html#changelog) / [cuSPARSELt](https://docs.nvidia.com/cuda/cusparselt/release_notes.html) / [cuDNN](https://docs.nvidia.com/deeplearning/cudnn/release-notes/index.html) / [NCCL](https://docs.nvidia.com/deeplearning/sdk/nccl-release-notes/index.html)).
- [ ] Fix code and CI to support the new version.
- **FlexCI**: Update `.pfnci/schema.yaml` and `.pfnci/matirx.yaml`.
- **Library Installer**: Update `cupyx/tools/install_library.py`.
- [ ] Backport the above PR.
- [ ] Fix documentation.
- Update Requirements section in the [Installation Guide](https://docs.cupy.dev/en/latest/install.html)
- [ ] Backport the above PR.
- [ ] Implement new features using the version, if any.
## [Tasks](https://github.com/cupy/cupy/wiki/Actions-Needed-for-Dependency-Update)
- [ ] Read Release Notes
- [ ] Check fastrlock compatibility (e.g., `https://github.com/scoder/fastrlock/issues/11`)
- [ ] Install Python to Windows CI image (ask @kmaehashi)
- [ ] Fix code and CI to support the new version.
- **FlexCI**: Update `.pfnci/schema.yaml` and `.pfnci/matirx.yaml` (note: Some Python libraries may not be supported with the newer versions of Python. In that case you should also limit the library version.)
- **Package Metadata**: Update package classifier and `python_requires` tag (if needed) in `setup.py`.
- [ ] Backport the above PR.
- [ ] Fix `cupy-release-tools` to support the new version.
- [ ] Backport the above PR.
- [ ] Update matrix configuration in cupy-package-builder (*internal tool*)
- [ ] Fix documentation.
- Update Requirements section in the [Installation Guide](https://docs.cupy.dev/en/latest/install.html)
- [ ] Backport the above PR.
## [Tasks](https://github.com/cupy/cupy/wiki/Actions-Needed-for-Dependency-Update)
- [ ] Read [ChangeLog](http://docs.cython.org/en/latest/src/changes.html).
- [ ] Fix code and CI to support the new version.
- **FlexCI**: Update `.pfnci/schema.yaml` and `.pfnci/matirx.yaml`.
- **Package Metadata**: Only when needed: change the minimum Cython version in `setup.py`.
- [ ] Backport the above PR.
- [ ] Fix `cupy-release-tools` to support the new version.
- [ ] Backport the above PR.
- [ ] Fix documentation.
- Update Requirements section in the [Installation Guide](https://docs.cupy.dev/en/latest/install.html)
- [ ] Backport the above PR.
## [Tasks](https://github.com/cupy/cupy/wiki/Actions-Needed-for-Dependency-Update)
- [ ] Read Release Notes.
- [ ] Fix code and CI to support the new version.
- **FlexCI**: Update `.pfnci/schema.yaml` and `.pfnci/matirx.yaml`.
- **Update Requirements**: For NumPy/SciPy, bump the pinned minimum/maximum version in `setup.py` (see #4773.)
- [ ] Backport the above PR.
- [ ] For NumPy update, reflect the changes in `numpy.array_api` to `cupy.array_api`.
- [ ] Backport the above PR.
- [ ] Fix documentation.
- Update Requirements section in the [Installation Guide](https://docs.cupy.dev/en/latest/install.html) (note: the baseline version must be updated only in the development branch).
- Update `docs/requirements.txt` to use the latest versions.
- [ ] Backport the above PR.
- [ ] Apply fixes needed to follow the specification changes.