Skip to content

Commit 5155319

Browse files
committed
fix: rebase
1 parent da46912 commit 5155319

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

lib/llm/src/preprocessor/media/common.rs

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -11,28 +11,6 @@ pub struct EncodedMediaData {
1111
pub(crate) b64_encoded: bool,
1212
}
1313

14-
// Decoded media data (image RGB, video frames pixels, ...)
15-
pub struct DecodedMediaData {
16-
data: SystemStorage,
17-
shape: Vec<usize>,
18-
dtype: String,
19-
}
20-
21-
// Decoded media data NIXL descriptor (sent to the next step in the pipeline / NATS)
22-
#[derive(Serialize, Deserialize, Clone, Debug)]
23-
pub struct RdmaMediaDataDescriptor {
24-
// b64 agent metadata
25-
nixl_metadata: String,
26-
// tensor descriptor
27-
nixl_descriptor: NixlStorage,
28-
shape: Vec<usize>,
29-
dtype: String,
30-
// reference to the actual data, kept alive while the rdma descriptor is alive
31-
#[serde(skip, default)]
32-
#[allow(dead_code)]
33-
source_storage: Option<Arc<SystemStorage>>,
34-
}
35-
3614
impl EncodedMediaData {
3715
// Handles both web URLs (will download the bytes) and data URLs (will keep b64-encoded)
3816
// This function is kept in tokio runtime so we do not want any expensive operations

0 commit comments

Comments
 (0)