Skip to content

Commit

Permalink
forgot to enclose in list
Browse files Browse the repository at this point in the history
  • Loading branch information
benvanwerkhoven committed Apr 22, 2024
1 parent ee16b86 commit bd0a40c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel_tuner/observers/nvml.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def set_clocks(self, mem_clock, gr_clock):
if self.nvidia_smi:
args = ["sudo", self.nvidia_smi, "-i", str(self.id)]
command_set_clocks = f"--applications-clocks={str(mem_clock)},{str(gr_clock)}"
subprocess.run(args + command_set_clocks, check=True)
subprocess.run(args + [command_set_clocks], check=True)

# Store the fact that we have modified the clocks
self.modified_clocks = True
Expand Down

0 comments on commit bd0a40c

Please sign in to comment.