[ERROR] Runtime.ImportModuleError: Unable to import module 'pr_notifier_chime_bot': No module named 'requests'
Serverless Error ---------------------------------------
Serverless plugin "serverless-python-requirements" not found. Make sure it's installed and listed in the "plugins" section of your serverless config file.
Get Support --------------------------------------------
Docs: docs.serverless.com
Bugs: github.com/serverless/serverless/issues
Issues: forum.serverless.com
Error --------------------------------------------------
Error: docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.
See 'docker run --help'.
at dockerCommand (/Users/bapac/workspace/pr_notifier_lambda/node_modules/serverless-python-requirements/lib/docker.js:20:11)
at getDockerUid (/Users/bapac/workspace/pr_notifier_lambda/node_modules/serverless-python-requirements/lib/docker.js:172:14)
at installRequirements (/Users/bapac/workspace/pr_notifier_lambda/node_modules/serverless-python-requirements/lib/pip.js:259:28)
at installRequirementsIfNeeded (/Users/bapac/workspace/pr_notifier_lambda/node_modules/serverless-python-requirements/lib/pip.js:556:3)
Operator | LHS | RHS | MKL Default | MKL Workaround |
---|---|---|---|---|
Dot | (4, 512, 512) | (4, 512, 512) | 15.1122 | 4.1254 |
(5, 512, 512) | (5, 512, 512) | 38.1678 | 7.5323 | |
(5, 512, 1536 | (5, 512, 1536) | 21.6601 | 19.2503 | |
(5, 512, 2048) | (5, 512, 2048) | 29.0369 | 23.7432 | |
(5, 2048, 512) | (5, 2048, 512) | 167.5528 | 129.9957 | |
Batch_dot | (4, 512, 512) | (4, 512, 512) | 1.7898 | 1.5445 |
(5, 512, 512) | (5, 512, 512) | 2.2457 | 1.9361 |
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
import mxnet as mx | |
from mxnet import nd | |
from benchmark.opperf.utils.benchmark_utils import run_performance_test | |
import os | |
#export MKL_VERBOSE=1 | |
#export MKLDNN_VERBOSE=1 | |
os.environ["MKL_VERBOSE"]=1 | |
os.environ["MKLDNN_VERBOSE"]=1 | |
os.environ["OMP_NUM_THREADS"]="4" | |
#print version |
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
ssh-keygen -t rsa -b 4096 -C "[email protected]" | |
eval "$(ssh-agent -s)" | |
ssh-add ~/src/id_rsa |
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
#!/bin/bash | |
export GIT_SSH_COMMAND="ssh -i /home/ubuntu/src/id_rsa" | |
echo "Entering mxnet repo" | |
cd /home/ubuntu/src/incubator-mxnet | |
echo "checkout master" | |
git checkout master | |
echo "fetch upstream master" | |
git fetch upstream master |
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
git remote add upstream https://github.com/apache/incubator-mxnet | |
git checkout master | |
git fetch upstream master | |
git merge upstream/master | |
git push origin master | |
git checkout <branchname> | |
git rebase master | |
git push -f origin <branchname> |
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
git remote add upstream https://github.com/apache/incubator-mxnet | |
git checkout master | |
git fetch upstream master | |
git merge upstream/master | |
git push origin master | |
git checkout <branchname> | |
git rebase master | |
git push -f origin <branchname> |