mlcommons / cm4mlops

A collection of portable, reusable and cross-platform automation recipes (CM scripts) with a human-friendly interface and minimal dependencies to make it easier to build, run, benchmark and optimize AI, ML and other applications and systems across diverse and continuously changing models, data sets, software and hardware (cloud/edge)
http://docs.mlcommons.org/cm4mlops/
Apache License 2.0
9 stars 12 forks source link

Improving universal build and run scripts to support cross-platform compilation #24

Open gfursin opened 5 months ago

gfursin commented 5 months ago

We should extend our universal compile and benchmark scripts to support cross-platform compilation and execution (requested by several MLCommons workgroups):

As a test example, we can compile and run program for Android or some SSH-based platform.

We should add get-target-device CM to define target platform capabilities (env, config and tools) similar to how I did it in the original CK framework and add it to the build/run CM script.