Skip to content

Can’t create an inference service for models that depend on packages i.e. espeak #128

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
ghubnerr opened this issue Jun 23, 2024 · 0 comments

Comments

@ghubnerr
Copy link

I'm trying to deploy an inference endpoint for a speech-to-IPA model on SageMaker, using HuggingFace's toolkit for "facebook/wav2vec2-lv-60-espeak-cv-ft", which depends on espeak (sudo yum install speak) to perform some speech conversions. The VM that the service spins up doesn't contain the option for me to input a specific package to be installed or a script to do so.

ModelError: An error occurred (ModelError) when calling the InvokeEndpoint operation: Received client error (400) from primary with message "{
  "code": 400,
  "type": "InternalServerException",
  "message": "espeak not installed on your system"
}```

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant