(cls, key)
| 656 | """ |
| 657 | |
| 658 | def __getattr__(cls, key): |
| 659 | if key.startswith("_") and key not in ["_load_connected_pipes", "_is_onnx"]: |
| 660 | return super().__getattr__(cls, key) |
| 661 | requires_backends(cls, cls._backends) |
| 662 | |
| 663 | |
| 664 | # 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