-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #457 from datamol-io/pipeline_integration
Pipeline integration + Virtual Nodes Edges bug fix
- Loading branch information
Showing
5 changed files
with
53 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
type: ipu | ||
ipu_config: | ||
- deviceIterations(60) # IPU would require large batches to be ready for the model. | ||
# 60 for PCQM4mv2 | ||
# 30 for largemix | ||
- replicationFactor(4) | ||
# - enableProfiling("graph_analyser") # The folder where the profile will be stored | ||
# - enableExecutableCaching("pop_compiler_cache") | ||
- TensorLocations.numIOTiles(128) | ||
- _Popart.set("defaultBufferingDepth", 96) | ||
- Precision.enableStochasticRounding(True) | ||
|
||
ipu_inference_config: | ||
# set device iteration and replication factor to 1 during inference | ||
# gradient accumulation was set to 1 in the code | ||
- deviceIterations(60) | ||
- replicationFactor(1) | ||
- Precision.enableStochasticRounding(False) | ||
|
||
accelerator_kwargs: | ||
_accelerator: "ipu" | ||
gnn_layers_per_ipu: [4, 4, 4, 4] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters