Skip to content

correct error in valid_gpu()#15

Open
annlor wants to merge 1 commit intoresponsibleproblemsolving:masterfrom
annlor:fix_gpu
Open

correct error in valid_gpu()#15
annlor wants to merge 1 commit intoresponsibleproblemsolving:masterfrom
annlor:fix_gpu

Conversation

@annlor
Copy link

@annlor annlor commented May 16, 2021

As indicated in Issue #14, there is an issue with the valid_gpu() function. subprocess.check_call() returns an integer (return code) and not a float as tested. This results in valid_gpu() always returning False. Fixing this error triggers an error "'RAPLFile' object is not callable" when creating RAPL files with GPU logs. I removed this section.
I had trouble importing the module so I also changed the imports syntax.

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