Skip to content

Commit

Permalink
Added InferenceSessionRef to exports, for easier serializing and dese…
Browse files Browse the repository at this point in the history
…rializing
  • Loading branch information
Julia Merz committed Jun 27, 2023
1 parent 9123171 commit 461cbce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/llm-base/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pub use ggml::Type as ElementType;

pub use inference_session::{
feed_prompt_callback, GraphOutputs, InferenceError, InferenceFeedback, InferenceRequest,
InferenceResponse, InferenceSession, InferenceSessionConfig, InferenceSnapshot, InferenceStats,
InferenceResponse, InferenceSession, InferenceSessionConfig, InferenceSnapshot, InferenceSnapshotRef, InferenceStats,
ModelKVMemoryType, SnapshotError,
};
pub use loader::{
Expand Down
2 changes: 1 addition & 1 deletion crates/llm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ pub use llm_base::{
feed_prompt_callback, ggml::format as ggml_format, load, load_progress_callback_stdout,
quantize, samplers, ElementType, FileType, FileTypeFormat, InferenceError, InferenceFeedback,
InferenceParameters, InferenceRequest, InferenceResponse, InferenceSession,
InferenceSessionConfig, InferenceSnapshot, InferenceStats, InvalidTokenBias, KnownModel,
InferenceSessionConfig, InferenceSnapshot, InferenceSnapshotRef, InferenceStats, InvalidTokenBias, KnownModel,
LoadError, LoadProgress, Loader, Model, ModelKVMemoryType, ModelParameters, OutputRequest,
Prompt, QuantizeError, QuantizeProgress, Sampler, SnapshotError, TokenBias, TokenId,
TokenUtf8Buffer, TokenizationError, Vocabulary, VocabularySource,
Expand Down

0 comments on commit 461cbce

Please sign in to comment.