Skip to content

Commit bd0a40c

Browse files
forgot to enclose in list
1 parent ee16b86 commit bd0a40c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel_tuner/observers/nvml.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ def set_clocks(self, mem_clock, gr_clock):
172172
if self.nvidia_smi:
173173
args = ["sudo", self.nvidia_smi, "-i", str(self.id)]
174174
command_set_clocks = f"--applications-clocks={str(mem_clock)},{str(gr_clock)}"
175-
subprocess.run(args + command_set_clocks, check=True)
175+
subprocess.run(args + [command_set_clocks], check=True)
176176

177177
# Store the fact that we have modified the clocks
178178
self.modified_clocks = True

0 commit comments

Comments
 (0)