forked from Lightning-AI/litgpt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Downgrade ligthning to before bitsandbytes upgrade (Lightning-AI#1104)
- Loading branch information
Showing
3 changed files
with
7 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,10 @@ | ||
# Copyright Lightning AI. Licensed under the Apache License 2.0, see LICENSE file. | ||
|
||
# this file is just to validate on the CI logs that these tests were run | ||
from lightning.fabric.plugins.precision.bitsandbytes import _BITSANDBYTES_AVAILABLE | ||
|
||
from conftest import RunIf | ||
|
||
|
||
@RunIf(min_cuda_gpus=1) | ||
def test_runif_min_cuda_gpus(): | ||
assert True | ||
|
||
|
||
@RunIf(min_cuda_gpus=1, standalone=True) | ||
def test_runif_min_cuda_gpus_standalone(): | ||
assert True | ||
|
||
|
||
@RunIf(standalone=True) | ||
def test_runif_standalone(): | ||
assert True | ||
def test_gpu_ci_installs_bitsandbytes(): | ||
assert _BITSANDBYTES_AVAILABLE, str(_BITSANDBYTES_AVAILABLE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters