Skip to content

Minimal example not working in colabΒ #859

@FilippoBoni1921

Description

@FilippoBoni1921

Description of the bug:

Here there is the code

!pip install -r https://raw.githubusercontent.com/google-ai-edge/ai-edge-torch/main/requirements.txt
!pip install ai-edge-torch-nightly
import numpy as np
import ai_edge_torch
import torch
import torchvision

Error:

---------------------------------------------------------------------------
NotFoundError                             Traceback (most recent call last)
[/tmp/ipython-input-2940186061.py](https://localhost:8080/#) in <cell line: 0>()
      1 import numpy as np
----> 2 import ai_edge_torch
      3 import torch
      4 import torchvision

4 frames
[/usr/local/lib/python3.12/dist-packages/tensorflow/python/framework/load_library.py](https://localhost:8080/#) in load_library(library_location)
    149 
    150     for lib in kernel_libraries:
--> 151       py_tf.TF_LoadLibrary(lib)
    152 
    153   else:

NotFoundError: /usr/local/lib/python3.12/dist-packages/tensorflow/core/kernels/libtfkernel_sobol_op.so: undefined symbol: _ZN10tensorflow15TensorShapeBaseINS_11TensorShapeEEC2EN4absl12lts_202308024SpanIKlEE

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions