Giter Club home page Giter Club logo

evanix's People

Contributors

sinanmohd avatar someoneserge avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

someoneserge

evanix's Issues

[02]: Solver report

The return value of the solver part of evanix should contain enough information to generate a report saying (0) how many derivations in total will be built (in future versions also how many compute hours we expect to expend), (1) which "targets" will be built, (2) which "targets" will remain unsatisfied. Optional features: print how much extra budget is required to satisfy one more target. Both --dry-run and the normal mode should be able to produce a report like that. The return value of the solver should probably be an immutable structure, and the "solver" should be a simple enough function to be used in a unit test

[00] midterm evaluation

The midterm evaluation is starting now, let's decide what we want to include in the report

What's in:

  • The greedy demo
    • #10 to make it more presentable?
    • #7 for the same reason?
  • Literature overview

What's left for the 2nd half of the term:

  • Dump hydra's build times and output sizes for a single evaluation
  • Implement an "expected times" PoC using the same HIGHS solver
  • Decide on what's a good schema for storing and distributing said hydra metadata; estimate how much the full hydra history would take to store then; decide on the schema for distributing evanix's statistical models
  • Maybe talk to the infra people and dump all of hydra's history in said format
  • Maybe reimplement evanix in rust/go

@sinanmohd wdyt

[01] Eval/IO overhead in the greedy demo

Running evanix on https://github.com/ggerganov/llama.cpp takes, in the --dry-run mode, about 20s, whereas running nix-eval-jobs takes about 6s. Per @sinanmohd's hypothesis, this is due to querying the substituters about the cached store paths too much (does nix not maintain a negative response cache for these queries?). The performance needs to be brought down to the same order of magnitude as nix-eval-jobs so that we can stop talking about the greedy PoC

[99] Builds from the leaves?

Eventually we want to get Nix's scheduler entirely out of the picture:

  • Start building from the leaves (rather than from "direct" targets). A "leave" in our context is a .drv for which no extra inputs have to be built.
  • Create temporary roots for the dependencies and keep them until it has no unbuilt reverse dependencies left
  • Cleanup (shouldn't be necessary unless evanix was interrupted)

(very low priority)

[80]: Replace `--pipelined=True` with `--batch-wait-ms=X`

Instead of choosing between the whole eval to finish or disabling scheduling altogether (i.e. scheduling jobs one by one as they come), do something like like "wait X milliseconds to accumulate a batch of jobs, run the solver on this subset, schedule some builds, then wait another X milliseconds to extend the batch and re-run the solver to get a better plan"

It is OK to focus on the "complete eval first" scenario and implement batching later: our scope is to find a good way to choose a build plan, not in speeding up the eval

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.