Skip to content

Commit 9b7315e

Browse files
authored
fix web imgs (#10)
1 parent ce896a5 commit 9b7315e

6 files changed

Lines changed: 14 additions & 14 deletions

File tree

website/docs/GCM_GPU_Metrics/getting_started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ This processor is particularly useful in high-performance computing environments
1414

1515
We've found at Meta that this processor is mostly useful for Metrics data.
1616

17-
<img src="/img/gcm_gpu_metrics.jpg" style={{ maxHeight: '200px', display: 'block', margin: '0 auto' }} />
17+
<img src="/gcm/img/gcm_gpu_metrics.jpg" style={{ maxHeight: '200px', display: 'block', margin: '0 auto' }} />
1818

1919
Metric exporting from a DCGM sample perspective:
2020

21-
<img src="/img/gcm_metrics_flow.png" style={{ maxHeight: '800px', display: 'block', margin: '0 auto' }} />
21+
<img src="/gcm/img/gcm_metrics_flow.png" style={{ maxHeight: '800px', display: 'block', margin: '0 auto' }} />
2222

2323
## Getting Started
2424

website/docs/GCM_Health_Checks/getting_started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ sidebar_position: 1
66

77
GCM Health Checks is a Python CLI with a suite of [Health Checks](./getting_started#available-health-checks)
88

9-
<img src="/img/gcm_health_checks.png" style={{ maxHeight: '300px', display: 'block', margin: '0 auto' }} />
9+
<img src="/gcm/img/gcm_health_checks.png" style={{ maxHeight: '300px', display: 'block', margin: '0 auto' }} />
1010

1111
## Quick Start Guide
1212

website/docs/GCM_Monitoring/getting_started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ GCM Monitoring is a Python CLI with a series of [collectors](./getting_started#g
88

99
For a cluster-level view of GCM Monitoring:
1010

11-
<img src="/img/gcm_monitoring.png" style={{ maxHeight: '400px', display: 'block', margin: '0 auto' }} />
11+
<img src="/gcm/img/gcm_monitoring.png" style={{ maxHeight: '400px', display: 'block', margin: '0 auto' }} />
1212

1313
On a Kubernetes environment:
1414

15-
<img src="/img/gcm_monitoring_kube.png" style={{ maxHeight: '400px', display: 'block', margin: '0 auto' }} />
15+
<img src="/gcm/img/gcm_monitoring_kube.png" style={{ maxHeight: '400px', display: 'block', margin: '0 auto' }} />
1616

1717
## Quick Start Guide
1818

website/docs/getting_started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ GCM is a monorepo with the following components:
1414
- [GCM Health Checks](./GCM_Health_Checks/getting_started): Verifies the proper functioning of hardware, software, network, storage, and services throughout the job lifecycle.
1515
- [GCM GPU Metrics](./GCM_GPU_Metrics/getting_started): Enhances OpenTelemetry data by correlating telemetry with Slurm metadata, enabling attribution of metrics (e.g., GPU utilization) to specific jobs and users.
1616

17-
<img src="/img/gcm_high_level.png" style={{ maxHeight: '400px', display: 'block', margin: '0 auto' }} />
17+
<img src="/gcm/img/gcm_high_level.png" style={{ maxHeight: '400px', display: 'block', margin: '0 auto' }} />
1818

1919
Each component has their own Getting Started and Contributing Guide:
2020

website/docusaurus.config.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ import {themes as prismThemes} from 'prism-react-renderer';
1212
const config = {
1313
title: 'Meta GPU Cluster Monitoring (GCM)',
1414
tagline: 'GCM: Large-Scale AI Research Cluster Monitoring.',
15-
// favicon: 'img/gcm_white.svg',
15+
// favicon: '/img/gcm_white.svg',
1616

1717
headTags: [
1818
{
1919
tagName: "link",
2020
attributes: {
2121
rel: "icon",
22-
href: "img/gcm_black.svg",
22+
href: "/img/gcm_black.svg",
2323
type: "image/svg+xml",
2424
sizes: "32x32",
2525
media: "(prefers-color-scheme: light)",
@@ -29,7 +29,7 @@ const config = {
2929
tagName: "link",
3030
attributes: {
3131
rel: "icon",
32-
href: "img/gcm_white.svg",
32+
href: "/img/gcm_white.svg",
3333
type: "image/svg+xml",
3434
sizes: "32x32",
3535
media: "(prefers-color-scheme: dark)",
@@ -46,7 +46,7 @@ const config = {
4646
url: 'https://facebookresearch.github.io/',
4747
// Set the /<baseUrl>/ pathname under which your site is served
4848
// For GitHub pages deployment, it is often '/<projectName>/'
49-
baseUrl: '/gcm',
49+
baseUrl: '/gcm/',
5050

5151
// GitHub pages deployment config.
5252
// If you aren't using GitHub pages, you don't need these.
@@ -94,8 +94,8 @@ const config = {
9494
title: 'GCM',
9595
logo: {
9696
alt: 'GCM Logo',
97-
src: 'img/gcm_black.svg',
98-
srcDark: 'img/gcm_white.svg',
97+
src: '/img/gcm_black.svg',
98+
srcDark: '/img/gcm_white.svg',
9999
},
100100
items: [
101101
{

website/src/pages/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ function HomepageHeader() {
1616
<ThemedImage
1717
alt="GCM Logo"
1818
sources={{
19-
light: 'img/gcm_long_white.svg',
20-
dark: 'img/gcm_long_black.svg',
19+
light: '/gcm/img/gcm_long_white.svg',
20+
dark: '/gcm/img/gcm_long_black.svg',
2121
}}
2222
style={{maxWidth: '50%', minWidth: '250px'}}
2323
/>

0 commit comments

Comments
 (0)