ai2_kit.core package#
Submodules#
- ai2_kit.core.artifact module
- ai2_kit.core.checkpoint module
- ai2_kit.core.cmd module
- ai2_kit.core.connector module
- ai2_kit.core.executor module
BaseExecutorConfig
Executor
Executor.download()
Executor.dump_text()
Executor.glob()
Executor.init()
Executor.load_text()
Executor.mkdir()
Executor.name
Executor.python_cmd
Executor.resolve_artifact()
Executor.run()
Executor.run_python_fn()
Executor.run_python_script()
Executor.setup_workspace()
Executor.submit()
Executor.tmp_dir
Executor.upload()
Executor.work_dir
ExecutorManager
HpcExecutor
HpcExecutor.download()
HpcExecutor.dump_text()
HpcExecutor.from_config()
HpcExecutor.glob()
HpcExecutor.init()
HpcExecutor.is_local
HpcExecutor.load_text()
HpcExecutor.mkdir()
HpcExecutor.resolve_artifact()
HpcExecutor.run()
HpcExecutor.run_python_fn()
HpcExecutor.run_python_script()
HpcExecutor.submit()
HpcExecutor.upload()
HpcExecutor.upload_python_pkg()
create_executor()
fn_to_script()
pickle_converts()
- ai2_kit.core.future module
- ai2_kit.core.job module
- ai2_kit.core.log module
- ai2_kit.core.pydantic module
- ai2_kit.core.queue_system module
BaseQueueSystem
BaseQueueSystem.cancel()
BaseQueueSystem.connector
BaseQueueSystem.get_job_id_envvar()
BaseQueueSystem.get_job_id_pattern()
BaseQueueSystem.get_job_state()
BaseQueueSystem.get_polling_interval()
BaseQueueSystem.get_script_suffix()
BaseQueueSystem.get_setup_script()
BaseQueueSystem.get_submit_cmd()
BaseQueueSystem.submit()
Lsf
PBS
QueueJobFuture
QueueSystemConfig
Slurm
inject_cmd_to_script()
- ai2_kit.core.resource_manager module
- ai2_kit.core.script module
- ai2_kit.core.util module
JoinTag
LoadTextTag
LoadYamlTag
cmd_with_checkpoint()
create_fn()
dict_nested_get()
dict_nested_set()
dict_remove_dot_keys()
dump_json()
dump_text()
ensure_dir()
expand_globs()
flat_evenly()
flatten()
flush_stdio()
format_env_string()
get_yaml()
limit()
list_even_sample()
list_random_sample()
list_sample()
list_split()
load_json()
load_text()
load_yaml_file()
load_yaml_files()
merge_dict()
nested_set()
parse_path_list()
perf_log()
s_uuid()
short_hash()
slice_from_str()
sort_unique_str_list()
to_awaitable()
wait_for_change()