File tree Expand file tree Collapse file tree 2 files changed +0
-5
lines changed
Expand file tree Collapse file tree 2 files changed +0
-5
lines changed Original file line number Diff line number Diff line change 55# This source code is licensed under the BSD-style license found in the
66# LICENSE file in the root directory of this source tree.
77
8- import sys
98from typing import List
109
11- import executorch
12-
1310import torch
1411from executorch .backends .xnnpack .partition .xnnpack_partitioner import XnnpackPartitioner
1512from executorch .examples .models import Backend , Model , MODEL_NAME_TO_MODEL
Original file line number Diff line number Diff line change @@ -143,8 +143,6 @@ def string(cls) -> str:
143143 def write_to_python_file (cls , path : str ) -> None :
144144 """Creates a file similar to PyTorch core's `torch/version.py`."""
145145
146- os .makedirs (os .path .dirname (path ), exist_ok = True )
147-
148146 lines = [
149147 "from typing import Optional" ,
150148 '__all__ = ["__version__", "git_version"]' ,
You can’t perform that action at this time.
0 commit comments