Skip to content

[test]: Warnings reported in test suites #4

@haoyu-zc

Description

@haoyu-zc

Thanks to @kf-cuanschutz , there's a test log attached below containing the warnings:

Using it on the L40 GPU partition definitely fixed the issue. The nvidia driver there is 570.86.15.

(ccc-gpu) [kefo0001_amc@c3gpu-a9-u19-1 ccc-gpu]$ nvidia-smi
Mon Feb 24 14:33:32 2025       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 570.86.15              Driver Version: 570.86.15      CUDA Version: 12.8     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA L40                     Off |   00000000:21:00.0 Off |                    0 |
| N/A   30C    P8             35W /  300W |       1MiB /  46068MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
                                                                                         
+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI              PID   Type   Process name                        GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|  No running processes found                                                             |
+-----------------------------------------------------------------------------------------+

All tests seem to have passed. I got many warnings related to shared_memory_size. I did get quite a few warnings as what is shown below, that I will look into. To see the full log test please refer to the log document I attached.
ccc_gpu_tests.log.txt

================================================================================================ warnings summary ================================================================================================
tests/test_coef_pval.py: 13 warnings
  /scratch/alpine/.xsede.org/kfotso/software/anaconda/envs/ccc-gpu/lib/python3.10/site-packages/numpy/core/numeric.py:407: RuntimeWarning: invalid value encountered in cast
    multiarray.copyto(res, fill_value, casting='unsafe')
tests/test_conf.py::test_conf_main
  /scratch/alpine/.xsede.org/kfotso/software/anaconda/envs/ccc-gpu/lib/python3.10/runpy.py:126: RuntimeWarning: 'ccc.conf' found in sys.modules after import of package 'ccc', but prior to execution of 'ccc.conf
'; this may result in unpredictable behaviour
    warn(RuntimeWarning(msg))
tests/test_giant.py: 408 warnings
tests/test_plots.py: 8 warnings
  /scratch/alpine/.xsede.org/kfotso/software/anaconda/envs/ccc-gpu/lib/python3.10/site-packages/pandas/core/algorithms.py:517: DeprecationWarning: np.find_common_type is deprecated.  Please use `np.result_type`
 or `np.promote_types`.
  See https://numpy.org/devdocs/release/1.25.0-notes.html and the docs for more information.  (Deprecated NumPy 1.25)
    common = np.find_common_type(
tests/test_giant.py: 12 warnings
tests/test_utils.py: 2 warnings
  /scratch/alpine/.xsede.org/kfotso/software/anaconda/envs/ccc-gpu/lib/python3.10/site-packages/pandas/core/dtypes/cast.py:1846: DeprecationWarning: np.find_common_type is deprecated.  Please use `np.result_typ
e` or `np.promote_types`.
  See https://numpy.org/devdocs/release/1.25.0-notes.html and the docs for more information.  (Deprecated NumPy 1.25)
    return np.find_common_type(types, [])  # type: ignore[arg-type]
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
207 passed, 444 warnings in 216.07s (0:03:36)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions