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

test_cpp.py #2354

Closed
weizhi-wang opened this issue Oct 18, 2024 · 5 comments
Closed

test_cpp.py #2354

weizhi-wang opened this issue Oct 18, 2024 · 5 comments

Comments

@weizhi-wang
Copy link

run cpp/tests/resources/scripts/test_cpp.py
subprocess.CalledProcessError: Command '['cmake', '--build', '/media/data/wwz/TensorRT-LLM/cpp/build', '--config', 'Release', '-j', '--target', 'modelSpec']' returned non-zero exit status 2.

      If there is an issue finding model_spec.so in engine building, manually build model_spec.so by

make -C cpp/build/ modelSpec
error:
make: Entering directory '/media/data/wwz/TensorRT-LLM/cpp/build'
make: *** No rule to make target 'modelSpec'. Stop.
make: Leaving directory '/media/data/wwz/TensorRT-LLM/cpp/build'

@Superjomn
Copy link
Collaborator

Thanks for sharing the issue.
If you are trying to install from source code, please follow the build-from-source-linux instructions. If not, please offer more information by following issue template.

@weizhi-wang
Copy link
Author

@Superjomn ,I build tensorrt llm completely according to the source code( build-from-source-linux ), but there is no target modelSpec' in the generated cpp/build/makefile

@weizhi-wang
Copy link
Author

@Superjomn Thank you. In addition, my other functions can be used normally, but the modelSpec function does not work.

Copy link

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 15 days."

@github-actions github-actions bot added the stale label Nov 21, 2024
Copy link

github-actions bot commented Dec 5, 2024

This issue was closed because it has been 14 days without activity since it has been marked as stale.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants