Skip to content

Commit c2e6540

Browse files
committed
ensure_lock_dir bug fix
Signed-off-by: Rishin Raj <[email protected]>
1 parent d47c2a4 commit c2e6540

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

QEfficient/utils/device_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def acquire_device_lock(retry_interval: int = 10, retry_duration: int = 300) ->
6464
Returns:
6565
file object if lock is acquired, else None.
6666
"""
67-
ensure_lock_dir()
67+
ensure_lock_dir(LOCK_DIR)
6868
lock_file_path = os.path.join(LOCK_DIR, "device_check.lock")
6969
start_time = time.time()
7070

0 commit comments

Comments
 (0)