-
Notifications
You must be signed in to change notification settings - Fork 551
Huggingface deployer #4119
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
Open
htahir1
wants to merge
29
commits into
develop
Choose a base branch
from
claude/huggingface-deployer-011CUj51UperMPAytgCheWG1
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1,071
−2
Open
Huggingface deployer #4119
Changes from 7 commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
9522252
Add Huggingface deployer for ZenML
claude 1be2a1b
Fix logical issues in Huggingface deployer
claude ab7bd79
Simplify Huggingface deployer implementation
claude fd8bf5d
Fix critical bugs in Huggingface deployer
claude ba9b41b
Standardize Hugging Face deployer with existing integration
claude 546eb96
Change deployer flavor name to 'huggingface'
claude 1bf6465
Fix linting and docstring errors
claude 73b157a
Add Hugging Face deployer documentation
claude 00915d7
Implement two-mode deployment and add entrypoint to Dockerfile
claude 919ca6c
Refactor to use ZenML's internal Dockerfile generation
claude 5b2ed08
Fix linting and docstring errors
claude c06146b
CRITICAL SECURITY FIX: Use HF Space Secrets/Variables API
claude 3d3d317
Add reference to HF Spaces GPU documentation
claude 9f92376
Address code review feedback for HuggingFace deployer
claude f08d8cc
Remove redundant secret_name parameter from HuggingFace deployer
claude 5a3595b
Add comprehensive Field descriptions to HuggingFace deployer config
claude 125ce99
Change HuggingFace Space default visibility to private for security
claude 1d84d2e
Update src/zenml/integrations/huggingface/deployers/huggingface_deplo…
htahir1 270f8e2
Address PR review feedback
claude d895d03
Address comprehensive PR review feedback from @stefannica
claude 986cbf4
Fix Space stage mapping to use only ZenML standard deployment states
claude ff9599c
Add missing DeploymentDeprovisionError import
claude 295f7b6
Fix deployment URL to use actual Space domain instead of HF page
claude 9fdadcc
Merge branch 'develop' into claude/huggingface-deployer-011CUj51UperM…
htahir1 f58c1fd
Update docs/book/component-guide/deployers/huggingface.md
htahir1 2fc937e
Check domain stage before returning RUNNING status
claude f43c6c1
Fix HfHubHTTPError import for mypy compatibility
claude da58e37
Refactor settings to follow deployer pattern
claude cf57df0
Add debug logging for deployment state detection
claude File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| # Copyright (c) ZenML GmbH 2025. All Rights Reserved. | ||
| # | ||
| # Licensed under the Apache License, Version 2.0 (the "License"); | ||
| # you may not use this file except in compliance with the License. | ||
| # You may obtain a copy of the License at: | ||
| # | ||
| # https://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, software | ||
| # distributed under the License is distributed on an "AS IS" BASIS, | ||
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express | ||
| # or implied. See the License for the specific language governing | ||
| # permissions and limitations under the License. | ||
| """Hugging Face deployers.""" | ||
|
|
||
| from zenml.integrations.huggingface.deployers.huggingface_deployer import ( | ||
| HuggingFaceDeployer, | ||
| HuggingFaceDeployerSettings, | ||
| ) | ||
|
|
||
| __all__ = [ | ||
| "HuggingFaceDeployer", | ||
| "HuggingFaceDeployerSettings", | ||
| ] |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.