Raunak Bhagat
11/19/2024, 4:33 AM# 1. Bring the benchmarking commit into tree.
git cherry-pick 5dc5988168dcac1e549801121630a489244cb9f5
# 2. Install the GitHub CLI tool if you don't already have it.
# The below will install it on macOS/Linux systems with brew.
brew install gh
# 3. Add and commit your changes or whatever it is you want to benchmark.
# You must ensure that the commit you cherry-picked is added and committed to your branch (for the current time being; you can roll this back later).
# 4. Run the workflow.
gh workflow run build-commit-run-tpch.yaml --ref $MY_BRANCH_NAME
This works for me currently on my branch, but want to see if it can extend to other branches as well (i.e., there are no branch-specific assets that I'm depending on that'll fail to resolve when being run elsewhere).
An example of a successful workflow looks like:
https://github.com/Eventual-Inc/Daft/actions/runs/11906033199
If you scroll down, you'll see some nice outputs.Raunak Bhagat
11/19/2024, 4:34 AMjay
11/19/2024, 4:35 AMDAFT_ENABLE_RAY_TRACING=1 there are some JSON traces on the head node at /tmp/ray/logs/session_latest/daft/* that I would LOVE to get access to after the run finishesRaunak Bhagat
11/19/2024, 4:36 AMjay
11/19/2024, 4:37 AMjay
11/19/2024, 4:38 AMRaunak Bhagat
11/19/2024, 4:38 AMjay
11/19/2024, 4:41 AMjay
11/19/2024, 4:41 AMjay
11/19/2024, 4:54 AMdaft up on daft launcher, you should be able to browse the logs in the dashboard and check the requests your browser is making when looking at the log files I thinkjay
11/19/2024, 4:58 AMjay
11/19/2024, 4:59 AM{
"result": true,
"msg": "",
"data": {
"result": {
"internal": [
"daft/trace_RayRunner.fa157bd0-3782-4a62-a5c6-e4591506e8ea.2024-11-19T04:56.json"
]
}
}
}jay
11/19/2024, 5:00 AM<http://localhost:8265/nodes?view=summary>Raunak Bhagat
11/19/2024, 10:06 PMDAFT_ENABLE_RAY_TRACING is in main, correct?jay
11/19/2024, 10:07 PMRaunak Bhagat
11/20/2024, 12:05 AM/tmp/ray dir down and package it up into an artifact if you want???
Or I could just pull down /tmp/ray/session_*/logs/daft. Either way works for me.jay
11/20/2024, 12:13 AM/tmp/ray/session_*/logs/daft for now for mejay
11/20/2024, 12:13 AMjay
11/20/2024, 12:14 AMRaunak Bhagat
11/20/2024, 12:20 AMjay
11/20/2024, 12:35 AMRaunak Bhagat
11/20/2024, 2:52 AM