If A is abstract, it's weird to me that we have a difference in the following two calls: from abc import abstractmethod, ABCMeta class A(metaclass=ABCMeta): @abstractmethod def __init__(self, a: int) -> None: pass def test_a(A_t: type[A]) -> None: A_t(1) A(1) Mypy tr...
cpu_predictor,gpu_coord_descent, and the PySpark specific parameteruse_gpu. Onward, users need only thedeviceparameter to select which device to run along with the ordinal of the device. For more information, please see our document page (https://xgboost.readthedocs.io/en/stable/parameter.html#...