Forked from maaquib/gist:bd36f618b7b95c8f0afe37c9fbf893ea
Created
May 20, 2021 00:08
-
-
Save msaroufim/48b9121d2d36609cead5107f1bb6c05f to your computer and use it in GitHub Desktop.
env_validation_g4dn
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
> uname -m && cat /etc/*release | |
x86_64 | |
DISTRIB_ID=Ubuntu | |
DISTRIB_RELEASE=18.04 | |
DISTRIB_CODENAME=bionic | |
DISTRIB_DESCRIPTION="Ubuntu 18.04.5 LTS" | |
NAME="Ubuntu" | |
VERSION="18.04.5 LTS (Bionic Beaver)" | |
ID=ubuntu | |
ID_LIKE=debian | |
PRETTY_NAME="Ubuntu 18.04.5 LTS" | |
VERSION_ID="18.04" | |
HOME_URL="https://www.ubuntu.com/" | |
SUPPORT_URL="https://help.ubuntu.com/" | |
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" | |
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" | |
VERSION_CODENAME=bionic | |
UBUNTU_CODENAME=bionic | |
# Install nvidia drivers (v10.2) | |
# https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/install-nvidia-driver.html | |
# https://developer.nvidia.com/cuda-10.2-download-archive?target_os=Linux&target_arch=x86_64&target_distro=Ubuntu&target_version=1804&target_type=debnetwork | |
sudo apt install -y python3 python3-pip | |
sudo ln -sf /usr/bin/python3 /usr/bin/python | |
sudo ln -sf /usr/bin/pip3 /usr/bin/pip | |
export PATH=$PATH:/home/ubuntu/.local/bin | |
git clone https://github.com/pytorch/serve/ | |
cd serve && git checkout release_0.4.0 | |
python ./ts_scripts/install_dependencies.py | |
python ./ts_scripts/install_dependencies.py --environment=dev | |
python ./ts_scripts/install_from_src.py | |
# SUCCEEDS EXCEPT FOR DEAD LINKS | |
python torchserve_sanity.py | |
python test/regression_tests.py | |
# DEAD LINKS | |
ERROR: 1 dead links found! | |
[✖] https://torchserve.pytorch.org/sse-test/squeezenet1_1.mar → Status: 403 | |
## Broken links in file: docs/management_api.md | |
ERROR: 1 dead links found! | |
[✖] vgg_11 → Status: 400 | |
## Broken links in file: examples/image_classifier/README.md | |
ERROR: 9 dead links found! | |
[✖] https://github.com/facebookresearch/mmf/tree/master/mmf/datasets/builders/charades/dataset.py#L16 → Status: 429 | |
[✖] https://github.com/facebookresearch/mmf/tree/master/mmf/configs/datasets/charades/defaults.yaml#L22 → Status: 429 | |
[✖] https://github.com/facebookresearch/mmf/tree/master/mmf/datasets/builders/charades/builder.py → Status: 429 | |
[✖] https://github.com/facebookresearch/mmf/tree/master/mmf/models/transformers/base.py → Status: 429 | |
[✖] https://github.com/facebookresearch/mmf/tree/master/mmf/configs/datasets/charades/defaults.yaml → Status: 429 | |
[✖] https://github.com/facebookresearch/mmf/tree/master/mmf/configs/models/mmf_transformer/defaults.yaml → Status: 429 | |
[✖] https://github.com/facebookresearch/mmf/tree/master/projects/mmf_transformer/configs/charades/direct.yaml → Status: 429 | |
[✖] https://github.com/facebookresearch/mmf/tree/master/mmf/models/mmf_transformer.py#L34 → Status: 429 | |
[✖] https://github.com/facebookresearch/mmf/tree/master/mmf/configs → Status: 429 | |
## Broken links in file: examples/MMF-activity-recognition/README.md | |
ERROR: 6 dead links found! | |
[✖] https://github.com/pytorch/fairseq#join-the-fairseq-community → Status: 429 | |
[✖] https://github.com/pytorch/fairseq/blob/master/examples/translation/README.md → Status: 429 | |
[✖] https://github.com/pytorch/fairseq → Status: 429 | |
[✖] https://github.com/pytorch/serve/blob/master/docs/management_api.md#management-api → Status: 429 | |
[✖] https://github.com/pytorch/serve/blob/master/docs/inference_api.md#predictions-api → Status: 429 | |
[✖] https://github.com/pytorch/serve/blob/master/docs/batch_inference_with_ts.md#batch-inference-with-torchserve → Status: 429 | |
## Broken links in file: examples/nmt_transformer/README.md | |
ERROR: 6 dead links found! | |
[✖] https://github.com/pytorch/serve/blob/master/kubernetes/kfserving/Huggingface_readme.md → Status: 429 | |
[✖] https://github.com/pytorch/serve/blob/master/kubernetes/kfserving/text_classifier_readme.md → Status: 429 | |
[✖] https://github.com/pytorch/serve/blob/master/kubernetes/kfserving/mnist_readme.md → Status: 429 | |
[✖] https://github.com/pytorch/serve/blob/master/kubernetes/kfserving/Huggingface_readme.md#mar-file-creation → Status: 429 | |
[✖] https://github.com/pytorch/serve/blob/master/kubernetes/kfserving/text_classifier_readme.md#mar-file-creation → Status: 429 | |
[✖] https://github.com/pytorch/serve/blob/master/kubernetes/kfserving/Huggingface_readme.md#request-and-response → Status: 429 | |
## Broken links in file: kubernetes/kfserving/README.md | |
ERROR: 3 dead links found! | |
[✖] http://127.0.0.0:8085 → Status: 0 | |
[✖] http://127.0.0.0:8081 → Status: 0 | |
[✖] https://github.com/pytorch/serve/blob/master/examples/Huggingface_Transformers/Transformer_handler_generalized.py → Status: 429 | |
## Broken links in file: kubernetes/kfserving/Huggingface_readme.md | |
ERROR: 2 dead links found! | |
[✖] https://github.com/pytorch/serve/blob/master/kubernetes/kfserving/README.md → Status: 429 | |
[✖] https://github.com/pytorch/serve/blob/master/ts/torch_handler/vision_handler.py → Status: 429 | |
## Broken links in file: kubernetes/kfserving/mnist_readme.md | |
ERROR: 6 dead links found! | |
[✖] https://github.com/awslabs/amazon-eks-ami → Status: 429 | |
[✖] https://github.com/NVIDIA/k8s-device-plugin#installing-via-helm-installfrom-the-nvidia-device-plugin-helm-repository → Status: 429 | |
[✖] https://github.com/helm/charts/tree/master/stable/efs-provisioner → Status: 429 | |
[✖] https://github.com/weaveworks/eksctl/issues → Status: 429 | |
[✖] https://github.com/kubernetes-sigs/aws-efs-csi-driver/ → Status: 429 | |
[✖] https://github.com/kubernetes-incubator/external-storage/tree/master/aws/efs → Status: 429 | |
## Broken links in file: kubernetes/EKS/README.md |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment