LineaPy Configuration #675
mingjerli
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In PR #658
lineapy.options.set
to enable changing the LineaPy backend database and where artifacts are saved.This is useful if we want to switch between different artifact stores (for instance if we are sharing our artifacts with someone else). This is especially helpful if we are not starting LineaPy from the command line (for instance if we are using Google Colab or hosted Jupyter Hub). This can be achieved by running the following commands in your notebook
Tip: We want to make sure the relationship between LineaPy backend database and where artifacts are saved is one-to-one. Otherwise, the LineaPy artifact store might have trouble retrieving some artifacts.
We can now use a configuration file, environment variables, or CLI options to start the LineaPy instance with different configurations.
Furthermore, you can use
lineapy --options init
to create the configuration file and make these changes persistent without setting them every time. You can look at available LineaPy configuration items or if you want to learn more about LineaPy configuration generally. Please see LineaPy Configuration Referenece.Beta Was this translation helpful? Give feedback.
All reactions