Skip to content

Conversation

@Redhawk18
Copy link
Contributor

background

❯ cargo doc
warning: redundant explicit link target
   --> src/llama.rs:397:34
    |
397 |     /// Initialize a new [Llama](Llama) module.
    |                           -----  ^^^^^ explicit target is redundant
    |                           |
    |                           because label contains path that resolves to same destination
    |
    = note: when a link's destination is not specified,
            the label is used to resolve intra-doc links
    = note: `#[warn(rustdoc::redundant_explicit_links)]` on by default
help: remove explicit link target
    |
397 -     /// Initialize a new [Llama](Llama) module.
397 +     /// Initialize a new [Llama] module.
    |

warning: this URL is not a hyperlink
   --> src/llama.rs:738:23
    |
738 |     /// Adapted from: https://github.com/meta-llama/llama-models/blob/main/models/llama3/reference_impl/model.py#L45
    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: bare URLs are not automatically turned into clickable links
    = note: `#[warn(rustdoc::bare_urls)]` on by default
help: use an automatic link instead
    |
738 |     /// Adapted from: <https://github.com/meta-llama/llama-models/blob/main/models/llama3/reference_impl/model.py#L45>
    |                       +                                                                                              +

warning: `llama-burn` (lib doc) generated 2 warnings (run `cargo fix --lib -p llama-burn` to apply 1 suggestion)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.19s
   Generated /home/redhawk/code/test/models/llama-burn/target/doc/llama_burn/index.html

Also why isn't this crate on crates.io?

@laggui
Copy link
Member

laggui commented Jan 19, 2026

We might eventually remove the llama implementation from the models repository entirely now that it has been moved to burn-lm.

@laggui laggui merged commit e89bb9c into tracel-ai:main Jan 19, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants