Skip to content
#

dht

Here are 444 public repositories matching this topic...

lbry-sdk
lyoshenka
lyoshenka commented Apr 20, 2021

Creating a new issue based on lbryio/lbry-sdk#877

  • Update ensure_directory_exists() to check that the directory is writable by the current process.
  • If it's not, return a useful error
  • Add tests to cover the case when
    • download directory does not exist
    • download dir exists but is not writable
    • dir exists an
type: improvement help wanted good first issue area: downloads
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
borzunov
borzunov commented Sep 21, 2021

Simple mistakes trigger unclear error messages in the ALBERT example, that is:

  • Absence of the unpacked data for trainer (currently triggers requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://huggingface.co/api/models/data/tokenizer)
  • Running all peers in --client_mode (currently triggers AllReduce failed: could not find a group)

It would be great to

good first issue help wanted

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