# PyTorch ARM64 Size

**URL:** <https://discuss.pytorch.org/t/pytorch-arm64-size/145883>\
**Category:** Uncategorized\
**Created:** [March 8, 2022, 11:11am UTC](https://discuss.pytorch.org/t/pytorch-arm64-size/145883 "2022-03-08T11:11:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![soulven90](https://discuss.pytorch.org/letter_avatar_proxy/v4/letter/s/34f0e0/32.png) [@soulven90](https://discuss.pytorch.org/u/soulven90)\
**Post date:** [March 8, 2022, 11:11am UTC](https://discuss.pytorch.org/t/pytorch-arm64-size/145883/1 "2022-03-08T11:11:52Z")

</div>

I was trying to use PyTorch on AWS Lambda and I have an interesting observation whereby the torch package on a x86\_64 OS docker image is 1.7G in size while being only 207MB in size on a arm64 OS docker image.

What would cause such a huge difference in file fize?

---

<div class="post-metadata">

**Author:** ![ptrblck](https://discuss.pytorch.org/user_avatar/discuss.pytorch.org/ptrblck/32/1823_2.png) [@ptrblck](https://discuss.pytorch.org/u/ptrblck)\
**Post date:** [March 9, 2022, 6:36am UTC](https://discuss.pytorch.org/t/pytorch-arm64-size/145883/2 "2022-03-09T06:36:11Z")

</div>

I’m not sure which containers you are comparing but I cannot find an ARM64 container in [docker hub](https://hub.docker.com/r/pytorch/pytorch/tags).  
Based on the size difference I would guess the x86 container ships with a CUDA toolkit (and other additional libs).

---

<div class="post-metadata">

**Author:** ![soulven90](https://discuss.pytorch.org/letter_avatar_proxy/v4/letter/s/34f0e0/32.png) [@soulven90](https://discuss.pytorch.org/u/soulven90)\
**Post date:** [March 10, 2022, 3:10am UTC](https://discuss.pytorch.org/t/pytorch-arm64-size/145883/3 "2022-03-10T03:10:10Z")

</div>

> [@ptrblck](#):
>
> I’m not sure which containers you are comparing but I cannot find an ARM64 container in [docker hub](https://hub.docker.com/r/pytorch/pytorch/tags).

Oh I am using the one here [Docker](https://hub.docker.com/r/mlupin/docker-lambda)

---

<div class="post-metadata">

**Author:** ![ptrblck](https://discuss.pytorch.org/user_avatar/discuss.pytorch.org/ptrblck/32/1823_2.png) [@ptrblck](https://discuss.pytorch.org/u/ptrblck)\
**Post date:** [March 10, 2022, 7:58am UTC](https://discuss.pytorch.org/t/pytorch-arm64-size/145883/4 "2022-03-10T07:58:50Z")

</div>

Ah OK. I don’t know how these images are built.
