-
Notifications
You must be signed in to change notification settings - Fork 24
Fix output directory of test #117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
dc72463
to
55d9284
Compare
7dc4b83
to
c28ab96
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great! Thanks for doing this.
|
||
def gen_test_data_set(model, args, name, opset_version): | ||
model.xp.random.seed(42) | ||
test_path = os.path.join( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a note: I don't think we should do something immediately, but I guess now we output a few giga bytes to "out" directory? Perhaps it's better to auto-remove some ONNX models generated by test_rt.py. For example, I'd keep large ONNX models only for the most recent opset_version.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
agree, pytest framework support command args, for example, add pytest --keep-models=False
option easily (maybe), I'll survey these options. Thanks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
after
Apply only function test, I'll do it for
test_rt.py
andtest_inout.py
on next PR.