Skip to content

Commit c21c505

Browse files
authored
Doc fixes (#1442)
1 parent 072cda3 commit c21c505

File tree

4 files changed

+5
-7
lines changed

4 files changed

+5
-7
lines changed

mistralrs-quant/src/lora/static_lora.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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`
1717
pub fn linear_no_bias_static_lora(
1818
in_dim: usize,
1919
out_dim: usize,

mistralrs-server-core/src/util.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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")

mistralrs/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
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;

mistralrs/src/vision_model.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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(

0 commit comments

Comments
 (0)