Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Singularity container support for run script #868

Merged
merged 2 commits into from
Feb 9, 2024

Conversation

fpjentzsch
Copy link
Collaborator

@fpjentzsch fpjentzsch commented Aug 1, 2023

Extends run-docker.sh to support execution of FINN inside a Singularity environment instead of Docker. Expects the Singularity image to be pre-built (from the normal Docker image) by the user. We use a GHA in a different repo for this.

I also added some documentation to the "Getting Started" page and a GHA that tests this feature by building a Singularity container from the FINN Docker image and running quicktest inside it.

Example usage:

  1. Set the new env var to the Singularity image (path or registry URL) you want to use:
    export FINN_SINGULARITY=oras://ghcr.io/eki-project/experiment-manager/finn_apptainer_xilinx:dev
    (this points to a public nightly build of the official dev branch)

  2. Run run-docker.sh normally

iksnagreb

This comment was marked as off-topic.

@fpjentzsch fpjentzsch marked this pull request as ready for review August 3, 2023 12:05
@Xilinx Xilinx deleted a comment from iksnagreb Aug 3, 2023
@auphelia
Copy link
Collaborator

auphelia commented Feb 9, 2024

Thanks @fpjentzsch !

@auphelia auphelia merged commit 04b9c9d into Xilinx:dev Feb 9, 2024
3 checks passed
@fpjentzsch fpjentzsch deleted the feature/apptainer branch July 4, 2024 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants