SIGN IN SIGN UP

Pretrain, finetune ANY AI model of ANY size on 1 or 10,000+ GPUs with zero code changes.

0 0 104 Python

fix pylint E1120 error. (#21230)

* fix pylint E1120 error.

* fix type annotation for py39

* fix mypy error.

* fix mypy error.

* fix mypy error.

* fix wrapper return type.

* refactored `_restricted_classmethod_impl`

* revert refactor

* ignore mypy error.

* resume original type.

* revert mypy.

* attempt fixing macos doctest

---------

Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com>
Co-authored-by: Nicki Skafte Detlefsen <skaftenicki@gmail.com>
Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com>
G
GdoongMathew committed
e0e42a0139a3fc0a3b5eb7a02756273928b5eb58
Parent: 4cd2336
Committed by GitHub <noreply@github.com> on 10/15/2025, 10:02:36 AM