-
Notifications
You must be signed in to change notification settings - Fork 175
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
add tests to check machine files #874
Conversation
@HuangJiameng, @hongriTianqi, @felix5572: I modified some of the machine files you just added to make the tests pass. |
} | ||
} | ||
}, | ||
"resources": { | ||
"local_root":"./", | ||
"batch_type": "Lebesgue", |
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.
Why delete "local_root", and add "batch_type"? Shouldn't "batch_type" be added in "machine" block?
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.
I don't see why you added local_root
. It's never a parameter of resources
.
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.
batch_type
is used for checking as different types have different parameters.
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.
I don't see why you added
local_root
. It's never a parameter ofresources
.
This machine.json
file was obtained from dpgen users in AISI, local_root
was set from the very beginning. I will check with them.
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.
batch_type
is used for checking as different types have different parameters.
batch_type
has been set in the machine
block, is it necessary to repeat this information in resources
block?
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.
@y1xiaoc do you think it is possible to use an argument in another block as the variant key?
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.
@y1xiaoc do you think it is possible to use an argument in another block as the variant key?
In principle yes but I may need to redesign current dargs code structure. Are these two keys always have to be the same? Currently one way to enforce that is to set the extra_check
parameter in their comment parent argument.
No description provided.