← 返回事件
持续讨论AI发版

trunk/9eba61fe1215b75d0bd6e902a121683f9bbe126e: [precompile] Add load() over an on-disk artifact pair (#198213)

发生了什么

Problem. After the switch from a callable to a module, torch.compiler.precompile had no entry point: a capture could write its (python_code, cache) pair to disk, but nothing public could read that pair back and run it. Fix. Add torch.compiler.precompile.load(artifact_path, cache_path) , the consuming half, over the loader core the switch kept. Summary. The module switch left torch.compiler.precompile with no entry p…

摘要按规则整理自下方来源原文

为什么在扩散

来源