MCPcopy Create free account
hub / github.com/YesianRohn/TextSSR / main

Function main

diffusers/utils/fetch_torch_cuda_pipeline_test_matrix.py:85–97  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

83
84
85def main():
86 test_modules = fetch_pipeline_modules_to_test()
87 test_modules.extend(ALWAYS_TEST_PIPELINE_MODULES)
88
89 # Get unique modules
90 test_modules = sorted(set(test_modules))
91 print(json.dumps(test_modules))
92
93 save_path = f"{PATH_TO_REPO}/reports"
94 os.makedirs(save_path, exist_ok=True)
95
96 with open(f"{save_path}/test-pipelines.json", "w") as f:
97 json.dump({"pipeline_test_modules": test_modules}, f)
98
99
100if __name__ == "__main__":

Calls 1

Tested by

no test coverage detected