mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Update flatbuffer test models to match pkl models (#93022)
Also regenerate upgrader with ``` python torchgen/operator_versions/gen_mobile_upgraders.py ``` Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags: Fixes #ISSUE_NUMBER Pull Request resolved: https://github.com/pytorch/pytorch/pull/93022 Approved by: https://github.com/tugsbayasgalan
This commit is contained in:
@ -384,7 +384,7 @@ def main() -> None:
|
||||
for up in sorted_upgrader_list:
|
||||
print("after sort upgrader : ", next(iter(up)))
|
||||
|
||||
pytorch_dir = Path(__file__).resolve().parents[3]
|
||||
pytorch_dir = Path(__file__).resolve().parents[2]
|
||||
upgrader_path = pytorch_dir / "torch" / "csrc" / "jit" / "mobile"
|
||||
write_cpp(str(upgrader_path), sorted_upgrader_list)
|
||||
|
||||
|
Reference in New Issue
Block a user