Struggling to use future with profvis
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- r
調査の方向性
提供された2つのprofvis再現例を、multisessionプランでfuture_mapおよびfuture_lapplyを使って実行し、その後FutureErrorと、エクスポートされたglobalsに関する診断情報を調べます。multisessionのfuture起動パスから開始し、profvisありの場合となしの場合の動作を比較します。再現可能な例が報告された接続エラーで失敗しなくなるか、失敗とその原因が明確に文書化されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
@HenrikBengtsson try to run the following
library(future)
library(furrr)
# 50,000 instances of `mtcars`
xs <- rep(list(mtcars), 50000)
# Two workers
plan(multisession, workers = 2)
profvis::profvis({
future_map(xs, identity)
})
or
library(future)
library(future.apply)
# 50,000 instances of `mtcars`
xs <- rep(list(mtcars), 50000)
# Two workers
plan(multisession, workers = 2)
profvis::profvis({
future_lapply(xs, identity)
})
For me, both of these return something like
profvis: code exited with error: Caught an unexpected error of class FutureError when trying to launch future () on backend of class MultisessionFutureBackend. The reason was: MultisessionFuture () failed to launch future on cluster RichSOCKnode futureverse/furrr#1 (PID 58154 on localhost ‘localhost’). The reason reported was ‘error writing to connection’. Post-mortem diagnostic: A process with this PID exists, which suggests that the localhost worker is still alive. The total size of the 5 globals exported is 89.19 MiB The three largest globals are ‘...furrr_chunk_args’ (89.19 MiB of class ‘list’), ‘...furrr_fn’ (185 bytes of class ‘function’) and ‘...furrr_dots’ (31 bytes of class ‘list’) [future (20fb4acd5a0a2950ebd05810b60d69d9-1); on 20fb4acd5a0a2950ebd05810b60d69d9@davisvaughan-01HQ<58109>]
Any ideas?
- 主要言語
- R
- スター
- 1k
- フォーク
- 94
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
futureverse/future のほかの issue
-
The first code example in the README does not work対応中かも @sean0407 が 16 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
futureverse/future#838 · コメント 1 件 · リアクション 1 件 ·
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
futureverse/future#833 ·
-
feature/resources RNG
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
futureverse/future#832 ·
-
RNG
難易度 5/5 1週間以上 初心者へのやさしさ 38/100
futureverse/future#831 · コメント 1 件 ·
-
feature request
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
futureverse/future#822 · リアクション 1 件 ·
futureverse/future の issue をすべて見る
似ている issue
-
dbRemoveTable() fails on SQLite with 'near "TRUNCATE": syntax error' and leaves the table in placeオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
OHDSI/DatabaseConnector#348 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 71/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100