Skip to content

Commit

Permalink
Set fbmem in CI runner (and use it for manual tests)
Browse files Browse the repository at this point in the history
Legate allocates too much fbmem by default now for us.  Not sure
when/why that changed.

Signed-off-by: Sebastian Berg <[email protected]>
  • Loading branch information
seberg committed Jan 9, 2025
1 parent 1df1254 commit e333afb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 14 deletions.
16 changes: 3 additions & 13 deletions ci/manual-ci-test.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python

# Copyright 2024 NVIDIA Corporation
# Copyright (c) 2024-2025, NVIDIA CORPORATION
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -30,25 +30,15 @@
"--no-capture-output",
"-n",
"legate-dev",
# TODO: Should not need legate startup,
# see https://github.com/nv-legate/legate.core.internal/issues/1304
"legate",
"--gpus=2",
"cpp/build/gtests/cpp_tests",
"ci/run_ctests.sh",
],
"py": [
"conda",
"run",
"--no-capture-output",
"-n",
"legate-dev",
# TODO: Should not need legate startup,
# see https://github.com/nv-legate/legate.core.internal/issues/1304
"legate",
"--gpus=2",
"--module",
"pytest",
"python/tests",
"ci/run_pytests.sh",
],
}

Expand Down
3 changes: 2 additions & 1 deletion ci/run_pytests.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# Copyright (c) 2024, NVIDIA CORPORATION.
# Copyright (c) 2024-2025, NVIDIA CORPORATION.

# [description]
#
Expand All @@ -26,6 +26,7 @@ cd "$(dirname "$(realpath "${BASH_SOURCE[0]}")")"/../python/tests/
LEGATE_TEST=${LEGATE_TEST:-1} \
legate \
--gpus "$(nvidia-smi -L | wc -l)"\
--fbmem=4000 \
--module pytest \
. \
-sv \
Expand Down

0 comments on commit e333afb

Please sign in to comment.