benchopt / benchmark_resnet_classif

Benchopt benchmark for ResNet fitting on a classification task
https://benchopt.github.io/results/benchmark_resnet_classif.html
8 stars 4 forks source link

CI failing #48

Closed zaccharieramzi closed 2 years ago

zaccharieramzi commented 2 years ago

Apparently a solution might be in https://github.com/lhelontra/tensorflow-on-arm/issues/13

Currently the error reads:

============================= test session starts ==============================
platform linux -- Python 3.8.[13](https://github.com/benchopt/benchmark_resnet_classif/runs/6848517775?check_suite_focus=true#step:8:14), pytest-7.1.2, pluggy-1.0.0
rootdir: /home/runner/work/benchmark_resnet_classif/benchmark_resnet_classif
plugins: typeguard-2.13.3
collected 0 items / 3 errors
==================================== ERRORS ====================================
______________ ERROR collecting tests/test_dataset_consistency.py ______________
ImportError while importing test module '/home/runner/work/benchmark_resnet_classif/benchmark_resnet_classif/tests/test_dataset_consistency.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/share/miniconda3/envs/test_env/lib/python3.8/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_dataset_consistency.py:6: in <module>
    from torch.utils.data import DataLoader, Dataset
/usr/share/miniconda3/envs/test_env/lib/python3.8/site-packages/torch/__init__.py:199: in <module>
    from torch._C import *  # noqa: F403
E   ImportError: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /usr/share/miniconda3/envs/test_env/lib/python3.8/site-packages/torch/lib/libtorch_python.so)
------------------------------- Captured stderr --------------------------------
2022-06-12 07:52:03.5[16](https://github.com/benchopt/benchmark_resnet_classif/runs/6848517775?check_suite_focus=true#step:8:17)940: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcudart.so.11.0'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory
2022-06-12 07:52:03.516982: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
_______________ ERROR collecting tests/test_model_consistency.py _______________
ImportError while importing test module '/home/runner/work/benchmark_resnet_classif/benchmark_resnet_classif/tests/test_model_consistency.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/share/miniconda3/envs/test_env/lib/python3.8/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_model_consistency.py:6: in <module>
    import torch
/usr/share/miniconda3/envs/test_env/lib/python3.8/site-packages/torch/__init__.py:[19](https://github.com/benchopt/benchmark_resnet_classif/runs/6848517775?check_suite_focus=true#step:8:20)9: in <module>
    from torch._C import *  # noqa: F403
E   ImportError: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /usr/share/miniconda3/envs/test_env/lib/python3.8/site-packages/torch/lib/libtorch_python.so)
________________ ERROR collecting tests/test_vgg_consistency.py ________________
ImportError while importing test module '/home/runner/work/benchmark_resnet_classif/benchmark_resnet_classif/tests/test_vgg_consistency.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/share/miniconda3/envs/test_env/lib/python3.8/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_vgg_consistency.py:4: in <module>
    import torch
/usr/share/miniconda3/envs/test_env/lib/python3.8/site-packages/torch/__init__.py:199: in <module>
    from torch._C import *  # noqa: F403
E   ImportError: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /usr/share/miniconda3/envs/test_env/lib/python3.8/site-packages/torch/lib/libtorch_python.so)
=============================== warnings summary ===============================
../../../../../usr/share/miniconda3/envs/test_env/lib/python3.8/site-packages/flatbuffers/compat.py:19
  /usr/share/miniconda3/envs/test_env/lib/python3.8/site-packages/flatbuffers/compat.py:19: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
    import imp
../../../../../usr/share/miniconda3/envs/test_env/lib/python3.8/site-packages/keras/utils/image_utils.py:36
  /usr/share/miniconda3/envs/test_env/lib/python3.8/site-packages/keras/utils/image_utils.py:36: DeprecationWarning: NEAREST is deprecated and will be removed in Pillow 10 ([20](https://github.com/benchopt/benchmark_resnet_classif/runs/6848517775?check_suite_focus=true#step:8:21)[23](https://github.com/benchopt/benchmark_resnet_classif/runs/6848517775?check_suite_focus=true#step:8:24)-07-01). Use Resampling.NEAREST or Dither.NONE instead.
    'nearest': pil_image.NEAREST,
../../../../../usr/share/miniconda3/envs/test_env/lib/python3.8/site-packages/keras/utils/image_utils.py:[37](https://github.com/benchopt/benchmark_resnet_classif/runs/6848517775?check_suite_focus=true#step:8:38)
  /usr/share/miniconda3/envs/test_env/lib/python3.8/site-packages/keras/utils/image_utils.py:37: DeprecationWarning: BILINEAR is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BILINEAR instead.
    'bilinear': pil_image.BILINEAR,
../../../../../usr/share/miniconda3/envs/test_env/lib/python3.8/site-packages/keras/utils/image_utils.py:[38](https://github.com/benchopt/benchmark_resnet_classif/runs/6848517775?check_suite_focus=true#step:8:39)
  /usr/share/miniconda3/envs/test_env/lib/python3.8/site-packages/keras/utils/image_utils.py:38: DeprecationWarning: BICUBIC is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BICUBIC instead.
    'bicubic': pil_image.BICUBIC,
../../../../../usr/share/miniconda3/envs/test_env/lib/python3.8/site-packages/keras/utils/image_utils.py:[39](https://github.com/benchopt/benchmark_resnet_classif/runs/6848517775?check_suite_focus=true#step:8:40)
  /usr/share/miniconda3/envs/test_env/lib/python3.8/site-packages/keras/utils/image_utils.py:39: DeprecationWarning: HAMMING is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.HAMMING instead.
    'hamming': pil_image.HAMMING,
../../../../../usr/share/miniconda3/envs/test_env/lib/python3.8/site-packages/keras/utils/image_utils.py:[40](https://github.com/benchopt/benchmark_resnet_classif/runs/6848517775?check_suite_focus=true#step:8:41)
  /usr/share/miniconda3/envs/test_env/lib/python3.8/site-packages/keras/utils/image_utils.py:40: DeprecationWarning: BOX is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BOX instead.
    'box': pil_image.BOX,
../../../../../usr/share/miniconda3/envs/test_env/lib/python3.8/site-packages/keras/utils/image_utils.py:[41](https://github.com/benchopt/benchmark_resnet_classif/runs/6848517775?check_suite_focus=true#step:8:42)
  /usr/share/miniconda3/envs/test_env/lib/python3.8/site-packages/keras/utils/image_utils.py:41: DeprecationWarning: LANCZOS is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.LANCZOS instead.
    'lanczos': pil_image.LANCZOS,
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
ERROR tests/test_dataset_consistency.py
ERROR tests/test_model_consistency.py
ERROR tests/test_vgg_consistency.py
!!!!!!!!!!!!!!!!!!! Interrupted: 3 errors during collection !!!!!!!!!!!!!!!!!!!!
======================== 7 warnings, 3 errors in 2.[49](https://github.com/benchopt/benchmark_resnet_classif/runs/6848517775?check_suite_focus=true#step:8:50)s =========================
zaccharieramzi commented 2 years ago

Closed by #50