1. 29 Apr, 2025 1 commit
    • Graham King's avatar
      chore: Split PushRouter from Client (#817) · a1a10365
      Graham King authored
      In a distributed system we don't know if the remote workers need pre-processing done ingress-side or not. Previously Client required us to decide this before discovering the remote endpoints, which was fine because pre-processing was worker-side.
      
      As part of moving pre-processing back to ingress-side we need to split this into two steps:
      - Client discovers the endpoints, and (later PR) will fetch their Model Deployment Card.
      - PushRouter will use the Model Deployment Card to decide if they need pre-processing or not, which affects the types of the generic parameters.
      
      Part of #743
      a1a10365
  2. 26 Apr, 2025 1 commit
  3. 21 Apr, 2025 2 commits
  4. 18 Apr, 2025 1 commit
  5. 12 Apr, 2025 1 commit
  6. 11 Apr, 2025 1 commit
  7. 04 Apr, 2025 2 commits
  8. 03 Apr, 2025 1 commit
  9. 02 Apr, 2025 1 commit
  10. 01 Apr, 2025 1 commit
  11. 17 Mar, 2025 1 commit
  12. 11 Mar, 2025 2 commits
  13. 09 Mar, 2025 2 commits
  14. 08 Mar, 2025 1 commit
  15. 07 Mar, 2025 1 commit
    • Graham King's avatar
      feat: Python bring-your-own-engine with our tokenizer (#47) · 12714d90
      Graham King authored
      Instead of using `out=pystr:<my.py>` we can now do this:
      ```
      dynemo-run out=pytok:/home/graham/my_python_engine.py --model-path <hf-repo-checkout>
      ```
      
      That engine will receive and respond with tokens. Here's an example engine file:
      ```
      import asyncio
      
      async def generate(request):
          yield {"token_ids":[791]}
          await asyncio.sleep(0.1)
          yield {"token_ids":[6864]}
          await asyncio.sleep(0.1)
          yield {"token_ids":[315]}
          await asyncio.sleep(0.1)
          yield {"token_ids":[9822]}
          await asyncio.sleep(0.1)
          yield {"token_ids":[374]}
          await asyncio.sleep(0.1)
          yield {"token_ids":[12366]}
          await asyncio.sleep(0.1)
          yield {"token_ids":[13]}
      ```
      
      Also reduce duplication by making the bindings engine use the llm lib engine.
      12714d90
  16. 06 Mar, 2025 1 commit
  17. 05 Mar, 2025 1 commit
  18. 04 Mar, 2025 2 commits
  19. 28 Feb, 2025 1 commit
  20. 27 Feb, 2025 1 commit
  21. 25 Feb, 2025 4 commits