-
Notifications
You must be signed in to change notification settings - Fork 458
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
[SDK] ValueError: <HUB_TOKEN> is not a valid HubStrategy, please select one of ['end', 'every_save', 'checkpoint', 'all_checkpoints'] #2495
Comments
/area-sdk |
@helenxie-bit: The label(s) In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@mahdikhashan Hi, could you try installing Python 3.12 to see if this resolves the issue? I'm currently using Python 3.12 and haven't encountered this error. Since the line |
/remove-label lifecycle/needs-triage |
/area sdk |
I'll do so and share the results. Thanks for your reply. Stay tuned. |
while I was checking the python version on my setup (it is 3.9 atm), I noticed two things: in the api document, the requirements for the python version is asserted to be please correct me when I'm wrong @helenxie-bit do we want to increase the required python version (which may cause breaking changes)? or ? update: actually my opinion for ci is to use a matrix testing and support from version 3.8 above - |
I think the python version for ci test is I agree that we should test with python versions that match the requirements in the documentation. But let’s first test the example in the LLM hyperparameter optimization API to ensure it works successfully. Based on the results, we can update the documentation or code as needed. Also, there might be other issues to address, like the one I mentioned here. |
hm, i meant the unit tests ci, its fine, lets leave it for later. |
What happened?
when trying to create a tune job to optimize hp of llm(s), with the below values for tune api, i received an unclear error - it could be better when it shows be what has been wrong.
traceback
What did you expect to happen?
a clear value error message to mention which field is wrong - and what is the expected value.
Environment
Kubernetes version:
Katib controller version:
$ kubectl get pods -n kubeflow -l katib.kubeflow.org/component=controller -o jsonpath="{.items[*].spec.containers[*].image}"
Katib Python SDK version:
Impacted by this bug?
Give it a 👍 We prioritize the issues with most 👍
The text was updated successfully, but these errors were encountered: