Mousius commented on a change in pull request #30:
URL: https://github.com/apache/tvm-rfcs/pull/30#discussion_r716685370



##########
File path: rfcs/0030-tvmc-comand-line-configuration-files.md
##########
@@ -0,0 +1,165 @@
+- Feature Name: Command Line Configuration Files
+- Start Date: 2021-08-09
+- RFC PR: [apache/tvm-rfcs#30](https://github.com/apache/tvm-rfcs/pull/30)
+- GitHub Issue: [apache/tvm#0000](https://github.com/apache/tvm/issues/0000)
+
+# Summary
+[summary]: #summary
+
+Collecting common configurations for users of TVM and exposing them gracefully 
in `tvmc` using a `--config` option. The scope of this RFC is to introducing 
the configuration files, the placement of them and demonstrating usage.
+
+# Motivation
+[motivation]: #motivation
+
+When a user first approaches TVM, choosing an appropriate configuration can be 
difficult, this is increasingly true in embedded systems where the 
configuration is not only a collection of devices but also how those devices 
are interfaced (see [Arm® Corstone™-300 reference 
package](https://developer.arm.com/ip-products/subsystem/corstone/corstone-300)).
 Trying to specify all of this in a target string or via command line arguments 
would be error prone and tedious. Predefining these in a common format allows 
users to get started and take the configurations for their own use cases easily.
+
+# Guide-level explanation
+[guide-level-explanation]: #guide-level-explanation
+
+## TVM Hosted Configurations
+Configurations will be stored as [JSON5](https://json5.org/) at 
`configs/<TYPE>/<NAME>.json`, this top level directory will enable other 
tooling to load configurations just as easily a `tvmc` and provide easy sign 
posting for users looking for configurations.

Review comment:
       It's intentionally not defined to allow for users to populate it as they 
see fit, I don't want to constrain the folders in that directory to requiring 
an RFC update. I provided `configs/boards` as an example use case but I imagine 
there'll be many ways of subdividing this.




-- 
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