dusty-nv / jetson-containers

Machine Learning Containers for NVIDIA Jetson and JetPack-L4T
MIT License
2.13k stars 440 forks source link

MLC-LLM Missing Stream Iterator #317

Closed amevec closed 10 months ago

amevec commented 10 months ago

Hardware: Orin AGX/NX Software: dustynv/mlc:r35.4.1 Issue Summary: MLC-LLM has added an iterator for inference results which makes programmatically interfacing with the output easier not requiring capturing stdout

Resolution: Use updated mlc-llm main branch or apply commit manually to /usr/local/lib/python3.8/dist-packages/mlc_chat/callback.py MLC-LLM pull request: https://github.com/mlc-ai/mlc-llm/pull/1057/ MLC-LLM commit for specific fix (to hotfix existing container): https://github.com/mlc-ai/mlc-llm/pull/1057/commits/c65659bf6064d48906844109341e04406953a56c

dusty-nv commented 10 months ago

Thanks @amevec, please see https://github.com/dusty-nv/jetson-containers/issues/316#issuecomment-1785336568