Skip to content

Instantly share code, notes, and snippets.

@lyastro
lyastro / readme.md
Last active January 7, 2024 15:28
install Tensorflow with GPU support on Centos 7

install Tensorflow with GPU support on Centos 7

system: fully installed Centos 7

  • system update
$ sudo yum -y update
$ sudo yum -y install epel-release
$ sudo yum -y install gcc gcc-c++ python-pip python-devel atlas atlas-devel gcc-gfortran openssl-devel libffi-devel
@jweyrich
jweyrich / buildspec.yml
Last active August 22, 2025 14:02
Sample of buildspec.yml for AWS CodeBuild that builds a Docker image from code and push it to ECR to be deployed via CodePipeline
version: 0.2
env:
variables:
#
# NOTE: You need to replace these values!
#
ACCOUNT_NUMBER: "REPLACE_ME"
ECR_REGION: "REPLACE_ME"
ECR_REPOSITORY_NAME: "REPLACE_ME"
ECS_CONTAINER_NAME: "REPLACE_ME"