metal-treeshap
Copyright 2026 metal-treeshap contributors

This project is a port of GPUTreeShap to Apple GPUs (Metal) and retains its algorithmic
structure and public-API semantics.

GPUTreeShap
Copyright (c) 2020-2026, NVIDIA CORPORATION.
Licensed under the Apache License, Version 2.0.
https://github.com/rapidsai/gputreeshap

Algorithm: Rory Mitchell, Eibe Frank, Geoffrey Holmes.
"GPUTreeShap: Massively Parallel Exact Calculation of SHAP Scores for Tree Ensembles."
PeerJ Computer Science 8:e880 (2022). arXiv:2010.13972.

TreeSHAP: Scott M. Lundberg, Gabriel G. Erion, Su-In Lee.
"Consistent Individualized Feature Attribution for Tree Ensembles." arXiv:1802.03888.

metal-cpp
Copyright 2020-2026 Apple Inc.
Vendored from https://github.com/apple/metal-cpp at commit
27c4382b7151d55a51692cdcb27aaa98752240de (METALCPP_VERSION 381.0.0).
Licensed under the Apache License, Version 2.0. See
third_party/metal-cpp/LICENSE.txt and third_party/metal-cpp/PINNED_VERSION.md.

Trademarks

Metal is a trademark of Apple Inc., registered in the U.S. and other countries and
regions. Other names and marks (including XGBoost) are the property of their respective
owners. These names are used solely to describe interoperability. This project is an
independent open-source work and is not affiliated with, sponsored, or endorsed by
Apple Inc. or any other trademark owner.
