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

Refactor diffusers CD #442

Merged
merged 2 commits into from
Aug 8, 2024
Merged

Refactor diffusers CD #442

merged 2 commits into from
Aug 8, 2024

Conversation

oOraph
Copy link
Collaborator

@oOraph oOraph commented Aug 5, 2024

  • Do not push to internal registry anymore (no access), use ghcr instead
  • Do not use tailscale (no need, if we do not push to internal registry)
  • Remove api-inference trigger -> needs rework
  • TODO: adapt other frameworks as well

@oOraph oOraph requested review from Narsil, apolinario and XciD August 5, 2024 15:46
curl -H "Authorization: Bearer ${{ secrets.API_GITHUB_TOKEN }}" https://api.github.com/repos/huggingface/api-inference/actions/workflows/update_community.yaml/dispatches -d '{"ref":"main","inputs":{"framework":"DIFFUSERS","tag": "'"${DIFFUSERS_CPU_TAG}"'"}}'
curl -H "Authorization: Bearer ${{ secrets.API_GITHUB_TOKEN }}" https://api.github.com/repos/huggingface/api-inference/actions/workflows/update_community.yaml/dispatches -d '{"ref":"main","inputs":{"compute": "GPU", "framework":"DIFFUSERS","tag": "'"${DIFFUSERS_CPU_TAG}"'"}}'
images: ghcr.io/${{ env.CONTAINER_REPO }}
# Is this step useful ? Do we really support multi arch / cross compiling ?
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure we need qemu static binaries. I'll remove unless anyone objects :)

oOraph added 2 commits August 7, 2024 09:39
- Do not push to internal registry anymore (no access), use ghcr instead
- Do not use tailscale (no need, if we do not push to internal registry)
- Remove autosync -> not working, will be refactored
- TODO: adapt other frameworks as well

Signed-off-by: Raphael Glon <oOraph@users.noreply.github.com>
Signed-off-by: Raphael Glon <oOraph@users.noreply.github.com>
@oOraph oOraph force-pushed the dev/fix-diffusers-cd branch from 84a9865 to 9f8e074 Compare August 7, 2024 07:39
@oOraph oOraph merged commit 40a21b7 into main Aug 8, 2024
2 checks passed
@oOraph oOraph deleted the dev/fix-diffusers-cd branch August 8, 2024 09:57
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.

2 participants