Skip to content

fix hf publish#323

Merged
HenryNdubuaku merged 5 commits intomainfrom
fix-hf-publish
Feb 4, 2026
Merged

fix hf publish#323
HenryNdubuaku merged 5 commits intomainfrom
fix-hf-publish

Conversation

@jakmro
Copy link
Copy Markdown
Collaborator

@jakmro jakmro commented Feb 4, 2026

No description provided.

Signed-off-by: jakmro <[email protected]>
@jakmro jakmro marked this pull request as ready for review February 4, 2026 15:33
Copilot AI review requested due to automatic review settings February 4, 2026 15:33
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes the HuggingFace publishing workflow by correcting path references, updating the precision parameter, and adding organization README publishing functionality.

Changes:

  • Replaced the broken .github/workflows/publish.yml with a corrected .github/workflows/publish_to_hf.yml that uses the correct python/ directory path and valid INT8 precision parameter
  • Added update_org_readme() function to upload the project README to the organization's HuggingFace space
  • Updated workflow triggers to support both release events and manual workflow dispatch

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
.github/workflows/publish_to_hf.yml New workflow file with corrected paths (python/ instead of tools/), valid precision parameter (INT8 instead of MIXED), and support for both release and manual triggers
.github/workflows/publish.yml Removed broken workflow file that referenced non-existent tools/ directory
python/src/publish_to_hf.py Added update_org_readme() function to publish project README to HuggingFace organization space

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@HenryNdubuaku HenryNdubuaku merged commit c0e9a7d into main Feb 4, 2026
1 of 2 checks passed
ncylich pushed a commit that referenced this pull request Feb 24, 2026
* fix hf publish

Signed-off-by: jakmro <[email protected]>

* add precision

Signed-off-by: jakmro <[email protected]>

* rename workflow file

Signed-off-by: jakmro <[email protected]>

* fix: specify repository in tag retrieval for release events

Signed-off-by: jakmro <[email protected]>

* fix: create README repo if it doesn't exist during update

Signed-off-by: jakmro <[email protected]>

---------

Signed-off-by: jakmro <[email protected]>
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