Giter Site home page Giter Site logo

brentley / tensorflow-container Goto Github PK

View Code? Open in Web Editor NEW
19.0 3.0 8.0 832 KB

Example code for deploying GPU workloads on ECS

Home Page: https://aws.amazon.com/blogs/compute/scheduling-gpus-for-deep-learning-tasks-on-amazon-ecs/

License: Apache License 2.0

Dockerfile 59.57% Shell 40.43%
ecs ecs-cluster ecs-task gpu gpu-computing gpu-cluster ai aiml docker ml

tensorflow-container's Issues

Parameter validation failed. "resourceRequirements", must be one of ...

I try to reproduce your code but cannot register a task with resourceRequirements

            "resourceRequirements": [
                {
                    "type": "GPU",
                    "value": "1"
                }
            ],

P.S without resourceRequirements lines task can be registered easely. and I also use us-east-2 region

When I try to register the code with your task definition json file I get the error:
$ aws ecs register-task-definition --cli-input-json file://gpu-1-taskdef.json

Parameter validation failed:
Unknown parameter in containerDefinitions[0]: "resourceRequirements", must be one of: name, image, repositoryCredentials, cpu, memory, memoryReservation, links, portMappings, essential, entryPoint, command, environment, mountPoints, volumesFrom, linuxParameters, secrets, hostname, user, workingDirectory, disableNetworking, privileged, readonlyRootFilesystem, dnsServers, dnsSearchDomains, extraHosts, dockerSecurityOptions, interactive, pseudoTerminal, dockerLabels, ulimits, logConfiguration, healthCheck, systemControls

I also tried to move resourceRequirements to other subfields but it didn't help.

From docs I can see that it's valid parameter.
https://docs.aws.amazon.com/cli/latest/reference/ecs/register-task-definition.html

Maybe something was changed with resourceRequirements? Can you recheck that all works great.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.