Giter VIP home page Giter VIP logo

Comments (7)

luisbergua avatar luisbergua commented on July 19, 2024

Hi @marsh312, thanks for flagging this! Would you mind sharing your sweep config so we can take a look?

from wandb.

marsh312 avatar marsh312 commented on July 19, 2024

Hi @marsh312, thanks for flagging this! Would you mind sharing your sweep config so we can take a look?

Of course!This is my config:

sweep_config = {
    'method': 'bayes',
    'name': 'mind_deforec_bayes_sweeps_newer',
    'metric': {
        'name': 'Test/f_measure',
        'goal': 'maximize',
    },
    'parameters': {
        'train_leaf_layer_epoch': {
            'values': [0, 2, 4]
        },
        'wd': {
            'values': [1e-4, 1e-3, 1e-2]
        },
        'batch_gap_to_rebuild_tree': {
            'values': [60000, 80000, 100000]
        },
        'dropout_p': {
            'values': [0.0, 0.1, 0.2, 0.3]
        },
        'sample_num': {
            'values': [50, 60, 70, 80, 90]
        },
        'emb_dim': {
            'values': [22, 24, 28]
        },
        'min_lr': {
            'values': [1.0e-4, 1.0e-5, 1.0e-6]
        },
        'scheduler_mode': {
            'values': ['cosine', 'exponential']
        },
    }
}

from wandb.

luisbergua avatar luisbergua commented on July 19, 2024

Thanks @marsh312! I did some tests on my end but was unable to reproduce the issue. Would you mind sharing if you're using Hydra? We have seen this issue happening when using it so wanted to double-check

from wandb.

marsh312 avatar marsh312 commented on July 19, 2024

Thanks @marsh312! I did some tests on my end but was unable to reproduce the issue. Would you mind sharing if you're using Hydra? We have seen this issue happening when using it so wanted to double-check

Of course, @luisbergua! I am using a shell script to run the sweep, not Hydra. The script is listed above.

from wandb.

luisbergua avatar luisbergua commented on July 19, 2024

Thanks @marsh312! I haven't been able to repro this issue yet so wanted to ask if you could try to avoid passing --gpu_id and only execute the command once. I know you mentioned that repeating runs have the same --gpu_id and agree that this doesn't seem to be associated with the use of multiple GPUs but would like to double-check. Also sharing our docs about sweeps on launch since those could be helpful for running sweeps in distributed environments

from wandb.

marsh312 avatar marsh312 commented on July 19, 2024

Sorry, @luisbergua! Due to resource limitations, I was only able to conduct some experiments based on your instructions and haven't witnessed the same issue again. Here is my hypothesis regarding the issue: because the sweep space I set is small and discrete, using the Bayesian sweep method might lead to duplicate runs. Do you think this hypothesis is reasonable?

from wandb.

luisbergua avatar luisbergua commented on July 19, 2024

Thanks for sharing this @marsh312! That could be a potential cause but not necessarily. Will close this request for now as it sounds like the issue isn't appearing anymore but feel free to re-open it if you see it again!

from wandb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.