Netflix / metaflow

Open Source Platform for developing, scaling and deploying serious ML, AI, and data science systems
https://metaflow.org
Apache License 2.0
8.14k stars 768 forks source link

The card viewer server should load data from METAFLOW_CARD_LOCALROOT location #2120

Open svpino opened 16 hours ago

svpino commented 16 hours ago

We can configure the location of the metadata and cards using the METAFLOW_DATASTORE_SYSROOT_LOCAL and METAFLOW_CARD_LOCALROOT.

Unfortunately, the card viewer server doesn't use these environment variables to determine where the metadata is located. Instead, we have to run the command from the same folder where the metadata is.

Consider relying on the env variables so we don't have to change folders whenever we have to run the card server.

An alternative solution is to add a parameter to control the location of the folder. Something like this:

python pipeline.py card server --metadata-dir /.metaflow
savingoyal commented 14 hours ago

thanks for the bug report! we are looking into it