Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/deepsquare-io/workflow-catalog
DeepSquare Workflow Catalog, including both starter workflow files and community-contributed ones.
https://github.com/deepsquare-io/workflow-catalog
Last synced: about 1 month ago
JSON representation
DeepSquare Workflow Catalog, including both starter workflow files and community-contributed ones.
- Host: GitHub
- URL: https://github.com/deepsquare-io/workflow-catalog
- Owner: deepsquare-io
- License: mit
- Created: 2023-05-23T14:35:13.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-06T15:54:37.000Z (10 months ago)
- Last Synced: 2024-04-14T10:46:32.728Z (9 months ago)
- Size: 830 KB
- Stars: 10
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# DeepSquare Workflows Repository
Welcome to the DeepSquare Workflows repository! This repository is dedicated to sharing workflows that help you get started with utilizing the DeepSquare infrastructure. Whether you are a developer, data scientist, or researcher, these workflows provide a streamlined way to run your applications and experiments on DeepSquare.
## Writing a Workflow File
A workflow file is a YAML file that describes the resource allocation and the set of instructions necessary to run your application on DeepSquare. To create a workflow file, you can follow these steps:
1. Start by containerizing your application, ensuring that it is compatible with DeepSquare.
2. Test your workflow on the DeepSquare Portal Dev App to verify its functionality.## Understanding the Workflow Format
The workflow format consists of defining the resources allocated for your application and specifying the steps to run. Here is an example workflow in YAML format:
```yaml
resources:
tasks: 16
gpus: 0
cpusPerTask: 1
memPerCpu: 1024
enableLogging: true
steps:
- name: run the application
run:
command: './main'
workDir: '/app'
resources:
tasks: 16
container:
image: deepsquare-io/example:latest
registry: ghcr.io
```In this example, we allocate 16 tasks, with each task using 1 CPU and 1024 MB of RAM. The `enableLogging` parameter allows the application to send logs to the DeepSquare logging system for easy monitoring. The `steps` section defines the execution steps, including the command to run and the container image to use.
## Documentation
If you need more information on how to write workflow files, please refer to our [documentation](https://docs.deepsquare.run/docs/deploy-deepsquare/overview). It provides detailed guidance on utilizing the DeepSquare infrastructure and writing efficient workflows.
## Contributing
We welcome contributions from the community to expand the collection of workflows in this repository. By doing so, you help others get started and unlock the full potential of DeepSquare. If you would like to contribute a new workflow, please refer to the [contributing guidelines](CONTRIBUTING.md).
Thank you for using DeepSquare and being a part of our community!