-
Notifications
You must be signed in to change notification settings - Fork 814
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
CPU Launcher fails available check with venv #3049
Comments
@ElfoLiNk ipex_enable=true should be set. Please check https://github.com/pytorch/serve/blob/master/examples/intel_extension_for_pytorch/README.md#torchserve-with-launcher |
Hi @lxning, I already have the ipex_enable=true. I updated the bug adding more info |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
馃悰 Describe the bug
cpu launcher doesn't work
Error logs
launcherAvailable cmdline is running outside the virtual env of torchserve like the below command which fails
Instead using the virtual env where the torchserve is running works
Installation instructions
Torchserve 0.10.0 installed in a virtual env with pip
Model Packaging
not applicable
config.properties
Versions
TorchServe 0.10.0
Python 3.9
Repro instructions
Start a torchserve from a virtual env with cpu_launcher_enable true
Possible Solution
i think https://github.com/pytorch/serve/blob/v0.10.0/frontend/server/src/main/java/org/pytorch/serve/wlm/WorkerLifeCycle.java#L69 should be updated to use python environment used by the running torchserve
The text was updated successfully, but these errors were encountered: