We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6252d1c commit 5789b79Copy full SHA for 5789b79
tests/flow/tests_commands.py
@@ -557,7 +557,8 @@ def test_ai_config(env):
557
env.assertEqual(res, 511*1024*1024)
558
559
# Change the default backends path and load backend.
560
- con.execute_command('AI.CONFIG', 'BACKENDSPATH', ROOT+"/install-cpu")
+ path = f'{ROOT}/install-{DEVICE.lower()}'
561
+ con.execute_command('AI.CONFIG', 'BACKENDSPATH', path)
562
res = con.execute_command('AI.CONFIG', 'GET', 'BACKENDSPATH')
563
env.assertEqual(res, f'{ROOT}/install-cpu'.encode())
564
be_info = get_info_section(con, "backends_info")
0 commit comments