Skip to content

Commit

Permalink
session.use_vv_bin
Browse files Browse the repository at this point in the history
  • Loading branch information
qryxip committed Aug 31, 2024
1 parent 16a0601 commit 26b59a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/session/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ impl SessionBuilder {
}

pub fn commit_from_vv_bin(self, bin: &[u8]) -> Result<Session> {
ortsys![unsafe AddSessionConfigEntry(self.session_options_ptr.as_ptr(), c"session.decrypt_vv_model".as_ptr(), c"1".as_ptr())];
ortsys![unsafe AddSessionConfigEntry(self.session_options_ptr.as_ptr(), c"session.use_vv_bin".as_ptr(), c"1".as_ptr())];
self.commit_from_memory(bin)
}
}
Expand Down

0 comments on commit 26b59a8

Please sign in to comment.