Skip to content

Commit

Permalink
made test smaller
Browse files Browse the repository at this point in the history
  • Loading branch information
plutonium-239 committed Apr 1, 2024
1 parent 1911520 commit 4c07ca1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
7 changes: 6 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@ requires = ["flit_core >=3.2,<4"]
name = "memsave_torch"
version = "1.0.0"
dependencies = [
"torch"
"torch",
"torchvision",
"codetiming",
"memory_profiler",
"pandas",
"tqdm"
]
requires-python = ">=3.8"
authors = [
Expand Down
8 changes: 4 additions & 4 deletions test/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ def test_all():
models = ["deeprelumodel"]

models = prefix_in_pairs("memsave_", models)
batch_size = 64
batch_size = 2
input_channels = 3
input_HW = 224
num_classes = 1000
device = "cuda"
input_HW = 32
num_classes = 20
device = "cpu"
architecture = "conv"
results_dir = ".test_results/"

Expand Down

0 comments on commit 4c07ca1

Please sign in to comment.