Skip to main content

Blog

Learn About Our Meetup

5000+ Members

MEETUPS

LEARN, CONNECT, SHARE

Join our meetup, learn, connect, share, and get to know your Toronto AI community. 

JOB POSTINGS

INDEED POSTINGS

Browse through the latest deep learning, ai, machine learning postings from Indeed for the GTA.

CONTACT

CONNECT WITH US

Are you looking to sponsor space, be a speaker, or volunteer, feel free to give us a shout.

[D] Should I include my weights inside my docker container?

I am running my ML inference inside a docker container. Should I include my weights in the image, or should I download them from S3 when the container starts up? From what I can see, the benefits are as follows:

Pros for including: faster startup times since I don’t need to download after startup. Less dependencies since everything is included in the container image

Pros for downloading: separation of weights and code. Easier weight tweaking since I won’t need to redeploy image when changing weights

Thoughts?

submitted by /u/aaronjl33
[link] [comments]