Skip to main content

Jobspec specification and translation layer for cluster work

Project description

fractale

Translation layer for a jobspec specification to cluster execution

PyPI version DOI

This library is primarily being used for development for the descriptive thrust of the Fractale project. It is called fractale, but also not called fractale. You can't be sure of the name until you open the box.

Design

Agents

The fractale agent command provides means to run build, job generation, and deployment agents. This part of the library is under development. There are three kinds of agents:

  • step agents are experts on doing specific tasks (do hold state)
  • manager agents know how to orchestrate step agents and choose between them (don't hold state, but could)
  • helper agents are used by step agents to do small tasks (e.g., suggest a fix for an error)

The design is simple in that each agent is responding to state of error vs. success. In the case of a step agent, the return code determines to continue or try again. In the case of a helper, the input is typically an erroneous response (or something that needs changing) with respect to a goal. For a manager, we are making a choice based on a previous erroneous step.

See examples/agent for an example, along with observations, research questions, ideas, and experiment brainstorming!

Job Specifications

Simple

We provide a simple translation layer between job specifications. We take the assumption that although each manager has many options, the actual options a user would use is a much smaller set, and it's relatively straight forward to translate (and have better accuracy).

See examples/transform for an example.

Complex

We want to:

  1. Generate software graphs for some cluster (fluxion JGF) (this is done with compspec
  2. Register N clusters to a tool (should be written as a python module)
  3. Tool would have ability to select clusters from resources known, return
  4. Need graphical representation (json) of each cluster - this will be used with the LLM inference

See examples/fractale for a detailed walk-through of the above.

For graph tool:

conda install -c conda-forge graph-tool

License

HPCIC DevTools is distributed under the terms of the MIT license. All new contributions must be made under this license.

See LICENSE, COPYRIGHT, and NOTICE for details.

SPDX-License-Identifier: (MIT)

LLNL-CODE- 842614

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fractale-0.0.12.tar.gz (83.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fractale-0.0.12-py3-none-any.whl (111.1 kB view details)

Uploaded Python 3

File details

Details for the file fractale-0.0.12.tar.gz.

File metadata

  • Download URL: fractale-0.0.12.tar.gz
  • Upload date:
  • Size: 83.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.2

File hashes

Hashes for fractale-0.0.12.tar.gz
Algorithm Hash digest
SHA256 376285cfb10a4110e212265fcd26a8deed5b5d0e596ceccb7d3cd268dbebc96c
MD5 4f8b46f2af4e78451f95826647d9f308
BLAKE2b-256 f0cfc7a669c490304571124208b58fe1435fba6a91e0e7a6097c17f7c559f2d9

See more details on using hashes here.

File details

Details for the file fractale-0.0.12-py3-none-any.whl.

File metadata

  • Download URL: fractale-0.0.12-py3-none-any.whl
  • Upload date:
  • Size: 111.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.2

File hashes

Hashes for fractale-0.0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 99aead422ad5e8eccf135658d5a3e9b8b488d1bcae9b317b8f98b536fc8c69af
MD5 7f470151f5d8c2903495f44d0f663321
BLAKE2b-256 f3e280eb3ee813dc9576cb791ab171a79a78ba396a19eb45a6cf9b2429410f7b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page