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

[Bug]: minimal-hydra-example is missing wandb config #482

Open
cdelavegamartin opened this issue Nov 8, 2023 · 1 comment
Open

[Bug]: minimal-hydra-example is missing wandb config #482

cdelavegamartin opened this issue Nov 8, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@cdelavegamartin
Copy link

Tell us what happened?

I'm trying to learn how to properly integrate WandB and Hydra, so I tried to run the minimal example, in an isolated environment:

git clone https://github.com/wandb/examples.git
cd examples/examples/minimal-hydra-example/
conda create -n hydra-wandb python=3.10
conda activate hydra-wandb
pip install -r requirements.txt 
python main.py

And I got an error in the output,

2023-11-08 18:04:41.477757: I tensorflow/core/util/port.cc:111] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable `TF_ENABLE_ONEDNN_OPTS=0`.
2023-11-08 18:04:41.503396: E tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:9342] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
2023-11-08 18:04:41.503419: E tensorflow/compiler/xla/stream_executor/cuda/cuda_fft.cc:609] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered
2023-11-08 18:04:41.503445: E tensorflow/compiler/xla/stream_executor/cuda/cuda_blas.cc:1518] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
2023-11-08 18:04:41.508482: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 AVX512F AVX512_VNNI FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
2023-11-08 18:04:42.043533: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
/home/carlos/projects/examples/examples/minimal-hydra-example/main.py:30: UserWarning: 
The version_base parameter is not specified.
Please specify a compatability version level, or None.
Will assume defaults for version 1.1
  @hydra.main(config_path="configs/", config_name="defaults")
In 'defaults': Could not find 'wandb/default'

Config search path:
	provider=hydra, path=pkg://hydra.conf
	provider=main, path=file:///home/carlos/projects/examples/examples/minimal-hydra-example/configs
	provider=schema, path=structured://

Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.

And indeed, there is no configs/wandb directory, and therefore no configs/wandb/default.yaml either

@cdelavegamartin cdelavegamartin added the bug Something isn't working label Nov 8, 2023
@cdelavegamartin
Copy link
Author

Hi, any suggestions for what the configs/wandb/default.yaml should look like?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants