zxybazh opened a new pull request, #11792:
URL: https://github.com/apache/tvm/pull/11792

   Previously `cpu-flush` option existed as a boolean or integer argument, 
which is a bit counter-intuitive because for argparse, any non-empty string 
such as `False` will be parsed to `True` when using as a boolean and integer a 
little bit vague here IMHO. This PR used a function from `distutils` to 
directly parse input string to boolean, which makes the usage more 
stragiht-forward like `--cpu-flush True` or `--cpu-flush False`. Meanwhile it 
still supports usage of `0/1` and made sure the argument is always required.
   
   CC: @junrushao1994 
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to