-
Notifications
You must be signed in to change notification settings - Fork 33
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
Add label studio component #154
base: develop
Are you sure you want to change the base?
Add label studio component #154
Conversation
…face spaces in the 'gcp-modular' directory - created a 'label-studio-hf-module'. Made changes to add options in constants and enums for the new label studio component, and updated logic to allow 'huggingface' to be accepted as a provider at the component level
Important Auto Review SkippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
️✅ There are no secrets present in this pull request anymore.If these secrets were true positive and are still valid, we highly recommend you to revoke them. 🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request. |
…st creation of the new label studio component
37882e3
to
5d5b6f5
Compare
Hi @davidrd123. Apologies for the delay in getting back to you on this. I've tried to fix the provider, but haven't managed to crack it just yet. So for now what I'd propose is the following:
resource "huggingface-spaces_space" "zenml_server" {
name = "test-zenml-space"
private = false
template = "zenml/zenml"
}
So all this PR would do is spin up the HF space and delete it with default settings. (Plus the option to set it private vs public). It's a more limited feature set, but I can't think of a way to help close out this feature prior to finding the fix for the TF Provider. Does that make sense? |
Describe changes
I have created Terraform files in the
gcp-modular
directory to enable the deployment of a Label Studio component to a Hugging Face Space. This setup works when runningterraform apply
directly in the directory. However, I encounter issues when attempting to deploy using themlstacks deploy
command.Debugging Files Included
This PR includes a set of YAML configuration files located in
src/mlstacks/testing
used for debugging the deployment process of the new MLStacks component. These files are essential for replicating the deployment steps and troubleshooting the issues described.Steps to Reproduce the Error
To replicate the error I'm encountering with
mlstacks deploy
, execute the following command from within thesrc/mlstacks/testing
directory:This results in the following error related to Terraform provider resolution:
Request for Assistance
I would appreciate guidance on resolving the provider resolution issue with
mlstacks deploy
. Any insights into potential misconfigurations or enhancements to the deployment scripts would be highly beneficial.Pre-requisites
Please ensure you have done the following:
accordingly.
develop
and the open PR is targetingdevelop
. If your branch wasn't based on develop readContribution guide on rebasing branch to develop.
Types of Changes