Skip to content

Commit 943efed

Browse files
fix docstring (#2053)
1 parent 50acb0c commit 943efed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/accelerate/utils/modeling.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ def set_module_tensor_to_device(
250250
Args:
251251
module (`torch.nn.Module`):
252252
The module in which the tensor we want to move lives.
253-
param_name (`str`):
253+
tensor_name (`str`):
254254
The full name of the parameter/buffer.
255255
device (`int`, `str` or `torch.device`):
256256
The device on which to set the tensor.

0 commit comments

Comments
 (0)