Skip to content
This repository was archived by the owner on Oct 19, 2024. It is now read-only.
This repository was archived by the owner on Oct 19, 2024. It is now read-only.

Error about python3 -m alpa.test_install #964

@ghost

Description

1.ray start --head, Ray runtime started.
2.python3 -m alpa.test_install

2023-11-02 12:03:07,843	INFO worker.py:1342 -- Connecting to existing Ray cluster at address: xxx.xxx.xxx.xxx:6379...
2023-11-02 12:03:07,860	INFO worker.py:1528 -- Connected to Ray cluster.
(raylet) [2023-11-02 12:03:14,965 E 60772 60869] (raylet) file_system_monitor.cc:105: /tmp/ray/session_2023-11-02_12-01-53_160590_60560 is over 95% full, available space: 4389138432; capacity: 105089261568. Object creation will fail if spilling is required.
.
======================================================================
FAIL: test_1_shard_parallel (__main__.InstallationTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/meng/.local/lib/python3.9/site-packages/alpa/test_install.py", line 30, in test_1_shard_parallel
    assert_allclose(expected_output, actual_output)
  File "/home/meng/.local/lib/python3.9/site-packages/alpa/testing.py", line 39, in assert_allclose
    assert_allclose(x_elt, y_elt, rtol, atol)
  File "/home/meng/.local/lib/python3.9/site-packages/alpa/testing.py", line 47, in assert_allclose
    assert_allclose(tree_leaves(x), tree_leaves(y), rtol, atol)
  File "/home/meng/.local/lib/python3.9/site-packages/alpa/testing.py", line 39, in assert_allclose
    assert_allclose(x_elt, y_elt, rtol, atol)
  File "/home/meng/.local/lib/python3.9/site-packages/alpa/testing.py", line 44, in assert_allclose
    np.testing.assert_allclose(x, y, rtol, atol)
  File "/home/meng/.local/lib/python3.9/site-packages/numpy/testing/_private/utils.py", line 1527, in assert_allclose
    assert_array_compare(compare, actual, desired, err_msg=str(err_msg),
  File "/home/meng/.local/lib/python3.9/site-packages/numpy/testing/_private/utils.py", line 844, in assert_array_compare
    raise AssertionError(msg)
AssertionError: 
Not equal to tolerance rtol=0.0001, atol=0.0001

Mismatched elements: 1 / 128 (0.781%)
Max absolute difference: 0.00010206
Max relative difference: 199.98827
 x: array([-3.015064e-05,  1.122657e-05, -3.322206e-05, -4.230777e-05,
       -4.951062e-05,  1.942161e-05,  2.563224e-06, -3.348007e-05,
        3.417588e-05,  8.472528e-06, -2.105583e-05, -6.395001e-05,...
 y: array([-3.295589e-05,  2.638681e-05, -3.106424e-05,  1.391097e-05,
       -3.518772e-06,  1.677411e-05,  3.178759e-06, -8.905632e-07,
        1.477203e-05,  9.330035e-06, -1.809136e-05, -2.332646e-05,...

----------------------------------------------------------------------
Ran 2 tests in 19.095s

FAILED (failures=1)

env:ubuntu20/python3.9/CUDA11.3/cudnn8.2.0

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