Skip to content
#

dht

Here are 396 public repositories matching this topic...

lbry-sdk
atomashpolskiy
atomashpolskiy commented Dec 16, 2019

Because in CliClient.resume() we don't account for the case, when there is an exception in one of the async processing stages:

void resume() {
	...
	try {
		client.startAsync(state -> {
			printer.ifPresent(p -> p.print(state));
			if (!options.shouldSeedAfterDownloaded() && state.getPiecesRemaining() == 0) {
				runtime.shutdown();
			}
		}, 1000); // <-- CompletableFuture.w
justheuristic
justheuristic commented Dec 2, 2020

proposed by @mryab from #126

Virtual batching and LR scheduling are popular techniques with many applications. It would be nice to have an example of how to implement them with hivemind.

As of 0.8.15, ExpertBackend supports two ways of doing so:

  • hacky way: by wrapping over optimizer and implementing LR schedule in opt.step
  • orthodox way: by subclassing ExpertBackend and implementing ap

Improve this page

Add a description, image, and links to the dht topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the dht topic, visit your repo's landing page and select "manage topics."

Learn more