seqpacker 0.1.3

High-performance sequence packing for LLM training
Documentation
//! Bin-packing algorithm implementations.

pub mod best_fit;
pub mod best_fit_decreasing;
pub mod counting_sort;
pub mod first_fit;
pub mod first_fit_decreasing;
pub mod first_fit_shuffle;
pub mod harmonic;
pub mod modified_first_fit_decreasing;
pub mod next_fit;
pub mod optimized_best_fit_decreasing;
pub mod optimized_best_fit_decreasing_parallel;
pub mod worst_fit;

pub use best_fit::BestFit;
pub use best_fit_decreasing::BestFitDecreasing;
pub use first_fit::FirstFit;
pub use first_fit_decreasing::FirstFitDecreasing;
pub use first_fit_shuffle::FirstFitShuffle;
pub use harmonic::Harmonic;
pub use modified_first_fit_decreasing::ModifiedFirstFitDecreasing;
pub use next_fit::NextFit;
pub use optimized_best_fit_decreasing::OptimizedBestFitDecreasing;
pub use optimized_best_fit_decreasing_parallel::OptimizedBestFitDecreasingParallel;
pub use worst_fit::WorstFit;