From bbc80f5219ef3ea2b95c68b14ee338975ca18d5d Mon Sep 17 00:00:00 2001 From: Alexey Date: Fri, 28 Jun 2024 13:06:57 -0500 Subject: [PATCH] Hide a pytorch warning in README.md --- README.md | 3 --- nbs/index.ipynb | 8 -------- 2 files changed, 11 deletions(-) diff --git a/README.md b/README.md index 3ed4a10..676afe6 100644 --- a/README.md +++ b/README.md @@ -149,9 +149,6 @@ named_numbers = numbers.rename("C", "H","W") named_numbers ``` - /home/xl0/mambaforge/envs/lovely-py31-torch25/lib/python3.10/site-packages/torch/_tensor.py:1420: UserWarning: Named tensors and all their associated APIs are an experimental feature and subject to change. Please do not use them for anything important until they are released as stable. (Triggered internally at ../c10/core/TensorImpl.h:1925.) - return super().rename(names) - tensor[C=3, H=196, W=196] n=115248 (0.4Mb) x∈[-2.118, 2.640] μ=-0.388 σ=1.073 ## Going `.deeper` diff --git a/nbs/index.ipynb b/nbs/index.ipynb index b65c8b6..377e8e9 100644 --- a/nbs/index.ipynb +++ b/nbs/index.ipynb @@ -363,14 +363,6 @@ "execution_count": null, "metadata": {}, "outputs": [ - { - "name": "stderr", - "output_type": "stream", - "text": [ - "/home/xl0/mambaforge/envs/lovely-py31-torch25/lib/python3.10/site-packages/torch/_tensor.py:1420: UserWarning: Named tensors and all their associated APIs are an experimental feature and subject to change. Please do not use them for anything important until they are released as stable. (Triggered internally at ../c10/core/TensorImpl.h:1925.)\n", - " return super().rename(names)\n" - ] - }, { "data": { "text/plain": [