fixed build
This commit is contained in:
parent
9ac9f3a952
commit
96e562f982
|
|
@ -146,7 +146,6 @@ func vkGetVisibleDevicesEnv(gpuInfo []GpuInfo) string {
|
|||
continue
|
||||
}
|
||||
ids = append(ids, info.ID)
|
||||
|
||||
}
|
||||
if len(ids) == 0 {
|
||||
return ""
|
||||
|
|
|
|||
|
|
@ -225,9 +225,9 @@ type ScaledDotProductAttention interface {
|
|||
|
||||
type number interface {
|
||||
~int | ~int8 | ~int16 | ~int32 | ~int64 |
|
||||
~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 |
|
||||
~float32 | ~float64 |
|
||||
~complex64 | ~complex128
|
||||
~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 |
|
||||
~float32 | ~float64 |
|
||||
~complex64 | ~complex128
|
||||
}
|
||||
|
||||
func mul[T number](s ...T) T {
|
||||
|
|
|
|||
Loading…
Reference in New Issue