cleanup tests
This commit is contained in:
parent
1954ec5917
commit
78140a712c
1 changed files with 0 additions and 15 deletions
|
@ -6,23 +6,8 @@ import (
|
|||
"time"
|
||||
|
||||
"github.com/google/go-cmp/cmp"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
||||
func TestSmoke(t *testing.T) {
|
||||
t.Setenv("OLLAMA_DEBUG", "")
|
||||
require.False(t, Debug())
|
||||
|
||||
t.Setenv("OLLAMA_DEBUG", "false")
|
||||
require.False(t, Debug())
|
||||
|
||||
t.Setenv("OLLAMA_DEBUG", "1")
|
||||
require.True(t, Debug())
|
||||
|
||||
t.Setenv("OLLAMA_FLASH_ATTENTION", "1")
|
||||
require.True(t, FlashAttention())
|
||||
}
|
||||
|
||||
func TestHost(t *testing.T) {
|
||||
cases := map[string]struct {
|
||||
value string
|
||||
|
|
Loading…
Reference in a new issue