Skip to content

Commit

Permalink
fix: remove typos after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
drbh committed Jun 5, 2024
1 parent fc051d4 commit 1da2437
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
9 changes: 0 additions & 9 deletions router/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,11 @@ mod validation;
#[cfg(feature = "kserve")]
mod kserve;

use infer::{Infer, InferError, InferStreamResponse};
use queue::{Entry, Queue};
use serde::{Deserialize, Serialize};
use tracing::warn;
use utoipa::ToSchema;
use validation::Validation;

/// Type alias for generation responses
pub(crate) type GenerateStreamResponse = (
OwnedSemaphorePermit,
u32, // input_length
UnboundedReceiverStream<Result<InferStreamResponse, InferError>>,
);

#[derive(Clone, Deserialize, ToSchema)]
pub(crate) struct VertexInstance {
#[schema(example = "What is Deep Learning?")]
Expand Down
1 change: 0 additions & 1 deletion router/src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ use crate::infer::v2::SchedulerV2;
use crate::infer::v3::SchedulerV3;
use crate::infer::{HealthCheck, Scheduler};
use crate::infer::{Infer, InferError, InferResponse, InferStreamResponse, ToolGrammar};
use crate::health::Health;
#[cfg(feature = "kserve")]
use crate::kserve::{
kerve_server_metadata, kserve_health_live, kserve_health_ready, kserve_model_infer,
Expand Down

0 comments on commit 1da2437

Please sign in to comment.