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

[App]: Seeding a new sweep with previous runs has an implicit limit of 1000 previous runs #7372

Open
RylanSchaeffer opened this issue Apr 12, 2024 · 11 comments
Labels
a:app Area: Frontend/Backend c:sweeps Component: Sweeps

Comments

@RylanSchaeffer
Copy link

RylanSchaeffer commented Apr 12, 2024

Current Behavior

I will select a number of runs (e.g., 3420 runs from two previous sweeps) to seed a new sweep, but W&B will select a subset (specifically, 1000 runs) for the new sweep. This is new behavior; W&B didn't use to behave as such.

Expected Behavior

I expect that when I seed a new sweep with > 1000 runs, the sweep will be seeded with the correct number of runs and will not truncate to 1000.

Steps To Reproduce

No response

Screenshots

image

Environment

OS: Ubuntu 20.04.4 LTS

Browsers:

Version: wandb, version 0.16.5

Additional Context

No response

@kptkin kptkin added a:app Area: Frontend/Backend c:sweeps Component: Sweeps labels Apr 12, 2024
@ArtsiomWB
Copy link
Contributor

Hi Rylan, apologies you are seeing this behavior on your side! Could you please point me to a workspace where you are experiencing this behavior?

@RylanSchaeffer
Copy link
Author

I would prefer to not publicly post links 😬

Is there some way I can privately communicate such information to you?

@RylanSchaeffer
Copy link
Author

RylanSchaeffer commented Apr 12, 2024

Ehh I care more about having a quick solution.

Here is a previous sweep with 1140 successful runs: https://wandb.ai/rylan/signal_prop/sweeps/ejkla2x2

I want to use all 1140 finished runs to seed a new sweep that will also include a second value of one hyperparameter (the previous sweep has only mu=1.0, now I want to to sweep mu=1.0 and mu=0.0):

When I initialize a new sweep, it has only 1000 previous runs: https://wandb.ai/rylan/signal_prop/sweeps/n5nhqi8e/table?nw=nwuserrylan

@ArtsiomWB
Copy link
Contributor

Hi @RylanSchaeffer, when you start a new sweep up from a previous sweep, do you do it using the create a sweep button from the runs table tab? I will try to repro this behavior on my side.

@RylanSchaeffer
Copy link
Author

That's correct. I filter for runs from the previous sweep(s) and then use the Create a Sweep button. I've done this for over a year now and it used to work as intended. This 1000 previous runs cap is new, as best as I can tell.

@ArtsiomWB
Copy link
Contributor

When you initialize the sweep, how many runs do you see next to the configure prior runs button?

@ArtsiomWB
Copy link
Contributor

Hi there, I wanted to follow up on this request. Please let us know if we can be of further assistance or if your issue has been resolved.

@RylanSchaeffer
Copy link
Author

Here I am selecting 1140 runs:

image

I then press "Create Sweep". I specify additional values for a hyperparameter mu such that the finished sweep will be a strict subset of the new sweep:

image

I then press "Initialize Sweep". If I then navigate to the new sweep page, there are 1000 prior runs, even though I selected 1140 runs.

image

I hope this helps!

@ArtsiomWB
Copy link
Contributor

Thank you so much for sending over all of the screenshots, this helps a ton. I checked internally and this is a known bug. I have went ahead and re-escalated the issue and our engineering and product teams will look into it.

Apologies for the inconvenience. If we have any follow up questions regarding this behavior, we will put them in here.

@RylanSchaeffer
Copy link
Author

RylanSchaeffer commented Apr 26, 2024

Awesome thank you! If you could pass on a message, this has really hampered the utility I get from W&B sweeps. I oftentimes want to sweep a subset of hyperparameter space to get specific results quickly, then expand that subset to get additional results more slowly. I can now no longer do this. This was one of the top utilities of W&B sweeps for me personally

@ArtsiomWB
Copy link
Contributor

Totally will! By the way, How long ago were you able to create sweeps from over 1k runs? I do see that the behavior you are currently experiencing is a long-standing bug that was marked a back logged because our engineering team could not reproduce it before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:app Area: Frontend/Backend c:sweeps Component: Sweeps
Projects
None yet
Development

No branches or pull requests

3 participants