-
Notifications
You must be signed in to change notification settings - Fork 158
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
@Snehil-Shah: refactor to allow arbitrary args to experiments #885
base: main
Are you sure you want to change the base?
Conversation
- ### What can you do now? You can pass arguments directly to `run_all_experiments.py` using additional arguments after `--`. ```bash request_pr_exp.py -p=45 -n=exp -- --model=vertex_ai_gemini-1-5 ``` Here, `--model=vertex_ai_gemini-1-5` will be directly passed to `run_all_experiments.py` along with the usual arguments. - ### Couple of pointers: - Earlier `REDIRECT_OUTS` was being passed as an environment variable. I changed it to be passed directly as an argument for the sake of consistency. Lemme know if it's not desired behavior. - The boolean arguments in `docker_run.py` are just strings that were passed earlier for the bash script, and not booleans. This made YAML substitution easier rather than supporting `store_true` arguments. --------- Signed-off-by: Snehil Shah <snehilshah.989@gmail.com>
/gcbrun exp -n ss -ag |
/gcbrun exp -n ss -- -ag -l vertex_ai_gemini-2-chat |
Hi @Snehil-Shah ,
|
@DonggeLiu Ah right, the added PR id argument is clubbed with the optional arguments as we are appending it towards the end. Will change |
For #885 Signed-off-by: Snehil Shah <snehilshah.989@gmail.com>
/gcbrun exp -n ss -- -ag -l vertex_ai_gemini-2-chat |
I think this is ready to merge. @erfanio @oliverchang Do you have any suggestions? There are some trivial improvements, but we can do them later:
All these suggest we can shift the weight from 'passing all kinds of args' to 'more intelligently design the logics to process @Snehil-Shah Please focus on your proposal, that is the main factor for application evalaution. |
@DonggeLiu we can pass the additional arguments to the |
I was referring to this: oss-fuzz-gen/report/templates/base.html Lines 104 to 107 in 5a8c71e
Which appears on all pages. But yes, we should also pass it to |
Running experiments for #854, an amazing work contributed by @Snehil-Shah.