最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Unable to install pytorch on Gen 2 cloud function via terraform - Stack Overflow

programmeradmin5浏览0评论

I am unable to install pytorch through wheel file on Gen 2 cloud function via terraform.

Python version : 3.12 Platform : manylinux2014_x86_64

I tried multiple torch versions, but every time I am getting some or the other error:

Error 1: Although this version wheel is in the folder

ERROR: Could not find a version that satisfies the requirement torch==2.5.1 (from versions: none) ERROR: No matching distribution found for torch==2.5.1.

Error 2:

Error: Plugin did not respond │ with google_storage_bucket_object.mpp_function_source_2, on main.tf line 7, in resource "google_storage_bucket_object" "mpp_function_source_2": 7: resource "google_storage_bucket_object" "mpp_function_source_2" { │ The plugin encountered an error, and failed to respond to the plugin.(*GRPCProvider).PlanResourceChange call. The plugin logs may contain more details.

Also I want this to run on run, still its asking me to install nvidia library, I tried that too then also its not working.

I am not able to understand what's the issue nor I am finding any solution online.

I tried:

  1. Multiple versions of torch.
  2. Tried different version of python.
  3. Tried installing nvidia dependencies.

Do I need to create docker img for this? I have not tried that.

发布评论

评论列表(0)

  1. 暂无评论