An automation interface for ML applications
Project description
MLC Automation
This repository provides the codebase for MLC Automation, a streamlined interface for creating workflow automations.
Link for the compatible mlc script automation code: https://github.com/GATEOverflow/mlc-script-automation
MLC CLI Overview
The MLC Command-Line Interface (CLI) enables users to perform actions on specified targets using a simple syntax:
mlc <action> <target> [options]
Key Components:
<action>: The operation to be performed.<target>: The object on which the action is executed.[options]: Additional parameters passed to the action.
Supported Targets and Actions
1. Repo
- Actions related to repositories, such as cloning or updating.
2. Script
- Manage or execute automation scripts.
3. Cache
- Handle cached data, including cleanup or inspection.
Each target has its own set of specific actions to tailor automation workflows.
CM compatibility layer
MLC has a compatibility layer where by it supports MLCommons CM automations.
Architectural Diagram
classDiagram
class Action {
-repos_path : str
-cfg : dict
-repos : list
+execute(args)
+access(options)
+asearch(i)
+find_target_folder(target)
+load_repos_and_meta()
+load_repos()
}
class RepoAction {
+github_url_to_user_repo_format(url)
+pull(args)
+list(args)
}
class ScriptAction {
+run(args)
+list(args)
}
class CacheAction {
+show(args)
+list(args)
}
class ExperimentAction {
+show(args)
+list(args)
}
class UtilsAction {
+load(args)
+get_host_os_info(args)
}
class CfgAction {
+load(args)
+unload(args)
}
class Repo {
-path : str
-meta : dict
}
class Automation {
-cmind : Action
+execute(args)
}
class Index {
+find()
}
Action <|-- RepoAction
Action <|-- ScriptAction
Action <|-- CacheAction
Action <|-- ExperimentAction
Action <|-- UtilsAction
Action <|-- CfgAction
Repo "1" *-- Action
Automation "1" *-- Action
class get_action {
+actions : dict
+get_action(target)
}
main --> get_action
get_action --> RepoAction
get_action --> ScriptAction
get_action --> CacheAction
get_action --> ExperimentAction
get_action --> UtilsAction
get_action --> CfgAction
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mlcflow-0.1.0-py3-none-any.whl.
File metadata
- Download URL: mlcflow-0.1.0-py3-none-any.whl
- Upload date:
- Size: 20.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce7dc1d13fb775f587a1cc019c8deb54aaad2fc7a3fdae6e92adaa5fc360ead5
|
|
| MD5 |
cf7bb40f253bc268b2f9729e369feea4
|
|
| BLAKE2b-256 |
09d734fecd07cc09000b0cf852adb413cddead41003073539c7682d1ccd5ab8f
|