Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tensorboard 2.6.0 doesn't work with python 3.10 or later: It seems that patches are required. #13338

Open
5 of 8 tasks
kcho9803 opened this issue Jan 29, 2024 · 0 comments
Open
5 of 8 tasks
Labels

Comments

@kcho9803
Copy link

kcho9803 commented Jan 29, 2024

Checklist

  • I added a descriptive title.
  • I searched through existing issues and couldn't find a solution or duplicate issue.
  • I searched on the web (e.g. Google) and didn't find any helpful information.
  • I searched the Anaconda documentation and didn't find any helpful information.

Impacted product

  • A conda package (built by Anaconda)
  • Anaconda Distribution (formerly Anaconda Individual Edition)
  • Miniconda
  • Anaconda.org

What happened?

with latest version of pytorch on python 3.11, I have trouble whenever I try to open log file with Tensorboard 2.6.0 which is the latest version provided by anaconda.

The trace says:

image

This happens because html5lib included in Tensorboard 2.6.0 currently provided by Anaconda is out of date. I came to know that some deprecated items were removed from collections since python 3.10 so that is the root cause of this issue. Latest html5lib(version 1.1) includes two patches about this symptom, trying to import modules from collections first then trying collections.abc if not available from collections - I don't know this is proper patch or not.

image

I think there are two options:

  1. Update Tensorboard package from 2.6.0 to any version with the patch above.
  2. Disable using Tensorboard package 2.6.0 with python 3.10 or later.

Thank you.

Expected behavior or outcome

Tensorboard 2.6.0 runs normally resulting in starting a web server providing graphic presentation of the logs.

Conda info

No response

Conda config

No response

Conda list

