Skip to content

Commit

Permalink
Merge pull request #641 from mv1388/fix-gpu-testing-torchtext-problem
Browse files Browse the repository at this point in the history
Fix GPU testing where newer version of torchtext had a problem importing
  • Loading branch information
mv1388 committed Dec 10, 2020
2 parents 8b6d702 + 5652bc1 commit 7011741
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/AWS/test_core_pytorch_compare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ scp -i $key_path ../../requirements.txt $username@$ec2_instance_address:~/packag
#########################################################
echo "Running the comparison tests"
ssh -i $key_path $username@$ec2_instance_address \
"source activate $py_env ; tmux new-session -d -s 'training' 'export AWS_DEFAULT_REGION=eu-west-1 ; cd package_test ; pip install pytest seaborn==0.9.0 ; pip install -r requirements.txt ; pytest $pytest_dir -s ; aws s3 cp $logging_path s3://aitoolbox-testing/core_pytorch_comparisson_testing/$logging_filename ; aws ec2 terminate-instances --instance-ids $instance_id' \; pipe-pane 'cat > $logging_path'"
"source activate $py_env ; tmux new-session -d -s 'training' 'export AWS_DEFAULT_REGION=eu-west-1 ; cd package_test ; pip install pytest seaborn==0.9.0 ; pip install -r requirements.txt ; pip install torchtext==0.7 ; pytest $pytest_dir -s ; aws s3 cp $logging_path s3://aitoolbox-testing/core_pytorch_comparisson_testing/$logging_filename ; aws ec2 terminate-instances --instance-ids $instance_id' \; pipe-pane 'cat > $logging_path'"

echo "Instance IP: $ec2_instance_address"

Expand Down

0 comments on commit 7011741

Please sign in to comment.