shy-midnight-40599
09/10/2025, 4:25 PMhappy-journalist-26770
09/09/2025, 12:58 PMfast-vr-44972
09/09/2025, 12:07 PMpypi.
fast-vr-44972
09/09/2025, 12:01 PMpypi
seems to be managing its own virtual env.
https://github.com/Netflix/metaflow/blob/master/metaflow/plugins/pypi/pypi_decorator.py#L35quick-carpet-67110
09/09/2025, 11:19 AMimage
in @kubernetes
decorator together @pypi
decorator
Hey everyone!
We have a situation where most of our steps share a lot of packages but still require custom installations every now and then.
So we have a base Docker image that is built with all of the common dependencies, but we would like to use the @pypi
decorator to install the custom deps on the fly. Is this currently possible?
I did a quick and dirty example flow with a custom base image and a custom dependency installed in the @pypi
decorator and the code inside the step was not able to import PyTorch, even though it is available in the custom image.
@kubernetes(tolerations=[{"key": "something", "operator": "Equal", "value": "another_value", "effect": "NoSchedule"}], gpu=1, image="pytorch/pytorch:2.0.1-cuda11.7-cudnn8-runtime")
@pypi(python="3.10.0",
packages={
"implicit": "0.7.2",
},
)
@step
def gpu(self):
I searched in the docs and was able to find some information, but I am not sure if system-wide
packages in the snippet refers to the container images packages or something else. Can anyone shed some light on whether or not the setup I am describing above is achievable with Metaflow?
Thank you!ancient-fish-13211
09/03/2025, 1:40 PMhundreds-wire-22547
09/02/2025, 11:20 PMversion = "2.10.5"
-> version = "2.11.7"
and now seeing an error like below, is this a known issue?
File "/tmp/ray/session_2025-06-16_12-59-52_860923_1/runtime_resources/working_dir_files/_ray_pkg_e01e7abcca487ccc/metaflow/datastore/task_datastore.py", line 369, in load_artifacts
yield name, pickle.loads(blob)
^^^^^^^^^^^^^^^^^^
AttributeError: 'FieldInfo' object has no attribute 'evaluated'
clever-midnight-3739
09/02/2025, 4:22 PMadorable-truck-38791
09/01/2025, 1:55 PMmetaflow-dev up
command... it seems to be mostly working, but it seems to keep asking for my password when it's starting all of the services. the weirder thing is that it keeps saying my password is wrong, so i'm not even sure what password it's trying to ask for (is it something related to the minikube/argo roles or something like that? I have no idea)- any thoughts on what I should be trying to fix this?crooked-camera-86023
08/29/2025, 10:51 PMancient-fish-13211
08/29/2025, 10:04 AMfrom metaflow import FlowSpec, step, kubernetes, retry
FlowSpec and step import fine, but I get Cannot find reference errors for kubernetes and retry. If I launch a python console or a notebook the imports work fine so it seems like an indexing issue. I've tried the typical invalidate caches, with no luck. I'd rather not just disable the warnings if possible.
Has anyone had similar issues or have a solution? Many thanksdry-beach-38304
08/28/2025, 7:39 AMnarrow-forest-28560
08/27/2025, 11:12 PMsquare-wire-39606
08/27/2025, 9:29 PMsquare-wire-39606
08/27/2025, 9:28 PMsquare-wire-39606
08/27/2025, 9:27 PMcalm-rainbow-82717
08/26/2025, 7:41 PMmyflow.py
. I want to create something like python myflow.py data check
``python myflow.py data plan` next to the existing ones python myflow.py run
``python myflow.py show` , any idea if it's possible to do this?
I see it seems possible to use the metaflow-extension-template? And I also wonder if there's some other way to achieve the goal. like the customizing stepdecorators using a generator function.
Thanks in advance!hundreds-receptionist-20478
08/26/2025, 7:11 PMgreat-egg-84692
08/26/2025, 5:02 PMfew-dress-69520
08/26/2025, 11:17 AMPIP_EXTRA_INDEX_URL=<url_with_temporary_token> metaflow environment resolve -r requirements.txt --alias test_env
which fails already in the first step of resolving the environment. It just doesn't have access to the private repo and fails to resolve any private packages.
ERROR: Could not find a version that satisfies the requirement <private-package>==0.1 (from versions: none)
ERROR: No matching distribution found for <private-package>==0.1
Strangely, when creating a pip.conf that contains the extra-index-url it almost works. When running
PIP_CONFIG_FILE=pip.conf metaflow environment resolve -r requirements.txt --alias test_env
Metaflow is able to resolve the environment including the private packages and their dependencies, but in the step where it downloads the packages from the web, I get a 401 Client Error: Unauthorized for url:
for the private repo. It looks like when trying to download from the web it doesn't use the pip.conf anymore but instead tries to directly access the url prepared earlier in the process (without the token) and hence fails. I see that there is some auth handling here but this doesn't seem to do the thing that's necessary for my use case.
I'm using metaflow==2.15.21 and metaflow-netflixext==1.2.3.acoustic-river-26222
08/23/2025, 6:03 PMnetflixoss/metaflow_metadata_service:v2.4.12
for the UI service startup. When running the command i get "/opt/latest/bin/python3 -m services.ui_backend_service.ui_server": stat /opt/latest/bin/python3 -m services.ui_backend_service.ui_server: no such file or directory
. Do you know if the path of the container init script changed ? 😁bland-garden-80695
08/23/2025, 12:04 AMadorable-truck-38791
08/22/2025, 2:30 PMFlowSpec
subclass such that one of the steps calls whatever random function gets thrown into the mix
2. Managing the underlying packages backing the different runs
I might be way over-complicating this, so I would appreciate any thoughts or pointers! I'm happy to dig into the code and work through some of the internal APIs for this. I do realize there are security concerns with executing arbitrary functions in this manner, but I think that is manageable in the environment we work inbrash-gold-6157
08/21/2025, 2:49 PMenough-article-90757
08/20/2025, 8:58 PMconfig_expr
cool-businessperson-43467
08/19/2025, 3:31 PMadventurous-australia-32236
08/16/2025, 9:20 PMhundreds-rainbow-67050
08/14/2025, 5:53 PM@track_resources
package in action, with interactive reports that optimize CPU/GPU usage and cut cloud costs—plus a live demo.
◦ 📍 RSVP: http://lu.ma/office-hours-with-spare-cores
✨ Why attend?
Outerbounds Office Hours are a space to:
• 💡 Learn practical strategies from real-world Metaflow use cases
• 🤝 Connect directly with the Outerbounds team & ML/infra community
• 🧰 Discover patterns you can reuse in your own workflows
• 🚀 Stay inspired by how others are solving cutting-edge challenges
🙋 Want to present?
Presenting is a chance to showcase your work, get feedback from peers, and build visibility in the ML/infra ecosystem. Reach out if you’d like to share your story in a future session!bland-garden-80695
08/13/2025, 11:21 PMwide-butcher-68570
08/13/2025, 4:07 PMaws sso login
and then run the flow; Metaflow is able to pickup the AWS credentials ok.
But I am having trouble when trying to run the same flow using the metaflow-dev
stack. Because the pods can't pickup the aws credentials from the process when I run the flow in metaflow-dev shell
. Wondering if anyone has been able to mount aws credential Secrets from a local shell into pods spun up by metaflow-dev
. I am trying to set up a good DevExp for the engineering org. Thanks!