A collection of simple utilities for machine learning workflows.
Project description
icflow
is a Python package with some prototype 'workflow' tools for use in ICHEC.
It is intended to help standardize some of our workflows in areas like Machine Learning by using common utilities, data-formats and data-structures.
See the project documentation on ReadTheDocs.
Installation
It is available on PyPI:
pip install icflow
Features
icflow
is mostly intended to be used as a library for building workflow tooling - however it has a few CLI applications.
Parameter Sweep
You can define a parameter sweep in a yaml
file as follows:
title: "my_parameter_sweep"
program: "launch_program"
parameters:
param_0 : 1
param_1 : "my_value"
param_2 : [1, 2]
param_3 : ["a", "b"]
Running:
icflow sweep --config my_config.yaml
with this fill will launch the program or script defined by program
, which should be in the system PATH
.
The listed parameters are passed as command line arguments to the program
in the form --key value
. Parameter value lists are expanded such that there is a program launch for each combination of values in the list. In the above example this will result in the following program launches:
launch_program --param_0 1 --param_1 my_value --param_2 1 --param_3 a
launch_program --param_0 1 --param_1 my_value --param_2 2 --param_3 a
launch_program --param_0 1 --param_1 my_value --param_2 1 --param_3 b
launch_program --param_0 1 --param_1 my_value --param_2 2 --param_3 b
Program launching is handled internally by ICHEC's ictasks library, with each of these program launches handled as a 'task'.
Copyright
This software is Copyright of the Irish Centre for High End Computing 2024. You can use it under the terms of the GPLv3+. See the included LICENSE
file for details.
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 Distribution
Built Distribution
File details
Details for the file icflow-0.1.0.tar.gz
.
File metadata
- Download URL: icflow-0.1.0.tar.gz
- Upload date:
- Size: 25.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a63cd2cfcf74f4a82a8b12bbfb663018ce24f684eccdf18eb5f490948532d25 |
|
MD5 | 775dcb2d538228e5f9cbab455bacc3e9 |
|
BLAKE2b-256 | 7f431882fdb2d995c7fa93a1d2c759647193219ffcc77f0e39e21b46952356e6 |
File details
Details for the file icflow-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: icflow-0.1.0-py3-none-any.whl
- Upload date:
- Size: 26.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1dcb69f76a66e686da6383fb1bcb0a06be13c12fb6df370d6f53865126199b63 |
|
MD5 | 211e2c6400d8d1fe25fa8948558c2b49 |
|
BLAKE2b-256 | dd7c5bb30d648966351ffa75973150af6e2cba59f2a9b77a803957218246ff9f |