LAION-AI / Open-Assistant

OpenAssistant is a chat-based assistant that understands tasks, can interact with third-party systems, and retrieve information dynamically to do so.
https://open-assistant.io
Apache License 2.0
36.92k stars 3.22k forks source link

To support pip install for model_training package. #3643

Closed zhanglu0704 closed 1 year ago

zhanglu0704 commented 1 year ago

For the Python module: model_training, the original package management file pyproject.toml was configured with "py-modules = ["model_training"]". However, "py-modules" is typically used for setting up single file modules, not for Python packages. The original configuration could possibly cause "pip install ." to fail to install model_training in the Python environment (only model_training-1.0.0.dist-info is available under /usr/local/lib/python/).