mirror of
https://github.com/ROCm/jax.git
synced 2025-04-14 10:56:06 +00:00
Removed trivial docstrings from JAX tests
These docstrings do not make the tests any more clear and typically just duplicate the test module name. PiperOrigin-RevId: 737611977
This commit is contained in:
parent
55812c5d02
commit
0ff234049b
@ -11,7 +11,6 @@
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
"""Tests for serialization and deserialization of GDA."""
|
||||
|
||||
import asyncio
|
||||
import math
|
||||
|
@ -11,7 +11,6 @@
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
"""Tests for mnist_lib, saved_model_lib, saved_model_main."""
|
||||
|
||||
import os
|
||||
from absl import flags
|
||||
|
@ -11,7 +11,6 @@
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
"""Tests for call_tf."""
|
||||
|
||||
from collections.abc import Callable
|
||||
import contextlib
|
||||
|
@ -11,7 +11,6 @@
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
"""Tests for the jax2tf conversion for control-flow primitives."""
|
||||
|
||||
from absl.testing import absltest
|
||||
|
||||
|
@ -11,7 +11,6 @@
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
"""Tests for the shape-polymorphic jax2tf conversion."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
|
@ -11,7 +11,6 @@
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
"""Tests for AOT compilation."""
|
||||
|
||||
import contextlib
|
||||
import unittest
|
||||
|
@ -11,7 +11,6 @@
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
"""Tests for jax.api_util."""
|
||||
|
||||
import itertools as it
|
||||
from absl.testing import absltest
|
||||
|
@ -11,7 +11,6 @@
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
"""Tests for Array."""
|
||||
|
||||
import contextlib
|
||||
import math
|
||||
|
@ -11,7 +11,6 @@
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
"""Tests for release_backend_clients."""
|
||||
|
||||
from absl.testing import absltest
|
||||
import jax
|
||||
|
@ -12,8 +12,6 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
"""Tests for --debug_nans."""
|
||||
|
||||
from absl.testing import absltest
|
||||
|
||||
import jax
|
||||
|
@ -11,7 +11,6 @@
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
"""Tests for garbage allocation guard."""
|
||||
|
||||
import gc
|
||||
import weakref
|
||||
|
@ -12,8 +12,6 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
"""Tests for jax.numpy.ufunc and its methods."""
|
||||
|
||||
import itertools
|
||||
from functools import partial
|
||||
|
||||
|
@ -12,8 +12,6 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
"""Tests for the LAPAX linear algebra module."""
|
||||
|
||||
from functools import partial
|
||||
import itertools
|
||||
from typing import Iterator
|
||||
|
@ -12,7 +12,6 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
# ==============================================================================
|
||||
"""Tests for mesh utils."""
|
||||
|
||||
import collections
|
||||
from collections.abc import Sequence
|
||||
|
@ -12,7 +12,6 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
# ==============================================================================
|
||||
"""Tests for Mosaic GPU DSL functions and utilities."""
|
||||
|
||||
from collections.abc import Sequence
|
||||
import dataclasses
|
||||
|
@ -12,7 +12,6 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
# ==============================================================================
|
||||
"""Tests for Mosaic GPU CUPTI-based profiler."""
|
||||
|
||||
from absl.testing import absltest, parameterized
|
||||
import jax
|
||||
|
@ -12,8 +12,6 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
"""Tests for nn module."""
|
||||
|
||||
import collections
|
||||
from functools import partial
|
||||
import itertools
|
||||
|
@ -12,8 +12,6 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
"""Tests for the optimizers module."""
|
||||
|
||||
import functools
|
||||
|
||||
from absl.testing import absltest
|
||||
|
@ -12,8 +12,6 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
"""Tests for pull block spec."""
|
||||
|
||||
from absl.testing import absltest
|
||||
from absl.testing import parameterized
|
||||
import jax
|
||||
|
@ -12,8 +12,6 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
"""Tests for Pallas indexing logic and abstractions."""
|
||||
|
||||
from __future__ import annotations
|
||||
import sys
|
||||
import unittest
|
||||
|
@ -12,8 +12,6 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
"""Tests for common JAX operations within pallas_call."""
|
||||
|
||||
from collections.abc import Sequence
|
||||
import functools
|
||||
import itertools
|
||||
|
@ -12,7 +12,6 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
"""Tests for Pallas error handling."""
|
||||
import functools
|
||||
import traceback
|
||||
|
||||
|
@ -11,7 +11,6 @@
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
"""Tests for TPU specific operations within pallas_call."""
|
||||
|
||||
import functools
|
||||
import math
|
||||
|
@ -12,8 +12,6 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
"""Tests for distributed pallas TPU operations."""
|
||||
|
||||
import functools
|
||||
import os
|
||||
import tempfile
|
||||
|
@ -11,7 +11,6 @@
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
"""Tests for random ops in Pallas + Mosaic."""
|
||||
|
||||
from absl.testing import absltest
|
||||
from absl.testing import parameterized
|
||||
|
@ -12,7 +12,6 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
"""Tests for Pallas mesh API."""
|
||||
import functools
|
||||
from absl.testing import absltest
|
||||
import jax
|
||||
|
@ -12,7 +12,6 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
"""Tests for splash_attention."""
|
||||
from __future__ import annotations
|
||||
|
||||
from collections.abc import Callable
|
||||
|
@ -12,7 +12,6 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
"""Tests for splash_attention_masks."""
|
||||
from __future__ import annotations
|
||||
|
||||
from absl.testing import absltest
|
||||
|
@ -11,7 +11,6 @@
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
"""Tests for interoperability between JAX and pickling libraries."""
|
||||
|
||||
import pickle
|
||||
import unittest
|
||||
|
@ -12,7 +12,6 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License
|
||||
|
||||
"""Tests for the library of QDWH-based polar decomposition."""
|
||||
import functools
|
||||
|
||||
from absl.testing import absltest
|
||||
|
@ -11,7 +11,6 @@
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
"""Tests for the shape-polymorphic export."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
|
@ -12,9 +12,6 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
|
||||
"""Tests for stack."""
|
||||
|
||||
from absl.testing import absltest
|
||||
|
||||
import jax
|
||||
|
@ -12,8 +12,6 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
"""Tests for Stax library."""
|
||||
|
||||
from absl.testing import absltest
|
||||
|
||||
import numpy as np
|
||||
|
@ -12,7 +12,6 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License
|
||||
|
||||
"""Tests for the library of QDWH-based singular value decomposition."""
|
||||
import functools
|
||||
|
||||
import jax
|
||||
|
@ -11,7 +11,6 @@
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
"""Tests for transfer guards."""
|
||||
|
||||
import contextlib
|
||||
import pickle
|
||||
|
Loading…
x
Reference in New Issue
Block a user