1. 20 Mar, 2025 1 commit
  2. 19 Mar, 2025 2 commits
    • Graham King's avatar
      chore: Don't depend on openssl (#292) · 7c3fd5c9
      Graham King authored
      This makes the Rust parts all use ring / rustls library instead of local install of openssl. It's a step on the journey to being statically linked.
      
      Pieces:
      - `tokenizers` and `mistralrs` now support rustls (mistralrs by default, tokenizers with feature flag).
      - Move shared dependencies up into workspace
      - New `rand` crate has some renames for future rust
      - Ensure the dependency doesn't creep back in by enforcing it with cargo deny.
      7c3fd5c9
    • Alexander Zaitsev's avatar
      feat: enable LTO and codegen-units = 1 optimizations (#279) · af8ee9db
      Alexander Zaitsev authored
      #### Overview:
      
      This PR enables more aggressive compiler optimizations for the project which should lead to better performance and smaller binary sizes.
      
      In this PR, I decided to use Fat LTO instead of ThinLTO since it provides higher optimization level.
      
      I have made quick tests (AMD Ryzen 5900x, Fedora 41, Rust 1.85.1, the latest version of the project at the moment, `cargo build --release` command) - here are the results about the binary size improvements.
      
      | Binary\Build mode | dynamo-run | libdynamo_llm_capi.so | http | llmctl | metrics | mock_worker |
      | --- | --- | --- | --- | --- | --- | --- |
      | Release | 55 Mib | 14 Mib | 19 Mib | 14 Mib | 21 Mib | 14 Mib |
      | Release + `codegen-units = 1` + ThinLTO | 43 Mib | 11 Mib | 15 Mib | 11 Mib | 17 Mib | 11 Mib |
      | Release + `codegen-units = 1` + FatLTO | 38 Mib | 9.2 Mib | 13 Mib | 9.6 Mib | 15 Mib | 9.6 Mib |
      
      #### Details:
      
      Enable `codegen-units = 1` and Fat LTO for better optimizations.
      
      #### Where should the reviewer start?
      
      Just check the `Cargo.toml` file ;)
      
      #### Related Issues: (use one of the action keywords Closes / Fixes / Resolves / Relates to)
      
      - closes GitHub issue: #278 
      af8ee9db
  3. 14 Mar, 2025 1 commit
    • Graham King's avatar
      fix: Various for MacOS (#155) · 76b79149
      Graham King authored
      - Mac doesn't have `pipe2` syscall so use plain `pipe`.
      - rtnetlink isn't a dependency on mac so don't use the type
      76b79149
  4. 13 Mar, 2025 1 commit
  5. 11 Mar, 2025 1 commit
  6. 10 Mar, 2025 1 commit
  7. 09 Mar, 2025 1 commit
  8. 08 Mar, 2025 1 commit
  9. 05 Mar, 2025 1 commit
  10. 25 Feb, 2025 1 commit
  11. 21 Feb, 2025 1 commit
  12. 18 Feb, 2025 1 commit
  13. 13 Feb, 2025 1 commit
  14. 12 Feb, 2025 1 commit
  15. 11 Feb, 2025 1 commit
  16. 10 Feb, 2025 1 commit
  17. 06 Feb, 2025 1 commit
  18. 05 Feb, 2025 2 commits
  19. 04 Feb, 2025 1 commit