abseil-cpp 20230802.0 h5da7b33_2
absl-py 1.4.0 py311haa95532_0
aiohttp 3.9.0 py311h2bbff1b_0
aiosignal 1.2.0 pyhd3eb1b0_0
attrs 23.1.0 py311haa95532_0
blas 1.0 mkl
blinker 1.6.2 py311haa95532_0
brotli 1.0.9 h2bbff1b_7
brotli-bin 1.0.9 h2bbff1b_7
brotli-python 1.0.9 py311hd77b12b_7
bzip2 1.0.8 he774522_0
c-ares 1.19.1 h2bbff1b_0
ca-certificates 2023.12.12 haa95532_0
cachetools 4.2.2 pyhd3eb1b0_0
certifi 2023.11.17 py311haa95532_0
cffi 1.16.0 py311h2bbff1b_0
charset-normalizer 2.0.4 pyhd3eb1b0_0
click 8.1.7 py311haa95532_0
colorama 0.4.6 py311haa95532_0
contourpy 1.2.0 py311h59b6b97_0
cryptography 41.0.7 py311h89fc84f_0
cuda-cccl 12.3.101 0 nvidia
cuda-cudart 12.1.105 0 nvidia
cuda-cudart-dev 12.1.105 0 nvidia
cuda-cupti 12.1.105 0 nvidia
cuda-libraries 12.1.0 0 nvidia
cuda-libraries-dev 12.1.0 0 nvidia
cuda-nvrtc 12.1.105 0 nvidia
cuda-nvrtc-dev 12.1.105 0 nvidia
cuda-nvtx 12.1.105 0 nvidia
cuda-opencl 12.3.101 0 nvidia
cuda-opencl-dev 12.3.101 0 nvidia
cuda-profiler-api 12.3.101 0 nvidia
cuda-runtime 12.1.0 0 nvidia
cycler 0.11.0 pyhd3eb1b0_0
filelock 3.13.1 py311haa95532_0
fonttools 4.25.0 pyhd3eb1b0_0
freetype 2.12.1 ha860e81_0
frozenlist 1.4.0 py311h2bbff1b_0
giflib 5.2.1 h8cc25b3_3
gmpy2 2.1.2 py311h7f96b67_0
google-auth 2.22.0 py311haa95532_0
google-auth-oauthlib 0.4.1 py_2
grpc-cpp 1.48.2 h6772dbd_4
grpcio 1.48.2 py311h6772dbd_4
gtest 1.14.0 h59b6b97_0
icc_rt 2022.1.0 h6049295_2
icu 73.1 h6c2663c_0
idna 3.4 py311haa95532_0
intel-openmp 2023.1.0 h59b6b97_46320
jinja2 3.1.2 py311haa95532_0
jpeg 9e h2bbff1b_1
kiwisolver 1.4.4 py311hd77b12b_0
krb5 1.20.1 h5b6d351_0
lerc 3.0 hd77b12b_0
libbrotlicommon 1.0.9 h2bbff1b_7
libbrotlidec 1.0.9 h2bbff1b_7
libbrotlienc 1.0.9 h2bbff1b_7
libclang 14.0.6 default_hb5a9fac_1
libclang13 14.0.6 default_h8e68704_1
libcublas 12.1.0.26 0 nvidia
libcublas-dev 12.1.0.26 0 nvidia
libcufft 11.0.2.4 0 nvidia
libcufft-dev 11.0.2.4 0 nvidia
libcurand 10.3.4.107 0 nvidia
libcurand-dev 10.3.4.107 0 nvidia
libcusolver 11.4.4.55 0 nvidia
libcusolver-dev 11.4.4.55 0 nvidia
libcusparse 12.0.2.55 0 nvidia
libcusparse-dev 12.0.2.55 0 nvidia
libdeflate 1.17 h2bbff1b_1
libffi 3.4.4 hd77b12b_0
libjpeg-turbo 2.0.0 h196d8e1_0
libnpp 12.0.2.50 0 nvidia
libnpp-dev 12.0.2.50 0 nvidia
libnvjitlink 12.1.105 0 nvidia
libnvjitlink-dev 12.1.105 0 nvidia
libnvjpeg 12.1.1.14 0 nvidia
libnvjpeg-dev 12.1.1.14 0 nvidia
libpng 1.6.39 h8cc25b3_0
libpq 12.17 h906ac69_0
libprotobuf 3.20.3 h23ce68f_0
libtiff 4.5.1 hd77b12b_0
libuv 1.44.2 h2bbff1b_0
libwebp 1.3.2 hbc33d0d_0
libwebp-base 1.3.2 h2bbff1b_0
lz4-c 1.9.4 h2bbff1b_0
markdown 3.4.1 py311haa95532_0
markupsafe 2.1.3 py311h2bbff1b_0
matplotlib 3.8.0 py311haa95532_0
matplotlib-base 3.8.0 py311hf62ec03_0
mkl 2023.1.0 h6b88ed4_46358
mkl-service 2.4.0 py311h2bbff1b_1
mkl_fft 1.3.8 py311h2bbff1b_0
mkl_random 1.2.4 py311h59b6b97_0
mpc 1.1.0 h7edee0f_1
mpfr 4.0.2 h62dcd97_1
mpir 3.0.0 hec2e145_1
mpmath 1.3.0 py311haa95532_0
multidict 6.0.4 py311h2bbff1b_0
munkres 1.1.4 py_0
networkx 3.1 py311haa95532_0
numpy 1.26.3 py311hdab7c0b_0
numpy-base 1.26.3 py311hd01c5d8_0
oauthlib 3.2.2 py311haa95532_0
openjpeg 2.4.0 h4fc8c34_0
openssl 3.0.12 h2bbff1b_0
packaging 23.1 py311haa95532_0
pillow 10.0.1 py311h045eedc_0
pip 23.3.1 py311haa95532_0
ply 3.11 py311haa95532_0
protobuf 3.20.3 py311hd77b12b_0
pyasn1 0.4.8 pyhd3eb1b0_0
pyasn1-modules 0.2.8 py_0
pycparser 2.21 pyhd3eb1b0_0
pyjwt 2.4.0 py311haa95532_0
pyopenssl 23.2.0 py311haa95532_0
pyparsing 3.0.9 py311haa95532_0
pyqt 5.15.10 py311hd77b12b_0
pyqt5-sip 12.13.0 py311h2bbff1b_0
pysocks 1.7.1 py311haa95532_0
python 3.11.7 he1021f5_0
python-dateutil 2.8.2 pyhd3eb1b0_0
pytorch 2.1.2 py3.11_cuda12.1_cudnn8_0 pytorch
pytorch-cuda 12.1 hde6ce7c_5 pytorch
pytorch-mutex 1.0 cuda pytorch
pyyaml 6.0.1 py311h2bbff1b_0
qt-main 5.15.2 h19c9488_10
re2 2022.04.01 hd77b12b_0
requests 2.31.0 py311haa95532_0
requests-oauthlib 1.3.0 py_0
rsa 4.7.2 pyhd3eb1b0_1
scipy 1.11.4 py311hc1ccb85_0
setuptools 68.2.2 py311haa95532_0
sip 6.7.12 py311hd77b12b_0
six 1.16.0 pyhd3eb1b0_1
sqlite 3.41.2 h2bbff1b_0
sympy 1.12 py311haa95532_0
tbb 2021.8.0 h59b6b97_0
tensorboard 2.6.0 py_0
tensorboard-plugin-wit 1.6.0 py_0
tk 8.6.12 h2bbff1b_0
torchaudio 2.1.2 pypi_0 pypi
torchvision 0.16.2 pypi_0 pypi
tornado 6.3.3 py311h2bbff1b_0
tqdm 4.65.0 py311h746a85d_0
typing_extensions 4.9.0 py311haa95532_1
tzdata 2023d h04d1e81_0
urllib3 1.26.18 py311haa95532_0
vc 14.2 h21ff451_1
vs2015_runtime 14.27.29016 h5e58377_2
werkzeug 2.3.8 py311haa95532_0
wheel 0.41.2 py311haa95532_0
win_inet_pton 1.1.0 py311haa95532_0
xz 5.4.5 h8cc25b3_0
yaml 0.2.5 he774522_0
yarl 1.9.3 py311h2bbff1b_0
zlib 1.2.13 h8cc25b3_0
zstd 1.5.5 hd43e919_0

Additional information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant