(cls, key)
| 554 | """ |
| 555 | |
| 556 | def __getattr__(cls, key): |
| 557 | if key.startswith("_"): |
| 558 | return super().__getattr__(cls, key) |
| 559 | requires_backends(cls, cls._backends) |
| 560 | |
| 561 | |
| 562 | # This function was copied from: https://github.com/huggingface/accelerate/blob/874c4967d94badd24f893064cc3bef45f57cadf7/src/accelerate/utils/versions.py#L319 |
nothing calls this directly
no test coverage detected