From 77760a92a04843864b93da0612f320df280bb866 Mon Sep 17 00:00:00 2001 From: "jacob.romero" Date: Wed, 19 Mar 2025 10:41:07 -0700 Subject: [PATCH 1/3] chore: update references for installing fastcore to plum-dispatch which is required by the sdk now for metaflow integration. --- content/guides/integrations/metaflow.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/guides/integrations/metaflow.md b/content/guides/integrations/metaflow.md index 0560fcc31..ab04cc471 100644 --- a/content/guides/integrations/metaflow.md +++ b/content/guides/integrations/metaflow.md @@ -48,7 +48,7 @@ To install the `wandb` library locally and log in: ```shell - pip install -Uqqq metaflow fastcore wandb + pip install -Uqqq metaflow plum-dispatch wandb wandb login ``` @@ -58,7 +58,7 @@ To install the `wandb` library locally and log in: {{% tab header="Python" value="python" %}} ```bash -pip install -Uqqq metaflow fastcore wandb +pip install -Uqqq metaflow plum-dispatch wandb ``` ```python import wandb @@ -70,7 +70,7 @@ wandb.login() {{% tab header="Python notebook" value="notebook" %}} ```notebook -!pip install -Uqqq metaflow fastcore wandb +!pip install -Uqqq metaflow plum-dispatch wandb import wandb wandb.login() From 2b02621d17d83211e8a205fa5f56f7121543afac Mon Sep 17 00:00:00 2001 From: "jacob.romero" Date: Wed, 19 Mar 2025 12:20:40 -0700 Subject: [PATCH 2/3] add version constraint to pip install command --- content/guides/integrations/metaflow.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/content/guides/integrations/metaflow.md b/content/guides/integrations/metaflow.md index ab04cc471..eaec6633a 100644 --- a/content/guides/integrations/metaflow.md +++ b/content/guides/integrations/metaflow.md @@ -34,6 +34,11 @@ For a more streamlined approach, you can generate an API key by going directly t To install the `wandb` library locally and log in: +{{% alert %}} +For wandbkversions <= 0.19.8, install `fastcore<1.8.0` instead of `plum-dispatch`: +{{% /alert %}} + + {{< tabpane text=true >}} {{% tab header="Command Line" value="cli" %}} @@ -48,7 +53,7 @@ To install the `wandb` library locally and log in: ```shell - pip install -Uqqq metaflow plum-dispatch wandb + pip install -Uqqq metaflow "plum-dispatch<3.0.0" wandb wandb login ``` @@ -58,7 +63,7 @@ To install the `wandb` library locally and log in: {{% tab header="Python" value="python" %}} ```bash -pip install -Uqqq metaflow plum-dispatch wandb +pip install -Uqqq metaflow "plum-dispatch<3.0.0" wandb ``` ```python import wandb @@ -70,7 +75,7 @@ wandb.login() {{% tab header="Python notebook" value="notebook" %}} ```notebook -!pip install -Uqqq metaflow plum-dispatch wandb +!pip install -Uqqq metaflow "plum-dispatch<3.0.0" wandb import wandb wandb.login() From 4239940bda24b285bdd0877f5d9e98ce8496aa88 Mon Sep 17 00:00:00 2001 From: Jacob Romero Date: Wed, 19 Mar 2025 13:13:37 -0700 Subject: [PATCH 3/3] Update content/guides/integrations/metaflow.md Co-authored-by: Katia Patkin <87335417+kptkin@users.noreply.github.com> --- content/guides/integrations/metaflow.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/guides/integrations/metaflow.md b/content/guides/integrations/metaflow.md index eaec6633a..8b1617a43 100644 --- a/content/guides/integrations/metaflow.md +++ b/content/guides/integrations/metaflow.md @@ -35,7 +35,7 @@ For a more streamlined approach, you can generate an API key by going directly t To install the `wandb` library locally and log in: {{% alert %}} -For wandbkversions <= 0.19.8, install `fastcore<1.8.0` instead of `plum-dispatch`: +For wandb versions <= 0.19.8, install `fastcore<1.8.0` instead of `plum-dispatch`: {{% /alert %}}