Contributing to LoRAX
Setting up your development environment
Updating Python server dependencies
LoRAX uses Poetry to manage dependencies.
When modifying the dependencies of the LoRAX Python server, first modify the server pyproject.toml file directly making the desired changes.
Next, from within the server
directory, generate an updated poetry.lock
file:
poetry lock --no-update
Then (still within the server
directory) generate a new requirements.txt
file:
make export-requirements
Never modify requirements.txt
directly, as it may introduce dependency conflicts.