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

Clean installation on Ubuntu 20.04 fails #25

Open
AndreasKaratzas opened this issue Jan 23, 2022 · 0 comments
Open

Clean installation on Ubuntu 20.04 fails #25

AndreasKaratzas opened this issue Jan 23, 2022 · 0 comments

Comments

@AndreasKaratzas
Copy link

Hello! I'm trying to install nn_dataflow on an Ubuntu 20.04 distro with:

  • g++ 9
  • gcc 9
  • python 3.8.10
  • python3 3.9.10

I try to run the pytest via the python -m unittest discover command and no matter the circumstances, it always returns errors of this matter:

.............No valid schedule found for AlexNet.
No valid schedule found for AlexNet.
............................................................................SSM1
SSM2
SSM3
..................................................................................FFFF.................................................................................................
.......................................................................................................................................................................................
...............................................................................
======================================================================
FAIL: test_3d_mem (nn_dataflow.tests.tool_test.test_nn_dataflow_search.TestNNDataflowSearch)
With 3D memory.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/andreas/Documents/tools/nn_dataflow/nn_dataflow/tests/tool_test/test_nn_dataflow_search.py", line 45, in test_3d_mem
    self.assertEqual(ret, 0)
AssertionError: 1 != 0

======================================================================
FAIL: test_default_invoke (nn_dataflow.tests.tool_test.test_nn_dataflow_search.TestNNDataflowSearch)
Default invoke.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/andreas/Documents/tools/nn_dataflow/nn_dataflow/tests/tool_test/test_nn_dataflow_search.py", line 40, in test_default_invoke
    self.assertEqual(ret, 0)
AssertionError: 1 != 0

======================================================================
FAIL: test_no_dataflow (nn_dataflow.tests.tool_test.test_nn_dataflow_search.TestNNDataflowSearch)
No dataflow scheme found.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/andreas/Documents/tools/nn_dataflow/nn_dataflow/tests/tool_test/test_nn_dataflow_search.py", line 53, in test_no_dataflow
    self.assertEqual(ret, 2)
AssertionError: 1 != 2

======================================================================
FAIL: test_default_invoke (nn_dataflow.tests.tool_test.test_nn_layer_stats.TestNNLayerStats)
Default invoke.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/andreas/Documents/tools/nn_dataflow/nn_dataflow/tests/tool_test/test_nn_layer_stats.py", line 38, in test_default_invoke
    self.assertEqual(ret, 0)
AssertionError: 1 != 0

----------------------------------------------------------------------
Ran 534 tests in 592.050s

FAILED (failures=4)

I first tried to install nn_dataflow in a custom conda environment, which failed. Then I tried installing it using the distro's default python software which is:

Python 3.8.10 (default, Nov 26 2021, 20:14:08) 
[GCC 9.3.0] on linux

I installed the software using 2 different ways (well it's the same thing actually but anyway):

  1. via python setup.py install
  2. via pip install --user -e .

After every failure, I deleted the directory with the software and cloned it again, to avoid any prebuilt software subsystem. Nothing works so far. Any ideas?

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

1 participant