clab / clab/dynet

Assert shared_parameters is true if using MP

Open
#1,336 0 comments 0 reactions 0 assignees View on GitHub
major bug
Dominant language
C++
Stars
3.4k
Forks
701
PR merge metrics
No merged PRs in 30d

Description

Dynet should give an error and refuse to run if the user is using the multiprocessing code without activating setting shared_parameters = true in the DynetParams object or the initialize call.

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the multiprocessing code and the DynetParams or initialize entry points mentioned in the issue, then trace where multiprocessing is enabled. Confirm the existing behavior and identify the relevant test location; the work is done when invalid multiprocessing configuration raises an error and valid shared_parameters configuration still runs.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.