GPU fp32 | GPU fp16 | TPU fp32* | TPU fp16* | |
---|---|---|---|---|
Largest batch size | 32 | 64 | 1024 | 2048 |
Min-inference batch size | 4 | 64 | 1024 | 2048 |
Masker inference (s/i) | 0.059 | 0.019 | 3.80e-5 | 1.36e-5 |
Painter inference (s/i) | 0.068 | 0.041 | 2.53e-5 | 1.16e-5 |
Inference loop (s) | 130.382 | 60.567 | 0.073 | 0.0392 |
Inference loop (i/s) | ~8 | ~17 | ~14 000 | ~26 000 |
Full dataset with loading (s) | 151.546 | 76.953 | 18.05 | 15.31 |
Total Device -> CPU (s) | 2.816 | 2.528 | inf | inf |
This file contains hidden or 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
// ----------------------- | |
// ----- Functions ----- | |
// ----------------------- | |
/** | |
* | |
* @param {string} testId The string id for the element to find, | |
* matchec against elements' `data-testid` attribute. | |
* @returns HTML element | |
*/ |
This is merely an introduction to get you started quickly. This does not replace Mila's official cluster documentation => docs.mila.quebec which you should definitely go through, thoroughly before you start using the cluster.
Before starting: get your Mila cluster account ready. Should look something like surname[:6]firstname[0]
but this may vary, it’s not a necessary condition.
Quoi? | Lien | Domaine | Pourquoi |
---|---|---|---|
Questions Stack Overflow Symfony | https://stackoverflow.com/questions/tagged/symfony?tab=Votes | back | stage |
Awesome-List | https://github.com/sindresorhus/awesome | tout | jettes-y un oeil, c'est une liste de listes dee ressources! |
Awesome-Symfony | https://github.com/sitepoint-editors/awesome-symfony#readme | back | une list |
This file contains hidden or 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
from pathlib import Path | |
import re | |
from rstcloth.rstcloth import RstCloth | |
if __name__ == "__main__": | |
conf = Path() / "conf.txt" | |
clusterdest = Path() / "clusterconf.rst" | |
clouddest = Path() / "cloudconf.rst" | |
with conf.open("r") as f: | |
lines = [l.strip() for l in f.readlines()] |
This file contains hidden or 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
[ | |
{ | |
"key": "ctrl+shift+left", | |
"command": "workbench.action.previousEditor" | |
}, | |
{ | |
"key": "ctrl+alt+cmd+5", | |
"command": "-workbench.action.previousEditor" | |
}, | |
{ |
This file contains hidden or 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
[Info - 11:44:14 PM] Analysis cache path: /Users/victor/Library/Caches/Microsoft/Python Language Server | |
[Info - 11:44:14 PM] Microsoft Python Language Server version 0.5.10.0 | |
[Info - 11:44:14 PM] Workspace root: /Users/victor/Documents/Experiments/torch | |
[Info - 11:44:14 PM] GetCurrentSearchPaths /Users/victor/Documents/Experiments/torch/nndebug/bin/python | |
[Info - 11:44:14 PM] Interpreter search paths: | |
[Info - 11:44:14 PM] /Users/victor/.pyenv/versions/3.6.9/lib/python3.6 | |
[Info - 11:44:14 PM] /Users/victor/.pyenv/versions/3.6.9/lib/python3.6/lib-dynload | |
[Info - 11:44:14 PM] /Users/victor/Documents/Experiments/torch/nndebug/lib/python3.6/site-packages | |
[Info - 11:44:14 PM] User search paths: | |
[Info - 11:44:18 PM] Initializing for /Users/victor/Documents/Experiments/torch/nndebug/bin/python |
This file contains hidden or 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
[Info - 1:16:10 PM] Analysis cache path: /Users/victor/Library/Caches/Microsoft/Python Language Server | |
[Info - 1:16:10 PM] Microsoft Python Language Server version 0.4.127.0 | |
[Info - 1:16:10 PM] Workspace root: /Users/victor/Documents/Experiments/torch | |
[Info - 1:16:11 PM] GetCurrentSearchPaths /Users/victor/Documents/Experiments/torch/nndebug/bin/python | |
[Info - 1:16:11 PM] Interpreter search paths: | |
[Info - 1:16:11 PM] /Users/victor/.pyenv/versions/3.6.9/lib/python3.6 | |
[Info - 1:16:11 PM] /Users/victor/.pyenv/versions/3.6.9/lib/python3.6/lib-dynload | |
[Info - 1:16:11 PM] /Users/victor/Documents/Experiments/torch/nndebug/lib/python3.6/site-packages | |
[Info - 1:16:11 PM] User search paths: | |
[Info - 1:16:14 PM] Initializing for /Users/victor/Documents/Experiments/torch/nndebug/bin/python |
This file contains hidden or 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
[Info - 5:00:33 PM] Analysis cache path: /Users/victor/Library/Caches/Microsoft/Python Language Server | |
[Info - 5:00:33 PM] Microsoft Python Language Server version 0.4.114.0 | |
[Info - 5:00:33 PM] Workspace root: /Users/victor/Documents/ccai/github/omnigan | |
[Info - 5:00:34 PM] GetCurrentSearchPaths /Users/victor/Documents/ccai/github/omnigan/omnienv/bin/python | |
[Info - 5:00:34 PM] Interpreter search paths: | |
[Info - 5:00:34 PM] /Users/victor/.pyenv/versions/3.7.4/lib/python3.7 | |
[Info - 5:00:34 PM] /Users/victor/.pyenv/versions/3.7.4/lib/python3.7/lib-dynload | |
[Info - 5:00:34 PM] /Users/victor/Documents/ccai/github/omnigan/omnienv/lib/python3.7/site-packages | |
[Info - 5:00:34 PM] User search paths: | |
[Info - 5:00:37 PM] Initializing for /Users/victor/Documents/ccai/github/omnigan/omnienv/bin/python |
This file contains hidden or 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
from pathlib import Path | |
if __name__ == "__main__": | |
labels_path = Path() / "labels.yml" | |
if labels_path.exists(): | |
with labels_path.open() as f: | |
lines = f.readlines() | |
shields = [] | |
names = [] | |
i = 1 |
NewerOlder