Skip to main content

forgellm_frontend/
lib.rs

1//! ForgeLLM Frontend — Model parsing and IR construction.
2//!
3//! This crate handles parsing model formats (GGUF, SafeTensors) and
4//! constructing the intermediate representation (IR) used by the
5//! optimizer and code generation backends.
6
7pub mod config;
8pub mod gguf;
9pub mod graph_builder;
10pub mod hub;
11pub mod ir;
12pub mod lora;
13pub mod onnx_export;
14pub mod safetensors;
15pub mod safetensors_loader;
16pub mod weight_loader;
17
18/// Re-export core IR types at the crate root.
19pub use ir::*;
20pub use lora::{load_lora, load_lora_from_bytes, merge_lora, LoraAdapter, LoraError, LoraLayer};
21pub use onnx_export::export_onnx;
22pub use safetensors_loader::load_safetensors;