Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error about python3 -m alpa.test_install #964

Open
ghost opened this issue Nov 2, 2023 · 0 comments
Open

Error about python3 -m alpa.test_install #964

ghost opened this issue Nov 2, 2023 · 0 comments

Comments

@ghost
Copy link

ghost commented Nov 2, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants