File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -62,12 +62,12 @@ def compile_kernels():
62
62
return
63
63
64
64
# Clear previous tune.log
65
- command = [
66
- 'rm' ,
67
- os .path .join ("tuned" , "preprocessor" , "tune.log" ),
68
- os .path .join ("tuned" , "qgemm_lut" , "tune.log" ),
69
- ]
70
- run_command (command , deploy_dir , ignore_errors = True )
65
+ # command = [
66
+ # 'rm',
67
+ # os.path.join("tuned", "preprocessor", "tune.log"),
68
+ # os.path.join("tuned", "qgemm_lut", "tune.log"),
69
+ # ]
70
+ # run_command(command, deploy_dir, ignore_errors=True)
71
71
72
72
qargs = get_quant_args ()
73
73
command = [
@@ -138,7 +138,7 @@ def install_t_mac():
138
138
139
139
140
140
def convert_models ():
141
- model_dir = FLAGS .model_dir
141
+ model_dir = str ( FLAGS .model_dir ). rstrip ( ' \\ ' ). rstrip ( '/' )
142
142
if not os .path .exists (model_dir ):
143
143
raise FileNotFoundError (model_dir )
144
144
You can’t perform that action at this time.
0 commit comments