One more question… does metaflow ever build images...
# ask-metaflow
s
One more question… does metaflow ever build images?
1
I need to make sure I’m not pushing my company’s docker images to dockerhub or something
a
We don’t build any images on the fly
s
Awesome
So how do I get my libraries to sync over? Like if I’m working on a thing locally, how do I execute that remotely?
v
two approaches: • Create and use an existing custom Docker image. Metaflow doesn't create or push any images automatically. • Use
@conda
to define libraries you want as described here
👍 1
a
Also, any python file in the same directory as your flow automatically gets shipped to AWS Batch
👍 1
s
Oh that’s awesome!
v
dependency management can be a gnarly topic, so don't hesitate to ask if you have any issues with it
s
Will do
👍 1
I’m seeing you suggest using os to pip install libraries that aren’t in conda
Is that right?
Specifically, I’m trying to install jax with gpu support
In batch
v
getting CUDA drivers match with a JAX version can cause headaches (hopefully NVidia will make their official JAX image public soon) meanwhile you can try using the Nvidia Docker image and install JAX on the fly as described here. Let us know if you can't get it working easily, so we can look into it more
👍 1