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

Update lite-test-ubuntu-headless.yml (Workflow testing and research for future additions...) #463

Draft
wants to merge 7 commits into
base: v25
Choose a base branch
from

Conversation

DrewThomasson
Copy link
Owner

No description provided.

@DrewThomasson
Copy link
Owner Author

Testing out adding a Automated way to wipe the builder cache for Mac and windows as a runner

Which I will then later add to the real workflow if it works

@DrewThomasson
Copy link
Owner Author

Cause I just found out Dockerx will keep a build cache...

And I don't want that to grow too large...

@DrewThomasson
Copy link
Owner Author

DrewThomasson commented Mar 10, 2025

I also need to add a way that it remotely makes the huggingface space automatically factory rebuild when I update the huggingface image

There should be a command for it

# 1. Install the Hugging Face Hub package
pip install huggingface-hub

# 2. Log in using your API token
huggingface-cli login --token YOUR_TOKEN

# 3. Restart your space
huggingface-cli space restart your-username/your-space-name

@DrewThomasson
Copy link
Owner Author

I think the build cache wiping works on UNIX now...?

@DrewThomasson
Copy link
Owner Author

HM
it appears there is no way to cmomandline remotely rebuild a space

I suppose ill have to remotely clone, add a comment to a file, and push the changes to the hugginface space

and that change to the space files will force it to automatically rebuild the huggingface space

@DrewThomasson DrewThomasson changed the title Update lite-test-ubuntu-headless.yml Update lite-test-ubuntu-headless.yml (Workflow testing and research for future additions...) Mar 11, 2025
@DrewThomasson DrewThomasson marked this pull request as draft March 11, 2025 17:40
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.

1 participant