Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Miscellaneous server-side improvements #68

Open
12 of 15 tasks
justheuristic opened this issue Sep 7, 2022 · 0 comments
Open
12 of 15 tasks

Miscellaneous server-side improvements #68

justheuristic opened this issue Sep 7, 2022 · 0 comments

Comments

@justheuristic
Copy link
Collaborator

justheuristic commented Sep 7, 2022

  • task_pool

  • runtime

  • handler

    • verify what happens if server have mixed torch_dtype and/or compression
    • actually follow forward/backward/inference schema instead of hard-coding
    • extract the code for adding prompts into a separate file
    • consider merging the code from hivemind's ConnectionHandler instead of inheriting
    • add a test that covers _rpc_inference with prompts
    • add a test that covers _rpc_inference with hypo-ids
  • MemoryCache

    • when running inference over multiple layers on the same server, avoid passing layer activations between cpu<->gpu by
      storing them in MemoryCache
      • before implementing this, gotta check if this will bring any performance benefit
    • LRU-offload stale cache from gpu to ram
  • point system

    • make sure points are integers everywhere
    • implement a nonzero prioritizer :)
    • move client-side spending polity to sequence_manager
@justheuristic justheuristic changed the title Server-side improvements [yozh-todo-list] Server-side improvements [yozh-artek-pavel-todo-list] Sep 7, 2022
@justheuristic justheuristic changed the title Server-side improvements [yozh-artek-pavel-todo-list] Miscellaneous server-side improvements Jan 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant