Skip to content

Commit 4fe1459

Browse files
committed
fixes
1 parent 5707d1f commit 4fe1459

File tree

5 files changed

+6
-7
lines changed

5 files changed

+6
-7
lines changed

src/benchmark/tests/test_processes.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
OpenVINOBenchmarkCppProcess)
1717
from src.benchmark.frameworks.openvino.openvino_process import OpenVINOProcess
1818
from src.benchmark.frameworks.openvino.openvino_python_api_process import AsyncOpenVINOProcess, SyncOpenVINOProcess
19-
from src.benchmark.frameworks.processes import ProcessHandler
2019
from src.benchmark.frameworks.pytorch.pytorch_process import PyTorchProcess
2120
from src.benchmark.frameworks.pytorch_cpp.pytorch_cpp_process import PyTorchCppProcess
2221
from src.benchmark.frameworks.tensorflow.tensorflow_process import TensorFlowProcess

src/deployment/jenkins/tvm_build_envs.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ def create_envs(self):
2424
else:
2525
pip_str = f'{self.conda_prefix}/envs/tvm_{framework}_{self.branch}/bin/pip3'
2626
self._run(pip_str + f' install {framework}==1.9.1')
27-
self._run(pip_str + f' install gluoncv[full]')
28-
self._run(pip_str + f' uninstall -y numpy')
29-
self._run(pip_str + f' install numpy==1.23.1')
27+
self._run(pip_str + ' install gluoncv[full]')
28+
self._run(pip_str + ' uninstall -y numpy')
29+
self._run(pip_str + ' install numpy==1.23.1')
3030

3131

3232
def cli_arguments_parse():

src/deployment/jenkins/tvm_build_pipeline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def build_tvm(self):
2020
self._run(f'git clone --recursive https://github.com/apache/tvm -b {self.branch}')
2121
command1 = 'cd tvm && mkdir -p build && cd build && cmake -DUSE_LLVM=ON -DUSE_BLAS=openblas ../ && '
2222
command2 = 'make -j$(nproc --all) && cd ../python && '
23-
command3 = f'{self.conda}/envs/tvm_main_{self.branch}/bin/python setup.py install --user'
23+
command3 = f'{self.conda}/envs/tvm_main_{self.branch}/bin/python setup.py install --user'
2424
self._run(command1 + command2 + command3)
2525

2626

src/deployment/jenkins/tvm_compile_pipeline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def _add_option(self, name_of_arg):
5252

5353
def create_command_line(self, model_name, target, batch, opt_level):
5454
self._command_line = (f'{self.conda}/envs/tvm_main_{self.branch}/bin/python3 ' + f'{self.converter}')
55-
self._add_argument('--mod', f'{self.models_dir}/{model_name}/batch_{batch}/{model_name}.json')
55+
self._add_argument('--mod', f'{self.models_dir}/{model_name}/batch_{batch}/{model_name}.json')
5656
self._add_argument('--params', f'{self.models_dir}/{model_name}/batch_{batch}/{model_name}.params')
5757
self._add_argument('-t', f'"{target}"')
5858
self._add_argument('--opt_level', f'{opt_level}')

src/deployment/jenkins/tvm_convert_pipeline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def create_command_line(self, model_name, model, weights,
5151
self._add_argument('-mn', model_name)
5252
if model != '':
5353
self._add_argument('-m', f'{self.models_dir}/{model}')
54-
if weights != '':
54+
if weights != '':
5555
self._add_argument('-w', f'{self.models_dir}/{weights}')
5656
if framework == 'torch':
5757
framework = 'pytorch'

0 commit comments

Comments
 (0)