From fa5af164246f7cca589dfd3f1c86419eadb61254 Mon Sep 17 00:00:00 2001 From: PL Ghost <75324987+pl-ghost@users.noreply.github.com> Date: Fri, 28 Jun 2024 14:47:45 +0200 Subject: [PATCH] docs: Bump HPU ref `1.6.0` (#20026) --------- Co-authored-by: jerome-habana Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> Co-authored-by: awaelchli --- docs/source-pytorch/conf.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/source-pytorch/conf.py b/docs/source-pytorch/conf.py index d8572bdc6552e..82fa3e1f6a2d8 100644 --- a/docs/source-pytorch/conf.py +++ b/docs/source-pytorch/conf.py @@ -92,14 +92,14 @@ def _load_py_module(name: str, location: str) -> ModuleType: assist_local.AssistantCLI.pull_docs_files( gh_user_repo="Lightning-AI/lightning-Habana", target_dir="docs/source-pytorch/integrations/hpu", - checkout="refs/tags/1.5.0", + checkout="refs/tags/1.6.0", ) # the HPU also need some images -URL_RAW_DOCS_GRAPHCORE = "https://raw.githubusercontent.com/Lightning-AI/lightning-Habana/1.5.0/docs/source" +URL_RAW_DOCS_HABANA = "https://raw.githubusercontent.com/Lightning-AI/lightning-Habana/1.5.0/docs/source" for img in ["_images/HPUProfiler.png", "_images/IGP.png"]: img_ = os.path.join(_PATH_HERE, "integrations", "hpu", img) os.makedirs(os.path.dirname(img_), exist_ok=True) - urllib.request.urlretrieve(f"{URL_RAW_DOCS_GRAPHCORE}/{img}", img_) + urllib.request.urlretrieve(f"{URL_RAW_DOCS_HABANA}/{img}", img_) # Copy strategies docs as single pages assist_local.AssistantCLI.pull_docs_files(