Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] authored and phu0ngng committed Dec 11, 2024
1 parent 99b6bd2 commit 00419ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/jax/encoder/test_multiprocessing_encoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -561,6 +561,7 @@ def query_gpu(q):
num_gpus = len(subprocess.check_output(["nvidia-smi", "-L"]).decode().strip().split("\n"))
q.put([num_gpus, gpu_has_fp8, gpu_has_bf16])


def unittest_query_gpu():
r"""
It is only used by TestEncoder.
Expand Down

0 comments on commit 00419ba

Please sign in to comment.