-## Weave
+## W&B Weave
##### Use AI models in your app
@@ -24,7 +24,7 @@ Use [W&B Weave](https://weave-docs.wandb.ai/) to manage all aspects of integrati
{{% /card %}}
{{% card %}}
-## Models
+## W&B Models
##### Build AI models
diff --git a/content/guides/_index.md b/content/guides/_index.md
index 7557af4ed..221af4ea6 100644
--- a/content/guides/_index.md
+++ b/content/guides/_index.md
@@ -27,15 +27,15 @@ W&B consists of three major components: [Models]({{< relref "/guides/models.md"
- [Sweeps]({{< relref "/guides/models/sweeps/" >}}): Hyperparameter tuning and model optimization
- [Registry]({{< relref "/guides/models/registry/" >}}): Publish and share your ML models and datasets
-**[W&B Weave](/guides/weave/)** is a lightweight toolkit for tracking and evaluating LLM applications.
+**[W&B Weave]({{< relref "/guides/weave/" >}})** is a lightweight toolkit for tracking and evaluating LLM applications.
**[W&B Core]({{< relref "/guides/core/" >}})** is set of powerful building blocks for tracking and visualizing data and models, and communicating results.
- [Artifacts]({{< relref "/guides/core/artifacts/" >}}): Version assets and track lineage
- [Tables]({{< relref "/guides/core/tables/" >}}): Visualize and query tabular data
- [Reports]({{< relref "/guides/core/reports/" >}}): Document and collaborate on your discoveries
-
## How does W&B work?
+
Read the following sections in this order if you are a first-time user of W&B and you are interested in training, tracking, and visualizing machine learning models and experiments:
1. Learn about [runs]({{< relref "/guides/models/track/runs/" >}}), W&B's basic unit of computation.
diff --git a/content/guides/core/reports/reports-gallery.md b/content/guides/core/reports/reports-gallery.md
index 4ef109a9d..798c6c338 100644
--- a/content/guides/core/reports/reports-gallery.md
+++ b/content/guides/core/reports/reports-gallery.md
@@ -50,8 +50,4 @@ Tell the story of a project, which you and others can reference later to underst
{{< img src="/images/reports/intro_work_log_2.png" alt="" >}}
-See the [Learning Dexterity End-to-End Using W&B Reports](https://bit.ly/wandb-learning-dexterity) for an example of how W&B Reports were used to explore how the OpenAI Robotics team used W&B Reports to run massive machine learning projects.
-
-
-
-
\ No newline at end of file
+See the [Learning Dexterity End-to-End Using W&B Reports](https://bit.ly/wandb-learning-dexterity) for an example of how W&B Reports were used to explore how the OpenAI Robotics team used W&B Reports to run massive machine learning projects.
\ No newline at end of file
diff --git a/content/guides/hosting/data-security/presigned-urls.md b/content/guides/hosting/data-security/presigned-urls.md
index bad5297ad..2ecd3e030 100644
--- a/content/guides/hosting/data-security/presigned-urls.md
+++ b/content/guides/hosting/data-security/presigned-urls.md
@@ -27,7 +27,7 @@ In case of AWS, one can use [VPC or IP address based network restriction](https:
## Audit logs
-W&B also recommends to use [W&B audit logs](../monitoring-usage/audit-logging.md) in addition to blob storage specific audit logs. For latter, refer to [AWS S3 access logs](https://docs.aws.amazon.com/AmazonS3/latest/userguide/ServerLogs.html),[Google Cloud Storage audit logs](https://cloud.google.com/storage/docs/audit-logging) and [Monitor Azure blob storage](https://learn.microsoft.com/en-us/azure/storage/blobs/monitor-blob-storage). Admin and security teams can use audit logs to keep track of which user is doing what in the W&B product and take necessary action if they determine that some operations need to be limited for certain users.
+W&B also recommends to use [W&B audit logs]({{< relref "../monitoring-usage/audit-logging.md" >}}) in addition to blob storage specific audit logs. For latter, refer to [AWS S3 access logs](https://docs.aws.amazon.com/AmazonS3/latest/userguide/ServerLogs.html),[Google Cloud Storage audit logs](https://cloud.google.com/storage/docs/audit-logging) and [Monitor Azure blob storage](https://learn.microsoft.com/en-us/azure/storage/blobs/monitor-blob-storage). Admin and security teams can use audit logs to keep track of which user is doing what in the W&B product and take necessary action if they determine that some operations need to be limited for certain users.
{{% alert %}}
Pre-signed URLs are the only supported blob storage access mechanism in W&B. W&B recommends configuring some or all of the above list of security controls depending on your risk appetite.
diff --git a/content/guides/hosting/data-security/private-connectivity.md b/content/guides/hosting/data-security/private-connectivity.md
index f1d18bd9b..2cc060407 100644
--- a/content/guides/hosting/data-security/private-connectivity.md
+++ b/content/guides/hosting/data-security/private-connectivity.md
@@ -7,7 +7,7 @@ title: Configure private connectivity to Dedicated Cloud
weight: 4
---
-You can connect to your [Dedicated Cloud](../hosting-options/dedicated_cloud.md) instance over the cloud provider's secure private network. This applies to the access from your AI workloads to the W&B APIs and optionally from your user browsers to the W&B app UI as well. When using private connectivity, the relevant requests and responses do not transit through the public network or internet.
+You can connect to your [Dedicated Cloud]({{< relref "../hosting-options/dedicated_cloud.md" >}}) instance over the cloud provider's secure private network. This applies to the access from your AI workloads to the W&B APIs and optionally from your user browsers to the W&B app UI as well. When using private connectivity, the relevant requests and responses do not transit through the public network or internet.
{{% alert %}}
Secure private connectivity is available in preview as an advanced security option with Dedicated Cloud.
diff --git a/content/guides/integrations/lightning.md b/content/guides/integrations/lightning.md
index b3c16e643..ea82f9048 100644
--- a/content/guides/integrations/lightning.md
+++ b/content/guides/integrations/lightning.md
@@ -63,7 +63,7 @@ fabric.log_dict({"important_metric": important_metric})
3. In your browser, find your API key on the [Authorize page](https://wandb.ai/authorize).
-4. If you are using Weights and Biases for the first time you might want to check out our [**quickstart**](../../quickstart.md)
+4. If you are using Weights and Biases for the first time you might want to check out our [**quickstart**]({{< relref "/guides/quickstart.md" >}})
{{< tabpane text=true >}}
{{% tab header="Command Line" value="cli" %}}
@@ -300,7 +300,7 @@ for epoch in range(num_epochs):
## Log the min/max of a metric
-Using wandb's [`define_metric`](/ref/python/run#define_metric) function you can define whether you'd like your W&B summary metric to display the min, max, mean or best value for that metric. If `define`_`metric` _ isn't used, then the last value logged with appear in your summary metrics. See the `define_metric` [reference docs here](/ref/python/run#define_metric) and the [guide here](/guides/models/track/log/customize-logging-axes) for more.
+Using wandb's [`define_metric`]({{< relref "/ref/python/run#define_metric" >}}) function you can define whether you'd like your W&B summary metric to display the min, max, mean or best value for that metric. If `define`_`metric` _ isn't used, then the last value logged with appear in your summary metrics. See the `define_metric` [reference docs here]({{< relref "/ref/python/run#define_metric" >}}) and the [guide here]({{< relref "/guides/models/track/log/customize-logging-axes" >}}) for more.
To tell W&B to keep track of the max validation accuracy in the W&B summary metric, call `wandb.define_metric` only once, at the beginning of training:
@@ -338,7 +338,7 @@ fabric.log_dict({"val_accuracy": val_accuracy})
## Checkpoint a model
-To save model checkpoints as W&B [Artifacts](/guides/core/artifacts/),
+To save model checkpoints as W&B [Artifacts]({{< relref "/guides/core/artifacts/" >}}),
use the Lightning [`ModelCheckpoint`](https://pytorch-lightning.readthedocs.io/en/stable/api/pytorch_lightning.callbacks.ModelCheckpoint.html#pytorch_lightning.callbacks.ModelCheckpoint) callback and set the `log_model` argument in the `WandbLogger`.
{{< tabpane text=true >}}
@@ -361,7 +361,7 @@ fabric = L.Fabric(loggers=[wandb_logger], callbacks=[checkpoint_callback])
{{< /tabpane >}}
-The _latest_ and _best_ aliases are automatically set to easily retrieve a model checkpoint from a W&B [Artifact](/guides/core/artifacts/):
+The _latest_ and _best_ aliases are automatically set to easily retrieve a model checkpoint from a W&B [Artifact]({{< relref "/guides/core/artifacts/" >}}):
```python
# reference can be retrieved in artifacts panel
@@ -414,11 +414,11 @@ optimizer.load_state_dict(full_checkpoint["optimizer"])
{{% /tab %}}
{{< /tabpane >}}
-The model checkpoints you log are viewable through the [W&B Artifacts](/guides/core/artifacts) UI, and include the full model lineage (see an example model checkpoint in the UI [here](https://wandb.ai/wandb/arttest/artifacts/model/iv3_trained/5334ab69740f9dda4fed/lineage?_gl=1*yyql5q*_ga*MTQxOTYyNzExOS4xNjg0NDYyNzk1*_ga_JH1SJHJQXJ*MTY5MjMwNzI2Mi4yNjkuMS4xNjkyMzA5NjM2LjM3LjAuMA..)).
+The model checkpoints you log are viewable through the [W&B Artifacts]({{< relref "/guides/core/artifacts" >}}) UI, and include the full model lineage (see an example model checkpoint in the UI [here](https://wandb.ai/wandb/arttest/artifacts/model/iv3_trained/5334ab69740f9dda4fed/lineage?_gl=1*yyql5q*_ga*MTQxOTYyNzExOS4xNjg0NDYyNzk1*_ga_JH1SJHJQXJ*MTY5MjMwNzI2Mi4yNjkuMS4xNjkyMzA5NjM2LjM3LjAuMA..)).
-To bookmark your best model checkpoints and centralize them across your team, you can link them to the [W&B Model Registry](/guides/models).
+To bookmark your best model checkpoints and centralize them across your team, you can link them to the [W&B Model Registry]({{< relref "/guides/models" >}}).
-Here you can organize your best models by task, manage model lifecycle, facilitate easy tracking and auditing throughout the ML lifecyle, and [automate](/guides/core/artifacts/project-scoped-automations/#create-a-webhook-automation) downstream actions with webhooks or jobs.
+Here you can organize your best models by task, manage model lifecycle, facilitate easy tracking and auditing throughout the ML lifecyle, and [automate]({{< relref "/guides/models/automations/project-scoped-automations/#create-a-webhook-automation" >}}) downstream actions with webhooks or jobs.
## Log images, text, and more
@@ -617,7 +617,7 @@ The core integration is based on the [Lightning `loggers` API](https://pytorch-l
### What does the integration log without any additional code?
-We'll save your model checkpoints to W&B, where you can view them or download them for use in future runs. We'll also capture [system metrics](../app/features/system-metrics.md), like GPU usage and network I/O, environment information, like hardware and OS information, [code state](../app/features/panels/code.md) (including git commit and diff patch, notebook contents and session history), and anything printed to the standard out.
+We'll save your model checkpoints to W&B, where you can view them or download them for use in future runs. We'll also capture [system metrics]({{< relref "/guides/models/app/settings-page/system-metrics.md" >}}), like GPU usage and network I/O, environment information, like hardware and OS information, [code state]({{< relref "/guides/models/app/features/panels/code.md" >}}) (including git commit and diff patch, notebook contents and session history), and anything printed to the standard out.
### What if I need to use `wandb.run` in my training setup?
From a78c4d4d05e5e739613fdacf7018212d467b5464 Mon Sep 17 00:00:00 2001
From: Noah Luna <15202580+ngrayluna@users.noreply.github.com>
Date: Wed, 15 Jan 2025 09:33:01 -0800
Subject: [PATCH 04/13] Docs share panels (#981)
## Description
Docs on linking to a specific panel.
## Ticket
https://wandb.atlassian.net/browse/DOCS-1156
---------
Co-authored-by: Matt Linville
---
content/guides/models/app/features/panels/_index.md | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/content/guides/models/app/features/panels/_index.md b/content/guides/models/app/features/panels/_index.md
index 3be2f11ab..0da7bb2d5 100644
--- a/content/guides/models/app/features/panels/_index.md
+++ b/content/guides/models/app/features/panels/_index.md
@@ -61,6 +61,7 @@ To add a custom panel to your workspace:
To learn more about the options for each type of panel, refer to the relevant section below, such as [Line plots]({{< relref "line-plot/" >}}) or [Bar plots]({{< relref "bar-plot.md" >}}).
+
## Manage panels
### Edit a panel
@@ -103,6 +104,17 @@ To remove all panels from a manual workspace, click its action `...` menu, then
To remove all panels from an automatic or manual workspace, you can [reset the workspace]({{< relref "#reset-a-workspace" >}}). Select **Automatic** to start with the default set of panels, or select **Manual** to start with an empty workspace with no panels.
+### Share a full-screen panel directly
+Direct colleagues to a specific panel in your project. The link redirects users to a full screen view of that panel when they click that link. To create a link to a panel:
+
+1. Hover your mouse over the panel.
+2. Select the action `...` menu.
+3. Click **Copy panel URL**.
+
+The settings of the project determine who can view the panel. This means that if the project is private, only members of the project can view the panel. If the project is public, anyone with the link can view the panel.
+
+If multiple panels have the same name, W&B shares the first panel with the name.
+
## Manage sections
By default, sections in a workspace reflect the logging hierarchy of your keys. However, in a manual workspace, sections appear only after you start adding panels.
From a2a9a9d4e274052296d7a7532fab07866b3f72a9 Mon Sep 17 00:00:00 2001
From: johndmulhausen
Date: Wed, 15 Jan 2025 12:50:52 -0500
Subject: [PATCH 05/13] Update feedback links
---
hugo.yaml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hugo.yaml b/hugo.yaml
index a11a1d5dd..c39f015cc 100644
--- a/hugo.yaml
+++ b/hugo.yaml
@@ -173,9 +173,9 @@ params:
enable: true
# The responses that the user sees after clicking "yes" (the page was helpful) or "no" (the page was not helpful).
'yes': >-
- Glad to hear it! Please tell us how we can improve.
+ Glad to hear it! Please tell us how we can improve.
'no': >-
- Sorry to hear that. Please tell us how we can improve.
+ Sorry to hear that. Please tell us how we can improve.
# Adds a reading time to the top of each doc.
# If you want this feature, but occasionally need to remove the Reading time from a single page,
From d96b966c9e55208ae7f0952235ad48d69ba5b9cb Mon Sep 17 00:00:00 2001
From: Nicolas Remerscheid
Date: Wed, 15 Jan 2025 21:08:48 +0100
Subject: [PATCH 06/13] Fix broken image in weave_models_registry.md (#990)
## Description
Fix the broken overview image.
## Ticket
Didn't create an issue.
---
content/tutorials/weave_models_registry.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/content/tutorials/weave_models_registry.md b/content/tutorials/weave_models_registry.md
index 19d37e61c..0543bb41f 100644
--- a/content/tutorials/weave_models_registry.md
+++ b/content/tutorials/weave_models_registry.md
@@ -15,7 +15,7 @@ This notebook shows how to use W&B Weave together with W&B Models. Specifically,
Find the public workspace for both W&B Models and W&B Weave [here](https://wandb.ai/wandb-smle/weave-cookboook-demo/weave/evaluations).
-
+
The workflow covers the following steps:
@@ -224,4 +224,4 @@ with wandb.init(project=PROJECT, entity=ENTITY) as run:
run.link_artifact(
artifact_model, target_path="wandb32/wandb-registry-RAG Models/RAG Model"
)
-```
\ No newline at end of file
+```
From 9d779557ad6a788c0ca5e811b47fefa989b8c774 Mon Sep 17 00:00:00 2001
From: Noah Luna <15202580+ngrayluna@users.noreply.github.com>
Date: Wed, 15 Jan 2025 12:10:54 -0800
Subject: [PATCH 07/13] Revert "Fix broken image in weave_models_registry.md"
(#994)
Reverts wandb/docs#990
---
content/tutorials/weave_models_registry.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/content/tutorials/weave_models_registry.md b/content/tutorials/weave_models_registry.md
index 0543bb41f..19d37e61c 100644
--- a/content/tutorials/weave_models_registry.md
+++ b/content/tutorials/weave_models_registry.md
@@ -15,7 +15,7 @@ This notebook shows how to use W&B Weave together with W&B Models. Specifically,
Find the public workspace for both W&B Models and W&B Weave [here](https://wandb.ai/wandb-smle/weave-cookboook-demo/weave/evaluations).
-
+
The workflow covers the following steps:
@@ -224,4 +224,4 @@ with wandb.init(project=PROJECT, entity=ENTITY) as run:
run.link_artifact(
artifact_model, target_path="wandb32/wandb-registry-RAG Models/RAG Model"
)
-```
+```
\ No newline at end of file
From 6afff1c7b729c117d472813eb3805b6be3d6dc60 Mon Sep 17 00:00:00 2001
From: Audrey <16946477+AudreyBeard@users.noreply.github.com>
Date: Wed, 15 Jan 2025 16:03:11 -0500
Subject: [PATCH 08/13] Fix mixed-up CLI / Python labels for Sweep
configuration examples (#993)
Follow-on from #991, adjusted per @johndmulhausen 's request
Sweep configuration options (CLI / Python) examples were mixed up, such
that the Python dictionary specification was labeled "CLI" and the YAML
specification was labeled "Python script or Jupyter notebook".
## Description
This change fixes the mislabeled Sweep configuration by correctly
labeling each of the two examples.
Co-authored-by: Matt Linville
---
.../define-sweep-configuration/_index.md | 38 +++++++++----------
1 file changed, 19 insertions(+), 19 deletions(-)
diff --git a/content/guides/models/sweeps/define-sweep-configuration/_index.md b/content/guides/models/sweeps/define-sweep-configuration/_index.md
index 520b6fd28..cf0cbcee2 100644
--- a/content/guides/models/sweeps/define-sweep-configuration/_index.md
+++ b/content/guides/models/sweeps/define-sweep-configuration/_index.md
@@ -32,25 +32,6 @@ For example, the proceeding code snippets show the same sweep configuration defi
{{< tabpane text=true >}}
{{% tab header="CLI" %}}
-Define a sweep in a Python dictionary data structure if you define training algorithm in a Python script or Jupyter notebook.
-
-The proceeding code snippet stores a sweep configuration in a variable named `sweep_configuration`:
-
-```python title="train.py"
-sweep_configuration = {
- "name": "sweepdemo",
- "method": "bayes",
- "metric": {"goal": "minimize", "name": "validation_loss"},
- "parameters": {
- "learning_rate": {"min": 0.0001, "max": 0.1},
- "batch_size": {"values": [16, 32, 64]},
- "epochs": {"values": [5, 10, 15]},
- "optimizer": {"values": ["adam", "sgd"]},
- },
-}
-```
- {{% /tab %}}
- {{% tab header="Python script or Jupyter notebook" %}}
Define a sweep configuration in a YAML file if you want to manage sweeps interactively from the command line (CLI)
```yaml title="config.yaml"
@@ -70,6 +51,25 @@ parameters:
values: [5, 10, 15]
optimizer:
values: ["adam", "sgd"]
+```
+ {{% /tab %}}
+ {{% tab header="Python script or Jupyter notebook" %}}
+Define a sweep in a Python dictionary data structure if you define training algorithm in a Python script or Jupyter notebook.
+
+The proceeding code snippet stores a sweep configuration in a variable named `sweep_configuration`:
+
+```python title="train.py"
+sweep_configuration = {
+ "name": "sweepdemo",
+ "method": "bayes",
+ "metric": {"goal": "minimize", "name": "validation_loss"},
+ "parameters": {
+ "learning_rate": {"min": 0.0001, "max": 0.1},
+ "batch_size": {"values": [16, 32, 64]},
+ "epochs": {"values": [5, 10, 15]},
+ "optimizer": {"values": ["adam", "sgd"]},
+ },
+}
```
{{% /tab %}}
{{< /tabpane >}}
From 57d006a50cc928fab23b250a25250056a3a9d02c Mon Sep 17 00:00:00 2001
From: John Mulhausen
Date: Wed, 15 Jan 2025 16:23:45 -0500
Subject: [PATCH 09/13] Add JavaScript to CodeQL scanning CI (#992)
## Description
What it says on the tin. :) Just realizing it's likely we'll touch some
JS on the site, would be good to have it properly conforming to best
practices.
---
.github/workflows/codeql.yml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
index 595aeb8ef..0d154b278 100644
--- a/.github/workflows/codeql.yml
+++ b/.github/workflows/codeql.yml
@@ -19,6 +19,7 @@ on:
branches: [ "main" ]
paths:
- '**/*.py'
+ - '**/*.js'
jobs:
analyze:
@@ -32,7 +33,7 @@ jobs:
strategy:
fail-fast: false
matrix:
- language: [ 'python' ]
+ language: [ 'python', 'javascript' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
From fad645620684628a94afe3f30261d912d43a3aec Mon Sep 17 00:00:00 2001
From: Matt Linville
Date: Wed, 15 Jan 2025 13:40:11 -0800
Subject: [PATCH 10/13] Fix TOC for reference architecture (#984)
## Description
Fix port of https://github.com/wandb/docs/pull/933 to replicate
[Docusaurus
TOC](https://3c25867f.docodile.pages.dev/guides/hosting/hosting-options/self-managed/)
in Hugo
## Ticket
Does this PR fix an existing issue? If yes, provide a link here.
---
.../self-managed/bare-metal.md | 75 ++--------
.../self-managed/basic-setup.md | 136 ------------------
.../kubernetes-operator/_index.md | 2 +-
.../{install-on-public-cloud => }/ref-arch.md | 8 +-
.../self-managed/server-upgrade-process.md | 1 +
5 files changed, 17 insertions(+), 205 deletions(-)
delete mode 100644 content/guides/hosting/hosting-options/self-managed/basic-setup.md
rename content/guides/hosting/hosting-options/self-managed/{install-on-public-cloud => }/ref-arch.md (98%)
diff --git a/content/guides/hosting/hosting-options/self-managed/bare-metal.md b/content/guides/hosting/hosting-options/self-managed/bare-metal.md
index ace2a1f42..b2e3216b4 100644
--- a/content/guides/hosting/hosting-options/self-managed/bare-metal.md
+++ b/content/guides/hosting/hosting-options/self-managed/bare-metal.md
@@ -5,6 +5,7 @@ menu:
identifier: bare-metal
parent: self-managed
title: Deploy W&B Platform On-premises
+weight: 5
---
{{% alert %}}
@@ -16,69 +17,7 @@ Reach out to the W&B Sales Team for related question: [contact@wandb.com](mailto
## Infrastructure guidelines
-Before you start deploying W&B, refer to the [reference architecture]({{< relref "./install-on-public-cloud/ref-arch.md#infrastructure-requirements" >}}), especially the infrastructure requirements.
-
-{{% alert %}}
-W&B strongly recommends to deploy W&B Server into a Kubernetes cluster using the W&B Kubernetes Operator. Deploying to a Kubernetes cluster with the operator ensures that you can use all the existing and latest W&B features.
-{{% /alert %}}
-
-{{% alert color="secondary" %}}
-W&B application performance depends on scalable data stores that your operations team must configure and manage. The team must provide a MySQL 8 database cluster and an AWS S3 compatible object store for the application to scale properly.
-{{% /alert %}}
-
-### Application server
-
-W&B recommends deploying W&B Server into its own namespace and a two availability zone node group with the following specifications to provide the best performance, reliability, and availability:
-
-| Specification | Value |
-|----------------------------|-----------------------------------|
-| Bandwidth | Dual 10 Gigabit+ Ethernet Network |
-| Root Disk Bandwidth (Mbps) | 4,750+ |
-| Root Disk Provision (GB) | 100+ |
-| Core Count | 4 |
-| Memory (GiB) | 8 |
-
-This ensures that W&B Server has sufficient disk space to process the application data and store temporary logs before they are externalized.
-
-
-
-It also ensures fast and reliable data transfer, the necessary processing power and memory for smooth operation, and that W&B will not be affected by any noisy neighbors.
-
-It is important to keep in mind that these specifications are minimum requirements, and actual resource needs may vary depending on the specific usage and workload of the W&B application. Monitoring the resource usage and performance of the application is critical to ensure that it operates optimally and to make adjustments as necessary.
-
-### Database server
-
-W&B recommends a [MySQL 8]({{< relref "#mysql-database" >}}) database as a metadata store. The shape of the model parameters and related metadata impact the performance of the database. The database size grows as the ML practitioners track more training runs, and incurs read heavy load when queries are executed in run tables, users workspaces, and reports.
-
-To ensure optimal performance W&B recommends deploying the W&B database on to a server with the following starting specs:
-
-| Specification | Value |
-|--------------------------- |-----------------------------------|
-| Bandwidth | Dual 10 Gigabit+ Ethernet Network |
-| Root Disk Bandwidth (Mbps) | 4,750+ |
-| Root Disk Provision (GB) | 1000+ |
-| Core Count | 4 |
-| Memory (GiB) | 32 |
-
-Again, W&B recommends monitoring the resource usage and performance of the database to ensure that it operates optimally and to make adjustments as necessary.
-
-Additionally, W&B recommends the following [parameter overrides]({{< relref "#mysql-database" >}}) to tune the DB for MySQL 8.
-
-### Object storage
-
-W&B is compatible with an object storage that supports S3 API interface, Signed URLs and CORS. W&B recommends specifying the storage array to the current needs of your practitioners and to capacity plan on a regular cadence.
-
-More details on object store configuration can be found in the [how-to section]({{< relref "/guides/hosting/hosting-options/self-managed/bare-metal.md#object-store" >}}).
-
-Some tested and working providers:
-- [MinIO](https://min.io/)
-- [Ceph](https://ceph.io/)
-- [NetApp](https://www.netapp.com/)
-- [Pure Storage](https://www.purestorage.com/)
-
-#### Secure Storage Connector
-
-The [Secure Storage Connector]({{< relref "/guides/hosting/data-security/secure-storage-connector.md" >}}) is not available for teams at this time for bare metal deployments.
+Before you start deploying W&B, refer to the [reference architecture]({{< relref "ref-arch.md#infrastructure-requirements" >}}), especially the infrastructure requirements.
## MySQL database
@@ -115,6 +54,11 @@ CREATE DATABASE wandb_local CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;
GRANT ALL ON wandb_local.* TO 'wandb_local'@'%' WITH GRANT OPTION;
```
+{{% alert %}}
+This works only if the SSL certificate is trusted. W&B does not support self-signed certificates.
+{{% /alert %}}
+
+
### Parameter group configuration
Ensure that the following parameter groups are set to tune the database performance:
@@ -159,7 +103,7 @@ s3://$ACCESS_KEY:$SECRET_KEY@$HOST/$BUCKET_NAME?tls=true
```
{{% alert color="secondary" %}}
-This will only work if the SSL certificate is trusted. W&B does not support self-signed certificates.
+This works only if the SSL certificate is trusted. W&B does not support self-signed certificates.
{{% /alert %}}
Set `BUCKET_QUEUE` to `internal://` if you use third-party object stores. This tells the W&B server to manage all object notifications internally instead of depending on an external SQS queue or equivalent.
@@ -188,7 +132,6 @@ mc mb --region=us-east1 local/local-files
The recommended installation method is with the official W&B Helm chart. Follow [this section]({{< relref "./kubernetes-operator/#deploy-wb-with-helm-cli" >}}) to deploy the W&B Server application.
-
### OpenShift
W&B supports operating from within an [OpenShift Kubernetes cluster](https://www.redhat.com/en/technologies/cloud-computing/openshift).
@@ -310,7 +253,7 @@ wandb login --host=https://YOUR_DNS_DOMAIN
wandb verify
```
-Check log files to view any errors the W&B Server hits at startup. Run the following commands:
+Check log files to view any errors the W&B Server hits at startup. Run the following commands:
{{< tabpane text=true >}}
{{% tab header="Docker" value="docker" %}}
diff --git a/content/guides/hosting/hosting-options/self-managed/basic-setup.md b/content/guides/hosting/hosting-options/self-managed/basic-setup.md
deleted file mode 100644
index 0370b95ab..000000000
--- a/content/guides/hosting/hosting-options/self-managed/basic-setup.md
+++ /dev/null
@@ -1,136 +0,0 @@
----
-description: Run Weights and Biases on your own machines using Docker
-menu:
- default:
- identifier: basic-setup
- parent: self-managed
-title: 'Tutorial: Run a W&B Server using Docker'
-weight: 1
----
-
-Follow this "Hello, world!" example to learn the general workflow to install W&B Server for Dedicated Cloud and Self Managed hosting options. By the end of this demo, you will know how to host W&B Server on your local machine using a Trial Mode W&B license.
-
-For demonstration purposes, this demo uses a local development server on port `8080` (`localhost:8080`).
-
-{{% alert %}}
-**Trial Mode vs. Production Setup**
-
-In Trial Mode, you run the Docker container on a single machine. This setup is ideal for testing the product, but it is not scalable.
-
-For production work, set up a scalable file system to avoid data loss. W&B strongly recommends that you:
-* Allocate extra space in advance,
-* Resize the file system proactively as you log more data
-* Configure external metadata and object stores for backup.
-{{% /alert %}}
-
-## Prerequisites
-Before you get started, ensure your local machine satisfies the following requirements:
-
-1. Install [Python](https://www.python.org)
-2. Install [Docker](https://www.docker.com) and ensure it is running
-3. Install or upgrade the latest version of W&B:
- ```bash
- pip install --upgrade wandb
- ```
-## 1. Pull the W&B Docker image
-
-Run the following in your terminal:
-
-```bash
-wandb server start
-```
-
-This command pulls the latest W&B Docker image [`wandb/local`](https://hub.docker.com/r/wandb/local).
-
-
-## 2. Create a W&B account
-Navigate to `http://localhost:8080/signup` and create an initial user account. Provide a name, email address, a username, and a password:
-
-{{< img src="/images/hosting/signup_localhost.png" alt="" >}}
-
-Click the **Sign Up** button to create a W&B account.
-
-{{% alert %}}
-For this demo, create a new W&B account even if you already have a W&B account.
-{{% /alert %}}
-
-
-### Copy your API key
-After you create an account, navigate to `http://localhost:8080/authorize`.
-
-Copy the W&B API key that appears on the screen. At a later step, you will need this key at a later step to verify your login credentials.
-
-{{< img src="/images/hosting/copy_api_key.png" alt="" >}}
-
-## 3. Generate a license
-Navigate to the W&B Deploy Manager at [https://deploy.wandb.ai/deploy](https://deploy.wandb.ai/deploy) to generate a Trial Mode W&B license.
-
-1. Select Docker as your provider
-{{< img src="/images/hosting/deploy_manager_platform.png" alt="" >}}
-2. Click **Next**.
-3. Select a license owner from the **Owner of license** dropdown.
-{{< img src="/images/hosting/deploy_manager_info.png" alt="" >}}
-4. Click **Next**.
-5. Provide a name for your license in the **Name of Instance** field.
-6. (Optional) Provide a description about your license in the **Description** field.
-7. Click the **Generate License Key** button.
-{{< img src="/images/hosting/deploy_manager_generate.png" alt="" >}}
-
-After you click **Generate License Key**, W&B redirects you to a Deployment License page. Within the Deployment License page you can view information about your license instance such as the Deployment ID, the organization the license belongs to, and more.
-
-{{% alert %}}
-View a specific license instance in one of two ways:
-1. Navigate to the Deploy Manager UI and then click the name of the license instance.
-2. Directly navigate to a specific license instance at `https://deploy.wandb.ai/DeploymentID` where `DeploymentID` is the unique ID assigned to your license instance.
-{{% /alert %}}
-
-## 4. Add trial license to your local host
-1. Within the Deployment License page of your license instance, click the **Copy License** button.
-{{< img src="/images/hosting/deploy_manager_get_license.png" alt="" >}}
-2. Navigate to `http://localhost:8080/system-admin/`
-3. Paste your license into to **License field**.
-{{< img src="/images/hosting/License.gif" alt="" >}}
-4. Click the **Update settings** button.
-
-## 5. Check your browser is running the W&B App UI
-Check that W&B is running on your local machine. Navigate to `http://localhost:8080/home`. You should see the W&B App UI in your browser.
-
-{{< img src="/images/hosting/check_local_host.png" alt="" >}}
-
-## 6. Add programmatic access to your local W&B instance
-
-1. Navigate to `http://localhost:8080/authorize` to obtain your API key.
-2. Within your terminal, execute the following:
- ```bash
- wandb login --host=http://localhost:8080/
- ```
- If you are already logged into W&B with a different count, add the `relogin` flag:
- ```bash
- wandb login --relogin --host=http://localhost:8080
- ```
-3. Paste your API key when prompted.
-
-W&B appends a `localhost` profile and your API key to your .netrc profile at `/Users/username/.netrc` for future automatic logins.
-
-## Add a volume to retain data
-
-All metadata and files you log to W&B are temporarily stored in the `https://deploy.wandb.ai/vol` directory.
-
-Mount a volume, or external storage, to your Docker container to retain files and metadata you store in your local W&B instance. W&B recommends that you store metadata in an external MySQL database and files in an external storage bucket such as Amazon S3.
-
-{{% alert %}}
-Recall that your local W&B instance (created using a Trial W&B License), uses Docker to run W&B in your local browser. By default, data is not retained if a Docker container no longer exists. Data is lost when a Docker process dies if you do not mount a volume at `https://deploy.wandb.ai/vol`.
-{{% /alert %}}
-
-For more information on how to mount a volume and for information on how Docker manages data, see [Manage data in Docker](https://docs.docker.com/storage/) page in the Docker documentation.
-
-### Volume considerations
-The underlying file store should be resizable.
-W&B recommends that you set up alerts to inform you when you are close to reaching minimum storage thresholds so you can resize the underlying file system.
-
-
-{{% alert %}}
-For enterprise trials, W&B recommends at least 100 GB free space in the volume for non-image/video/audio heavy workloads.
-{{% /alert %}}
-
-
\ No newline at end of file
diff --git a/content/guides/hosting/hosting-options/self-managed/kubernetes-operator/_index.md b/content/guides/hosting/hosting-options/self-managed/kubernetes-operator/_index.md
index 7ef30fc46..c1b969c5e 100644
--- a/content/guides/hosting/hosting-options/self-managed/kubernetes-operator/_index.md
+++ b/content/guides/hosting/hosting-options/self-managed/kubernetes-operator/_index.md
@@ -60,7 +60,7 @@ This hierarchical model ensures that configurations are flexible and customizabl
### Requirements to use the W&B Kubernetes Operator
Satisfy the following requirements to deploy W&B with the W&B Kubernetes operator:
-Refer to the [reference architecture]({{< relref "../install-on-public-cloud/ref-arch.md#infrastructure-requirements" >}}). In addition, [obtain a valid W&B Server license]({{< relref "../#obtain-your-wb-server-license" >}}).
+Refer to the [reference architecture]({{< relref "../ref-arch.md#infrastructure-requirements" >}}). In addition, [obtain a valid W&B Server license]({{< relref "../#obtain-your-wb-server-license" >}}).
See [this]({{< relref "../bare-metal.md" >}}) guide for a detailed explanation on how to set up and configure a self-managed installation.
diff --git a/content/guides/hosting/hosting-options/self-managed/install-on-public-cloud/ref-arch.md b/content/guides/hosting/hosting-options/self-managed/ref-arch.md
similarity index 98%
rename from content/guides/hosting/hosting-options/self-managed/install-on-public-cloud/ref-arch.md
rename to content/guides/hosting/hosting-options/self-managed/ref-arch.md
index 3332a2971..2542b5dca 100644
--- a/content/guides/hosting/hosting-options/self-managed/install-on-public-cloud/ref-arch.md
+++ b/content/guides/hosting/hosting-options/self-managed/ref-arch.md
@@ -1,7 +1,11 @@
---
title: Reference Architecture
description: W&B Reference Architecture
-displayed_sidebar: default
+menu:
+ default:
+ identifier: ref-arch
+ parent: self-managed
+weight: 1
---
@@ -38,7 +42,7 @@ The storage layer consists of a MySQL database and object storage. The MySQL dat
## Infrastructure requirements
### Kubernetes
-The W&B Server application is deployed as a [Kubernetes Operator]({{< relref "../kubernetes-operator/" >}}) that deploys multiple Pods. For this reason, W&B requires a Kubernetes cluster with:
+The W&B Server application is deployed as a [Kubernetes Operator]({{< relref "kubernetes-operator/" >}}) that deploys multiple Pods. For this reason, W&B requires a Kubernetes cluster with:
- A fully configured and functioning Ingress controller
- The capability to provision Persistent Volumes.
diff --git a/content/guides/hosting/hosting-options/self-managed/server-upgrade-process.md b/content/guides/hosting/hosting-options/self-managed/server-upgrade-process.md
index 336e41128..6e4f551e3 100644
--- a/content/guides/hosting/hosting-options/self-managed/server-upgrade-process.md
+++ b/content/guides/hosting/hosting-options/self-managed/server-upgrade-process.md
@@ -7,6 +7,7 @@ menu:
parent: self-managed
title: Update W&B license and version
url: guides/hosting/server-upgrade-process
+weight: 6
---
Update your W&B Server Version and License with the same method you installed W&B Server with. The following table lists how to update your license and version based on different deployment methods:
From de7cee572dec70df405751fed2f27503b6ec664f Mon Sep 17 00:00:00 2001
From: John Mulhausen
Date: Wed, 15 Jan 2025 22:55:29 -0500
Subject: [PATCH 11/13] Fix image in weave_models_registry.md (#996)
Raw image calls don't pull images out of `assets` and into the build
output; we must use the `{{< img >}}` tag for all image references that
aren't pointing at files that live in `static`
## Description
What does the pull request do?
## Ticket
Does this PR fix an existing issue? If yes, provide a link here.
---
content/tutorials/weave_models_registry.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/content/tutorials/weave_models_registry.md b/content/tutorials/weave_models_registry.md
index 19d37e61c..33df1f732 100644
--- a/content/tutorials/weave_models_registry.md
+++ b/content/tutorials/weave_models_registry.md
@@ -15,7 +15,7 @@ This notebook shows how to use W&B Weave together with W&B Models. Specifically,
Find the public workspace for both W&B Models and W&B Weave [here](https://wandb.ai/wandb-smle/weave-cookboook-demo/weave/evaluations).
-
+{{< img src="/images/tutorials/weave_models_workflow.jpg" alt="Weights & Biases" >}}
The workflow covers the following steps:
@@ -224,4 +224,4 @@ with wandb.init(project=PROJECT, entity=ENTITY) as run:
run.link_artifact(
artifact_model, target_path="wandb32/wandb-registry-RAG Models/RAG Model"
)
-```
\ No newline at end of file
+```
From 23a88bd147b638837718bfc507080cb2debdaa6e Mon Sep 17 00:00:00 2001
From: johndmulhausen
Date: Thu, 16 Jan 2025 11:11:14 -0500
Subject: [PATCH 12/13] "View PDF of section" UI text
---
i18n/en.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/i18n/en.toml b/i18n/en.toml
index 0cdd612ae..df6255372 100644
--- a/i18n/en.toml
+++ b/i18n/en.toml
@@ -59,7 +59,7 @@ other = "Click here to print"
[print_show_regular]
other = "Return to the regular view of this page"
[print_entire_section]
-other = "Print entire section"
+other = "View PDF of section"
# Community
[community_join]
From 9992ae6ee308bdca7244368a2eefa9930ecbac56 Mon Sep 17 00:00:00 2001
From: johndmulhausen
Date: Thu, 16 Jan 2025 11:20:43 -0500
Subject: [PATCH 13/13] "View PDF" UI text
---
i18n/en.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/i18n/en.toml b/i18n/en.toml
index df6255372..a9fdcb7e3 100644
--- a/i18n/en.toml
+++ b/i18n/en.toml
@@ -59,7 +59,7 @@ other = "Click here to print"
[print_show_regular]
other = "Return to the regular view of this page"
[print_entire_section]
-other = "View PDF of section"
+other = "View PDF"
# Community
[community_join]