-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use a default dtype obtained form the architecture
- Loading branch information
1 parent
1aeb743
commit 0e18391
Showing
5 changed files
with
85 additions
and
8 deletions.
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
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
device: "cpu" | ||
base_precision: 32 | ||
base_precision: ${default_precision:} | ||
seed: null |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
echo "Generate data for testing..." | ||
|
||
ROOT_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd) | ||
|
||
cd $ROOT_DIR | ||
|
||
metatensor-models train options.yaml -o model-32-bit.pt -y base_precision=32 | ||
metatensor-models train options.yaml -o model-64-bit.pt -y base_precision=64 | ||
metatensor-models train options.yaml -o model-32-bit.pt -y base_precision=32 > /dev/null | ||
metatensor-models train options.yaml -o model-64-bit.pt -y base_precision=64 > /dev/null |
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