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

Reduce Warnings to a minimum #1044

Open
Delaunay opened this issue Dec 19, 2022 · 0 comments
Open

Reduce Warnings to a minimum #1044

Delaunay opened this issue Dec 19, 2022 · 0 comments
Labels
enhancement Improves a feature or non-functional aspects (e.g., optimization, prettify, technical debt)

Comments

@Delaunay
Copy link
Collaborator

Delaunay commented Dec 19, 2022

Reduce Warnings to a minimum

Latest Warning summary:

   tests/functional/algos/test_algos.py: 492 warnings
     /home/runner/work/orion/orion/.tox/py-all/lib/python3.7/site-packages/paramz/parameterized.py:271: DeprecationWarning:Assigning the 'data' attribute is an inherently unsafe operation and will be removed in the future.
  
  tests/functional/algos/test_algos.py: 492 warnings
     /home/runner/work/orion/orion/.tox/py-all/lib/python3.7/site-packages/paramz/parameterized.py:272: DeprecationWarning:Assigning the 'data' attribute is an inherently unsafe operation and will be removed in the future.
  
  tests/functional/algos/test_algos.py: 328 warnings
     /home/runner/work/orion/orion/.tox/py-all/lib/python3.7/site-packages/paramz/core/parameter_core.py:290: DeprecationWarning:Assigning the 'data' attribute is an inherently unsafe operation and will be removed in the future.
  
  tests/functional/algos/test_algos.py: 328 warnings
     /home/runner/work/orion/orion/.tox/py-all/lib/python3.7/site-packages/paramz/core/parameter_core.py:291: DeprecationWarning:Assigning the 'data' attribute is an inherently unsafe operation and will be removed in the future.
  
  tests/functional/branching/test_branching.py: 7886 warnings
  tests/functional/commands/test_status_command.py: 16 warnings
  tests/functional/core/worker/test_experiment_functional.py: 69 warnings
  tests/functional/serving/test_trials_resource.py: 4 warnings
  tests/unittests/algo/test_evolution_es.py: 4 warnings
    /home/runner/work/orion/orion/src/orion/core/worker/trial.py:544: DeprecationWarning:
    
    Argument ignore_experiment is deprecated and will be removed in v0.3.0. Trial.id does not include experiment id since release v0.2.5.
  
  tests/functional/commands/test_plot_commands.py: 10 warnings
  tests/functional/serving/test_plots_resource.py: 10 warnings
    /home/runner/work/orion/orion/src/orion/analysis/lpi_utils.py:51: RuntimeWarning:
    
    invalid value encountered in true_divide
  
  tests/functional/configuration/test_all_options.py: 1 warning
  tests/functional/demo/test_demo.py: 1 warning
  tests/functional/storage/test_io.py: 1 warning
  tests/unittests/benchmark/test_assessments.py: 23 warnings
  tests/unittests/benchmark/test_benchmark.py: 24 warnings
  tests/unittests/benchmark/test_benchmark_client.py: 3 warnings
    /home/runner/work/orion/orion/src/orion/executor/joblib_backend.py:11: DeprecationWarning:
    
    Joblib is deprecated and will be removed in v0.4.0.Use PoolExecutor instead.
  
  tests/unittests/algo/test_configspace.py::test_orion_configspace
  tests/unittests/algo/test_configspace.py::test_orion_configspace_kwargs
    /home/runner/work/orion/orion/src/orion/algo/space/configspace.py:172: UserWarning:
    
    Setting quantization < 1 for Integer Hyperparameter 'n4' has no effect.
  
  tests/unittests/algo/test_configspace.py::test_orion_configspace
    /home/runner/work/orion/orion/src/orion/algo/space/configspace.py:155: UserWarning:
    
    Setting quantization < 1 for Integer Hyperparameter 'r1i' has no effect.
  
  tests/unittests/algo/test_configspace.py::test_orion_configspace
  tests/unittests/algo/test_configspace.py::test_orion_configspace_kwargs
    /home/runner/work/orion/orion/src/orion/algo/space/configspace.py:155: UserWarning:
    
    Setting quantization < 1 for Integer Hyperparameter 'u1i' has no effect.
  
  tests/unittests/algo/test_configspace.py::test_orion_configspace
  tests/unittests/algo/test_configspace.py::test_orion_configspace_kwargs
    /home/runner/work/orion/orion/src/orion/algo/space/configspace.py:155: UserWarning:
    
    Setting quantization < 1 for Integer Hyperparameter 'u2i' has no effect.
  
  tests/unittests/algo/test_configspace.py::test_orion_configspace
  tests/unittests/algo/test_configspace.py::test_orion_configspace_kwargs
    /home/runner/work/orion/orion/src/orion/algo/space/configspace.py:155: UserWarning:
    
    Setting quantization < 1 for Integer Hyperparameter 'u3i' has no effect.
  
  tests/unittests/algo/test_configspace.py::test_orion_configspace
  tests/unittests/algo/test_configspace.py::test_orion_configspace_kwargs
    /home/runner/work/orion/orion/src/orion/algo/space/configspace.py:155: UserWarning:
    
    Setting quantization < 1 for Integer Hyperparameter 'u4i' has no effect.
  
  tests/unittests/algo/test_configspace.py::test_orion_configspace_kwargs
    /home/runner/work/orion/orion/src/orion/algo/space/configspace.py:155: UserWarning:
    
    Setting quantization < 1 for Integer Hyperparameter 'r2i' has no effect.
  
  tests/unittests/algo/test_tpe.py::TestGMMSampler::test_get_loglikelis
    /home/runner/work/orion/orion/src/orion/algo/tpe/tpe.py:702: RuntimeWarning:
    
    divide by zero encountered in log
  
  tests/unittests/algo/pbt/test_pb2.py: 1860 warnings
    /home/runner/work/orion/orion/.tox/py-all/lib/python3.7/site-packages/paramz/parameterized.py:271: DeprecationWarning:
    
    Assigning the 'data' attribute is an inherently unsafe operation and will be removed in the future.
  
  tests/unittests/algo/pbt/test_pb2.py: 1860 warnings
    /home/runner/work/orion/orion/.tox/py-all/lib/python3.7/site-packages/paramz/parameterized.py:272: DeprecationWarning:
    
    Assigning the 'data' attribute is an inherently unsafe operation and will be removed in the future.
  
  tests/unittests/algo/pbt/test_pb2.py: 1240 warnings
    /home/runner/work/orion/orion/.tox/py-all/lib/python3.7/site-packages/paramz/core/parameter_core.py:290: DeprecationWarning:
    
    Assigning the 'data' attribute is an inherently unsafe operation and will be removed in the future.
  
  tests/unittests/algo/pbt/test_pb2.py: 1240 warnings
    /home/runner/work/orion/orion/.tox/py-all/lib/python3.7/site-packages/paramz/core/parameter_core.py:291: DeprecationWarning:
    
    Assigning the 'data' attribute is an inherently unsafe operation and will be removed in the future.
  
@Delaunay Delaunay added the enhancement Improves a feature or non-functional aspects (e.g., optimization, prettify, technical debt) label Dec 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improves a feature or non-functional aspects (e.g., optimization, prettify, technical debt)
Projects
None yet
Development

No branches or pull requests

1 participant