pytorch/test/package
Dave Lei 8ce81bcee1 [Torch Package] Make get names of OrderedImporters support fallback to importers (#155743)
Summary:
OrderedImporters is supposed to be an importer which tries out every single importer in self._importers. However the get_name API does not follow this behavior and only uses the get_name from the basic Importer class.
This change is to update the OrderedImporters get_name API so that it tries the get_name API of every single importers.

Differential Revision: D76463252

Pull Request resolved: https://github.com/pytorch/pytorch/pull/155743
Approved by: https://github.com/jcwchen, https://github.com/jingsh
2025-08-06 02:26:10 +00:00
..
package_a
package_b
package_bc
package_c
package_d
package_e
test_trace_dep
__init__.py
common.py
generate_bc_packages.py
module_a_remapped_path.py
module_a.py
test_analyze.py
test_dependency_api.py
test_dependency_hooks.py
test_digraph.py
test_directory_reader.py
test_glob_group.py
test_importer.py
test_load_bc_packages.py
test_mangling.py
test_misc.py
test_model.py
test_package_fx.py
test_package_script.py
test_repackage.py
test_resources.py
test_save_load.py [Torch Package] Make get names of OrderedImporters support fallback to importers (#155743) 2025-08-06 02:26:10 +00:00