|
31 | 31 | "loaders": ["FromOriginalModelMixin"], |
32 | 32 | "models": [], |
33 | 33 | "pipelines": [], |
34 | | - "quantizers.quantization_config": ["BitsAndBytesConfig", "TorchAoConfig", "GGUFQuantizationConfig"], |
| 34 | + "quantizers.quantization_config": ["BitsAndBytesConfig", "GGUFQuantizationConfig", "TorchAoConfig"], |
35 | 35 | "schedulers": [], |
36 | 36 | "utils": [ |
37 | 37 | "OptionalDependencyNotAvailable", |
|
428 | 428 | if not (is_torch_available() and is_transformers_available() and is_k_diffusion_available()): |
429 | 429 | raise OptionalDependencyNotAvailable() |
430 | 430 | except OptionalDependencyNotAvailable: |
431 | | - from .utils import \ |
432 | | - dummy_torch_and_transformers_and_k_diffusion_objects # noqa F403 |
| 431 | + from .utils import dummy_torch_and_transformers_and_k_diffusion_objects # noqa F403 |
433 | 432 |
|
434 | 433 | _import_structure["utils.dummy_torch_and_transformers_and_k_diffusion_objects"] = [ |
435 | 434 | name for name in dir(dummy_torch_and_transformers_and_k_diffusion_objects) if not name.startswith("_") |
|
442 | 441 | if not (is_torch_available() and is_transformers_available() and is_sentencepiece_available()): |
443 | 442 | raise OptionalDependencyNotAvailable() |
444 | 443 | except OptionalDependencyNotAvailable: |
445 | | - from .utils import \ |
446 | | - dummy_torch_and_transformers_and_sentencepiece_objects # noqa F403 |
| 444 | + from .utils import dummy_torch_and_transformers_and_sentencepiece_objects # noqa F403 |
447 | 445 |
|
448 | 446 | _import_structure["utils.dummy_torch_and_transformers_and_sentencepiece_objects"] = [ |
449 | 447 | name for name in dir(dummy_torch_and_transformers_and_sentencepiece_objects) if not name.startswith("_") |
|
456 | 454 | if not (is_torch_available() and is_transformers_available() and is_onnx_available()): |
457 | 455 | raise OptionalDependencyNotAvailable() |
458 | 456 | except OptionalDependencyNotAvailable: |
459 | | - from .utils import \ |
460 | | - dummy_torch_and_transformers_and_onnx_objects # noqa F403 |
| 457 | + from .utils import dummy_torch_and_transformers_and_onnx_objects # noqa F403 |
461 | 458 |
|
462 | 459 | _import_structure["utils.dummy_torch_and_transformers_and_onnx_objects"] = [ |
463 | 460 | name for name in dir(dummy_torch_and_transformers_and_onnx_objects) if not name.startswith("_") |
|
492 | 489 | if not (is_transformers_available() and is_torch_available() and is_note_seq_available()): |
493 | 490 | raise OptionalDependencyNotAvailable() |
494 | 491 | except OptionalDependencyNotAvailable: |
495 | | - from .utils import \ |
496 | | - dummy_transformers_and_torch_and_note_seq_objects # noqa F403 |
| 492 | + from .utils import dummy_transformers_and_torch_and_note_seq_objects # noqa F403 |
497 | 493 |
|
498 | 494 | _import_structure["utils.dummy_transformers_and_torch_and_note_seq_objects"] = [ |
499 | 495 | name for name in dir(dummy_transformers_and_torch_and_note_seq_objects) if not name.startswith("_") |
|
0 commit comments