Download code/models/tt_transformers/tests/test_rope_utils.py from raahemnabeel/qwen3-coder-next: direct link, hf CLI and curl.
- Browser
- Download file 653 Bytes
-
https://huggingface.co/raahemnabeel/qwen3-coder-next/resolve/main/code/models/tt_transformers/tests/test_rope_utils.py
- Command line
-
hf download hf://raahemnabeel/qwen3-coder-next/code/models/tt_transformers/tests/test_rope_utils.py
-
curl -L -o test_rope_utils.py https://huggingface.co/raahemnabeel/qwen3-coder-next/resolve/main/code/models/tt_transformers/tests/test_rope_utils.py
653 Bytes
| # SPDX-FileCopyrightText: © 2026 Tenstorrent USA, Inc. | |
| # | |
| # SPDX-License-Identifier: Apache-2.0 | |
| import pytest | |
| from models.tt_transformers.tt.rope import get_batch_size_per_device_group | |
| def test_get_batch_size_per_device_group(batch_size, use_qk_fused, num_devices, mesh_shape, expected): | |
| assert get_batch_size_per_device_group(batch_size, use_qk_fused, num_devices, mesh_shape, 1) == expected | |