Skip to content
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

pin setuptools to v69.5.1 in model_requirements.txt #54

Merged
merged 1 commit into from
Jun 13, 2024

Conversation

lauranutanix
Copy link
Contributor

The current version (v0.2 and v0.2.1) of nai-llm-k8s fails to run inference with a ModuleNotFoundError.

From pod logs when starting inference:

2024-06-11T04:43:55,927 [INFO ] W-9000-tinyllama_fe8a4ea1ffedaf415f4da2f062534de366a451e6-stdout MODEL_LOG - ModuleNotFoundError: No module named 'ts.torch_handler.handler'

@pipoe2h figured out that if we pin setuptools to the previous version (69.5.1) in model_requirements.txt and then generate the MAR, this issue is not seen.

@saileshd1402
Copy link
Contributor

This fix is working. It was also suggested in the pytorch/serve repository: pytorch/serve#3176

@johnugeorge johnugeorge merged commit f36edf2 into nutanix:main Jun 13, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

4 participants