google-research / google-research/kubric
Error in logs when launching on cloud
- Dominant language
- Jupyter Notebook
- Stars
- 2.8k
- Forks
- 278
- PR merge metrics
- No merged PRs in 30d
Description
This was happening (erroneous things marked as errors):

Narrowed it down to this line:
https://github.com/google-research/kubric/blob/bb534357a0e3a316979bfc35900279737b3cbf26/kubric/utils.py#L108
@Qwlouse should we disable the formatter?
As seen below, it was logging as info, yet reporting as error on cloud...
```
def log_my_flags(flags):
flags_string = pprint.pformat(vars(flags), indent=2, width=100)
logger.info(flags_string)
```
p.s. still running like a charm ❤️
Contributor guide
Research direction
Start at kubric/utils.py line 108 and inspect how log_my_flags sends the formatted flags through logger.info. Reproduce a cloud launch and compare the local log level with the cloud-rendered level. Done means informational output is no longer reported as an error in the cloud logs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cloud, observability
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100