Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgeantonio21 committed Mar 31, 2024
1 parent f673dea commit e403ba9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions atoma-inference/src/model_thread.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,7 @@ where
) -> Result<(Self, Vec<ModelThreadHandle<T, U>>), ModelThreadError>
where
F: ApiTrait,
M: ModelTrait<Input = T::ModelInput, Output = U::ModelOutput>
+ Send
+ 'static,
M: ModelTrait<Input = T::ModelInput, Output = U::ModelOutput> + Send + 'static,
{
let model_ids = config.model_ids();
let api_key = config.api_key();
Expand Down
4 changes: 1 addition & 3 deletions atoma-inference/src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,7 @@ where
request_receiver: Receiver<T>,
) -> Result<Self, ModelServiceError>
where
M: ModelTrait<Input = T::ModelInput, Output = U::ModelOutput>
+ Send
+ 'static,
M: ModelTrait<Input = T::ModelInput, Output = U::ModelOutput> + Send + 'static,
F: ApiTrait,
{
let private_key_bytes =
Expand Down

0 comments on commit e403ba9

Please sign in to comment.