"examples/backends/sglang/vscode:/vscode.git/clone" did not exist on "91ddf4189b6c88963f57b50b416397da6759c511"
  1. 22 May, 2025 1 commit
    • Graham King's avatar
      feat(dynamo-run): Allow setting context-length (#1157) · 6d5da821
      Graham King authored
      Llama 4 has a very large context length (aka n_ctx, model_max_length, max_model_len), and vllm won't start unless it can allocate enough KV cache for the entire context.
      
      Allow passing `--context-length <N>` to `dynamo-run` to limit it so long-context models will fit.
      
      Future todo:
      - Restrict every request's `max_tokens` to below the context length. Our pre-processor should do this by setting stop_conditions.max_tokens. mistralrs engine wrapper must do it itself because it does not use the pre-processor.
      - mistralrs and llamacpp currently have a hard-coded max context length if one is not provided on the command line. Change those to be the model's built-in max, read from the GGUF or tokenizer_config.json.
      6d5da821
  2. 25 Feb, 2025 1 commit
  3. 13 Feb, 2025 1 commit
  4. 12 Feb, 2025 1 commit
  5. 11 Feb, 2025 2 commits
  6. 05 Feb, 2025 1 commit
  7. 04 Feb, 2025 1 commit