Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

434
Visualizações
Google Cloud Function Gen 1 Deployment Failure

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?

over 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

I still do not know the reason why installing pytorch on redeploy fails, but this is how I got Google Cloud Function to consistently redeploy without fail. I directly input the specific version of PyTorch link: linux, cpu-based, version.

  1. Go to the latest versions of PyTorch: PyTorch Latest Releases.
  2. Search for the desired version (currently, the latest is 1.10.2). I chose torch-1.10.2%2Bcpu-cp39-cp39-linux_x86_64.whl.
  3. Copy link and paste in requirements.txt by replacing torch==1.10.2.

If anybody knows why Google Cloud Function Gen 1 rejects redeployment with the conventional distribution of torch, feel free to edit.

Hope this saves someone time.

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda