Unverified Commit 06513c9b authored by Xianlu Bird's avatar Xianlu Bird Committed by GitHub
Browse files

chore: fix bindings typo in comments (#7516)


Signed-off-by: default avatarxianlubird <xianlubird@gmail.com>
parent 5802db87
...@@ -21,7 +21,7 @@ mod distributed; ...@@ -21,7 +21,7 @@ mod distributed;
pub mod vllm; pub mod vllm;
/// Add bingings from this crate to the provided module /// Add bindings from this crate to the provided module
pub fn add_to_module(m: &Bound<'_, PyModule>) -> PyResult<()> { pub fn add_to_module(m: &Bound<'_, PyModule>) -> PyResult<()> {
m.add_class::<BlockManager>()?; m.add_class::<BlockManager>()?;
m.add_class::<distributed::KvbmWorker>()?; m.add_class::<distributed::KvbmWorker>()?;
......
...@@ -56,7 +56,7 @@ fn _vllm_integration(m: &Bound<'_, PyModule>) -> PyResult<()> { ...@@ -56,7 +56,7 @@ fn _vllm_integration(m: &Bound<'_, PyModule>) -> PyResult<()> {
Ok(()) Ok(())
} }
/// Add bingings from this crate to the provided module /// Add bindings from this crate to the provided module
pub fn add_to_module(m: &Bound<'_, PyModule>) -> PyResult<()> { pub fn add_to_module(m: &Bound<'_, PyModule>) -> PyResult<()> {
m.add_wrapped(wrap_pymodule!(_vllm_integration))?; m.add_wrapped(wrap_pymodule!(_vllm_integration))?;
Ok(()) Ok(())
......
...@@ -24,7 +24,7 @@ pub use dynamo_runtime::{ ...@@ -24,7 +24,7 @@ pub use dynamo_runtime::{
use super::context::{Context, callable_accepts_kwarg}; use super::context::{Context, callable_accepts_kwarg};
use super::errors::py_exception_to_backend_error; use super::errors::py_exception_to_backend_error;
/// Add bingings from this crate to the provided module /// Add bindings from this crate to the provided module
pub fn add_to_module(m: &Bound<'_, PyModule>) -> PyResult<()> { pub fn add_to_module(m: &Bound<'_, PyModule>) -> PyResult<()> {
m.add_class::<PythonAsyncEngine>()?; m.add_class::<PythonAsyncEngine>()?;
Ok(()) Ok(())
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment