Skip to content

Implement logging, update gitignore, fix example filenames#2

Open
mitjasai wants to merge 10 commits into
viahlgre:mainfrom
lumi-ai-factory:main
Open

Implement logging, update gitignore, fix example filenames#2
mitjasai wants to merge 10 commits into
viahlgre:mainfrom
lumi-ai-factory:main

Conversation

@mitjasai
Copy link
Copy Markdown
Contributor

Implement stdio logging

Stdout and stderr are now logged under the output directory for every run (default out/). --verbose flag removed as redundant.

Update gitignore

Untrack directories created by running the examples according to the readme.

Fix example filenames

Fix OSU benchmarks' filenames being the wrong way round.

mitjasai added 10 commits May 6, 2026 15:37
Subprocess stdio file objects are opened in binary mode by default.
Setting 'text=True' avoids having to manually decode the outputs for
manipulating them as string objects.
This is in line with the previous solution of calling
`decode("utf-8", "replace")` on the IO streams.
The filename of the `osu-intra-node-gcd2gcd-bw` test is
`osu-inter-node-gcd2gcd.yaml` and vice versa. Rename the files so that
the filenames match the names given in the file contents.
Log job stdout and stderr to a file for debugging.
Since commit 2330bd1 implements logging of stdout and stderr by default,
the `--verbose` option is no longer useful.
Create one directory for the IO logs of a single run, and write the logs
of all jobs in that directory.
Print argv as a list instead of joining the elements. This helps with
debugging.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant