Skip to content

Tolerate Nsight Compute warning lines before the CSV header#141

Merged
Laurawly merged 1 commit into
mainfrom
ncu-csv-header-tolerance
May 28, 2026
Merged

Tolerate Nsight Compute warning lines before the CSV header#141
Laurawly merged 1 commit into
mainfrom
ncu-csv-header-tolerance

Conversation

@kaiming-cheng
Copy link
Copy Markdown
Contributor

Nsight Compute may prepend warning lines before the CSV header (for example when it cannot deploy section files under HOME), which makes pandas treat a warning line as the column list and breaks metric parsing. Scan for the real CSV header ("ID",/ID,) and skip any preceding lines instead of relying on comment="=".

Nsight Compute may prepend warning lines before the CSV header (for
example when it cannot deploy section files under HOME), which makes
pandas treat a warning line as the column list and breaks metric
parsing. Scan for the real CSV header ("ID",/ID,) and skip any
preceding lines instead of relying on comment="=".
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label May 28, 2026
@Laurawly Laurawly merged commit d2c5944 into main May 28, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants