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:
- Multiple versions of torch.
- Tried different version of python.
- Tried installing nvidia dependencies.
Do I need to create docker img for this? I have not tried that.