The above error was caused by some hidden folders that were included in the targz process that creates the model.
The issue has been introduced to the following PR: #155. I also see that there is already an open PR for excluding the code folder from the find_model_versions method (#160).
Instead of excluding explicitly the code folder I would prefer filtering by version.isnumeric():
Recently, I experienced an issue in deploying the sagemaker serving container. I was getting the following:
The above error was caused by some hidden folders that were included in the targz process that creates the model. The issue has been introduced to the following PR: #155. I also see that there is already an open PR for excluding the
code
folder from thefind_model_versions
method (#160).Instead of excluding explicitly the
code
folder I would prefer filtering byversion.isnumeric()
:I have included a hidden folder + nested file as part of the testing model.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.