mirror of https://github.com/tracel-ai/burn.git
WGPU: matmul vec4 (#897)
This commit is contained in:
parent
0ab611b42e
commit
e76b6d47de
|
@ -1,4 +1,5 @@
|
|||
use super::{numeric, BoolTensor, Device, FloatElem, FloatTensor, FullPrecisionBackend, IntTensor};
|
||||
use crate::kernel::matmul::vec4_primitive::matmul_tiling_2d_vec4_primitive_default;
|
||||
use crate::kernel::prng::{random_bernoulli, random_normal, random_uniform};
|
||||
use crate::kernel::{
|
||||
self, unary_default, unary_inplace_default, unary_scalar_default, unary_scalar_inplace_default,
|
||||
|
@ -143,7 +144,7 @@ where
|
|||
lhs: FloatTensor<Self, D>,
|
||||
rhs: FloatTensor<Self, D>,
|
||||
) -> FloatTensor<Self, D> {
|
||||
kernel::matmul::contiguous::matmul_tiling_2d_default(lhs, rhs)
|
||||
matmul_tiling_2d_vec4_primitive_default(lhs, rhs)
|
||||
}
|
||||
|
||||
fn swap_dims<const D: usize>(
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
coverage:
|
||||
status:
|
||||
project:
|
||||
default:
|
||||
target: 80%
|
||||
threshold: 5%
|
|
@ -3,7 +3,7 @@ use crate::model::Model;
|
|||
|
||||
use burn::module::Module;
|
||||
use burn::optim::decay::WeightDecayConfig;
|
||||
use burn::optim::{AdamConfig, AdamWConfig};
|
||||
use burn::optim::AdamConfig;
|
||||
use burn::record::{CompactRecorder, NoStdTrainingRecorder};
|
||||
use burn::train::metric::store::{Aggregate, Direction, Split};
|
||||
use burn::train::metric::{CpuMemory, CpuTemperature, CpuUse};
|
||||
|
|
Loading…
Reference in New Issue