Skip to content

Commit

Permalink
fix typo; update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
dsikka committed Mar 27, 2024
1 parent 7ffb635 commit b956ba2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion tests/docs/testing_framework.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ the requirements are not met, the test is skipped. Currently, `requires_torch` a

## End-to-end Testing Targets:
- Tests cascading repositories (sparseml --> vLLM) but will become more prominent as are
docker containers are furhter solidified
docker containers are furhter solidified. Goal would be to emulate common flows users
may follow

## Cadence
- Ideally, large models and `regression` tests should be tested on a nightly cadence while
Expand Down
4 changes: 2 additions & 2 deletions tests/testing_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def is_torch_available():
return False


def is_gpu_avaialble():
def is_gpu_available():
return False


Expand All @@ -44,7 +44,7 @@ def requires_torch(test_case):


def requires_gpu(test_case):
return unittest.skipUnless(is_gpu_avaialble(), "test requires GPU")(test_case)
return unittest.skipUnless(is_gpu_available(), "test requires GPU")(test_case)


def _load_yaml(configs_directory, file):
Expand Down

0 comments on commit b956ba2

Please sign in to comment.