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
Can't load model estimater after training #11043
Comments
@philschmid I know you are an expert on the Sagemaker side of the product. Can you point me in the right direction for this? |
Hey @gwc4github, I have to tell you that using If you want to use SageMaker for inference you can write some custom code to load and run inference for your model. Documenetation on to bring your own model
I hope that we can provide a prototype for |
Hey @gwc4github you would have to implement a model_loading and inference handler for this to get setup within a SageMaker Endpoint. Would you please mind sharing the Framework (TF/PyTorch), version, CPU/GPU for your usecase. I can send you the recipe for writing a model_handler post that. Here is how it will look like, from within SageMaker endpoint:
|
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread. Please note that issues that do not follow the contributing guidelines are likely to be ignored. |
@C24IO Sorry I missed your generous offer. I must have missed the notification. |
Ok, please check this workshop for setting up PyTorch models, https://github.com/tescal2/TorchServeOnAWS/tree/master/2_serving_natively_with_amazon_sagemaker Please let me know if you run into any issues. |
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread. Please note that issues that do not follow the contributing guidelines are likely to be ignored. |
@gwc4github we released last week the inference solution for Hugging Face on SageMaker. You can learn more about it in our new blog post or in the documentation |
Thanks for the update Philipp! I'll take a look! |
I was trying to follow the Sagemaker instructions here to load the model I just trained and test an estimation. I get the error message:
NotImplementedError: Creating model with HuggingFace training job is not supported.
Can someone share some sample code to run to do this? Here is the basic thing I am trying to do:
I also tried some things with .deploy() and endpoints but didn't have any luck there either.
The text was updated successfully, but these errors were encountered: