Open MahdiJafari1 opened 7 months ago
hey @MahdiJafari1 - I was able to reproduce this behavior and will let you know if progress arises on a fix! thank you for flagging
I would also like to see if this could be a feature. We use WANDB for our system of record and would like to scale beyond 5-10k experiments without the need for multiple projects.
I see this error also reported in other (non-WANDB Support) places including: https://stackoverflow.com/questions/77846820/how-to-get-paginated-runs-using-wandb-client https://github.com/wandb/wandb/issues/3815
Describe the bug
I am experiencing an issue with the per_page parameter in the api.runs method of the WandB API. When I set a specific limit using per_page, the method still returns all available runs, ignoring the specified limit.
My code:
Steps to Reproduce
Initialize the WandB API using wandb.Api(). Fetch runs using api.runs(f"{entity}/{project}", per_page=specific_number). Observe that the number of runs returned is not limited to the specific_number defined in per_page.
Expected Behavior
The api.runs method should return only the number of runs specified in the per_page parameter. Actual Behavior
All available runs are returned, disregarding the per_page parameter. Additional Information
Additional Files
No response
Environment
WandB version: 0.13.7
OS: Ubuntu 22.04
Python version: 3.10
Versions of relevant libraries:
Additional Context
No response