1. 14 Mar, 2025 1 commit
  2. 13 Mar, 2025 1 commit
  3. 10 Mar, 2025 1 commit
  4. 08 Mar, 2025 1 commit
  5. 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
  6. 05 Mar, 2025 1 commit
  7. 28 Feb, 2025 1 commit
  8. 27 Feb, 2025 1 commit
  9. 26 Feb, 2025 1 commit
  10. 25 Feb, 2025 4 commits
  11. 24 Feb, 2025 1 commit
  12. 20 Feb, 2025 1 commit
  13. 18 Feb, 2025 1 commit
  14. 13 Feb, 2025 1 commit
  15. 12 Feb, 2025 2 commits
  16. 11 Feb, 2025 1 commit
  17. 10 Feb, 2025 3 commits
  18. 05 Feb, 2025 1 commit
  19. 04 Feb, 2025 1 commit