This is mostly for the community, because it took me quite a while to figure out.
I have a python 3.9 environment stateless Google Cloud Function using pytorch. The initial deployment and function creation has no errors/issues. Requirements.txt looks like this:
torch==1.10.2
However, when I edit even the smallest, innocuous change and save, the deployment fails with the error:
Build failed:
Collecting torch==1.10.2; Error ID: c84b3231
How do you redeploy with pytorch?