Skip to content

Commit 783ac5f

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent c49bd46 commit 783ac5f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

transformer_engine/pytorch/module/generalized_tensor_parallelism.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1462,7 +1462,7 @@ def _buf_bytes(shape, dtype) -> int:
14621462
if dtype not in GTPWeightCache._BYTES_PER_ELEMENT:
14631463
raise KeyError(
14641464
f"GTPWeightCache._buf_bytes: unknown dtype {dtype!r}. "
1465-
f"Add it to GTPWeightCache._BYTES_PER_ELEMENT with its bytes-per-element."
1465+
"Add it to GTPWeightCache._BYTES_PER_ELEMENT with its bytes-per-element."
14661466
)
14671467
return int(numel * GTPWeightCache._BYTES_PER_ELEMENT[dtype])
14681468

0 commit comments

Comments
 (0)