Skip to content

Commit

Permalink
Merge branch 'sh/fa2_4' of https://github.com/DeepLink-org/DIOPI.dev
Browse files Browse the repository at this point in the history
…into sh/fa2_4

Conflicts:
	impl/torch/functions/functions_ext.cpp
  • Loading branch information
ustclight-sls committed Aug 19, 2024
2 parents b9b1d46 + 9ff00e4 commit 5eea319
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions diopi_test/python/conformance/gen_input.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ def run(
try:
case_dict = GenParas(each_cfg_dict).gen_data()
with open(os.path.join(input_path, case_name), "wb") as f:
print("in genipt, case_name:", case_name)
pickle.dump(case_dict, f)
case_counter += 1
logger.info(
Expand Down
1 change: 1 addition & 0 deletions diopi_test/python/conformance/gen_output.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ def run(
GenOutputData.db_case_items[case_name] = item
if output is not None:
with open(os.path.join(output_path, case_name), "wb") as f:
print("in genopt, case_name:", case_name)
pickle.dump(GenOutputData.to_numpy(output), f, protocol=4)
logger_str = "output"
case_counter += 1
Expand Down
1 change: 1 addition & 0 deletions diopi_test/python/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ def parse_args():
if args.pytest_args is not None:
pytest_args.extend(args.pytest_args.split())
pytest_args = ['--cache-clear', '--disable-warnings'] + pytest_args
print("pytest_args:", pytest_args)
exit_code = pytest.main(pytest_args)
if exit_code != 0:
raise SystemExit(exit_code)
Expand Down

0 comments on commit 5eea319

Please sign in to comment.