-
Notifications
You must be signed in to change notification settings - Fork 51
Open
Description
https://github.com/EricLBuehler/mistral.rs/blob/master/docs/VLLAMA.md
I tried this, but can't get it to compile:
error[E0004]: non-exhaustive patterns: `DType::F8E4M3` not covered
--> /Users/markhneedham/.cargo/git/checkouts/candle-c6a149c3b35a488f/60eb251/candle-core/src/metal_backend/mod.rs:96:15
|
96 | match self.dtype {
| ^^^^^^^^^^ pattern `DType::F8E4M3` not covered
|
note: `DType` defined here
--> /Users/markhneedham/.cargo/git/checkouts/candle-c6a149c3b35a488f/60eb251/candle-core/src/dtype.rs:9:10
|
9 | pub enum DType {
| ^^^^^
10 | // Floating-point 8 bits integer (4-bit exponent, 3-bit mantissa).
11 | F8E4M3,
| ------ not covered
= note: the matched value is of type `DType`
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
|
105~ DType::F64 => Ok(CpuStorage::F64(self.to_cpu()?)),
106~ DType::F8E4M3 => todo!(),
|
Compiling jpeg-decoder v0.3.1
Compiling anstyle v1.0.8
error[E0004]: non-exhaustive patterns: `DType::F8E4M3` not covered
--> /Users/markhneedham/.cargo/git/checkouts/candle-c6a149c3b35a488f/60eb251/candle-core/src/metal_backend/mod.rs:2127:26
|
2127 | let name = match dtype {
| ^^^^^ pattern `DType::F8E4M3` not covered
|
note: `DType` defined here
--> /Users/markhneedham/.cargo/git/checkouts/candle-c6a149c3b35a488f/60eb251/candle-core/src/dtype.rs:9:10
|
9 | pub enum DType {
| ^^^^^
10 | // Floating-point 8 bits integer (4-bit exponent, 3-bit mantissa).
11 | F8E4M3,
| ------ not covered
= note: the matched value is of type `DType`
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
|
2139 ~ },
2140 + DType::F8E4M3 => todo!()
|
error[E0004]: non-exhaustive patterns: `CpuStorageRef::F8E4M3(_)` not covered
--> /Users/markhneedham/.cargo/git/checkouts/candle-c6a149c3b35a488f/60eb251/candle-core/src/metal_backend/mod.rs:2163:37
|
2163 | let (count, buffer) = match T::cpu_storage_ref(s) {
| ^^^^^^^^^^^^^^^^^^^^^ pattern `CpuStorageRef::F8E4M3(_)` not covered
|
note: `CpuStorageRef<'_>` defined here
--> /Users/markhneedham/.cargo/git/checkouts/candle-c6a149c3b35a488f/60eb251/candle-core/src/cpu_backend/mod.rs:37:10
|
37 | pub enum CpuStorageRef<'a> {
| ^^^^^^^^^^^^^
...
47 | F8E4M3(&'a [F8E4M3]),
| ------ not covered
= note: the matched value is of type `CpuStorageRef<'_>`
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
|
2172 ~ CpuStorageRef::F64(storage) => (storage.len(), self.new_buffer_with_data(storage)),
2173 ~ CpuStorageRef::F8E4M3(_) => todo!(),
|
error[E0004]: non-exhaustive patterns: `&CpuStorage::F8E4M3(_)` not covered
--> /Users/markhneedham/.cargo/git/checkouts/candle-c6a149c3b35a488f/60eb251/candle-core/src/metal_backend/mod.rs:2178:37
|
2178 | let (count, buffer) = match storage {
| ^^^^^^^ pattern `&CpuStorage::F8E4M3(_)` not covered
|
note: `CpuStorage` defined here
--> /Users/markhneedham/.cargo/git/checkouts/candle-c6a149c3b35a488f/60eb251/candle-core/src/cpu_backend/mod.rs:23:10
|
23 | pub enum CpuStorage {
| ^^^^^^^^^^
...
33 | F8E4M3(Vec<F8E4M3>),
| ------ not covered
= note: the matched value is of type `&CpuStorage`
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
|
2187 ~ CpuStorage::F64(storage) => (storage.len(), self.new_buffer_with_data(storage)),
2188 ~ &CpuStorage::F8E4M3(_) => todo!(),
|
Compiling subtle v2.6.1
Compiling regex-syntax v0.6.29
Compiling zune-core v0.4.12
Compiling number_prefix v0.4.0
Compiling byteorder-lite v0.1.0
Compiling color_quant v1.1.0
Compiling indicatif v0.17.8
Compiling anstream v0.6.15
Compiling gif v0.13.1
Compiling zune-jpeg v0.4.13
Compiling image-webp v0.1.3
error[E0004]: non-exhaustive patterns: `DType::F8E4M3` not covered
--> /Users/markhneedham/.cargo/git/checkouts/candle-c6a149c3b35a488f/60eb251/candle-core/src/sort.rs:147:23
|
147 | match storage.dtype() {
| ^^^^^^^^^^^^^^^ pattern `DType::F8E4M3` not covered
|
note: `DType` defined here
--> /Users/markhneedham/.cargo/git/checkouts/candle-c6a149c3b35a488f/60eb251/candle-core/src/dtype.rs:9:10
|
9 | pub enum DType {
| ^^^^^
10 | // Floating-point 8 bits integer (4-bit exponent, 3-bit mantissa).
11 | F8E4M3,
| ------ not covered
= note: the matched value is of type `DType`
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
|
156 ~ DType::I16 => "asort_asc_i16",
157 ~ DType::F8E4M3 => todo!(),
|
error[E0004]: non-exhaustive patterns: `DType::F8E4M3` not covered
--> /Users/markhneedham/.cargo/git/checkouts/candle-c6a149c3b35a488f/60eb251/candle-core/src/sort.rs:159:23
|
159 | match storage.dtype() {
| ^^^^^^^^^^^^^^^ pattern `DType::F8E4M3` not covered
|
note: `DType` defined here
--> /Users/markhneedham/.cargo/git/checkouts/candle-c6a149c3b35a488f/60eb251/candle-core/src/dtype.rs:9:10
|
9 | pub enum DType {
| ^^^^^
10 | // Floating-point 8 bits integer (4-bit exponent, 3-bit mantissa).
11 | F8E4M3,
| ------ not covered
= note: the matched value is of type `DType`
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
|
168 ~ DType::I16 => "asort_desc_i16",
169 ~ DType::F8E4M3 => todo!(),
|
Compiling tiff v0.9.1
For more information about this error, try `rustc --explain E0004`.
Compiling exr v1.72.0
error: could not compile `candle-core` (lib) due to 6 previous errors
warning: build failed, waiting for other jobs to finish...
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels