File tree Expand file tree Collapse file tree 4 files changed +5
-7
lines changed
mistralrs-server-core/src Expand file tree Collapse file tree 4 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -11,9 +11,9 @@ use super::StaticLoraConfig;
1111/// Static LoRA in the style of Phi-4 multimodal. Only when the layer regex for the specific LoRA matches.
1212///
1313/// Structure:
14- /// - prefix.base_layer.weight
15- /// - prefix.lora_A.<lora name>.weight
16- /// - prefix.lora_B.<lora name>.weight
14+ /// - ` prefix.base_layer.weight`
15+ /// - ` prefix.lora_A.<lora name>.weight`
16+ /// - ` prefix.lora_B.<lora name>.weight`
1717pub fn linear_no_bias_static_lora (
1818 in_dim : usize ,
1919 out_dim : usize ,
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ use tokio::{
1616/// ### Arguments
1717///
1818/// * `url_unparsed` - A string that can be:
19- /// - An HTTP/HTTPS URL (e.g., "https://example.com/image.png")
19+ /// - An HTTP/HTTPS URL (e.g., "< https://example.com/image.png> ")
2020/// - A file path (e.g., "/path/to/image.jpg" or "image.png")
2121/// - A data URL with base64 encoded image (e.g., "data:image/png;base64,...")
2222/// - A file URL (e.g., "file:///path/to/image.jpg")
Original file line number Diff line number Diff line change 1010//! - [`VisionModelBuilder`]
1111//! - [`AnyMoeModelBuilder`]
1212//!
13- //! Check out the [`v0_4_api`] module for concise documentation of this, newer API.
14- //!
1513//! ## Example
1614//! ```no_run
1715//! use anyhow::Result;
Original file line number Diff line number Diff line change @@ -187,7 +187,7 @@ impl VisionModelBuilder {
187187 }
188188
189189 /// Enable PagedAttention. Configure PagedAttention with a [`PagedAttentionConfig`] object, which
190- /// can be created with sensible values with a [`PagedAttentionMetaBuilder`].
190+ /// can be created with sensible values with a [`PagedAttentionMetaBuilder`](crate::PagedAttentionMetaBuilder) .
191191 ///
192192 /// If PagedAttention is not supported (query with [`paged_attn_supported`]), this will do nothing.
193193 pub fn with_paged_attn (
You can’t perform that action at this time.
0 commit comments