Import Error

Hi,

I clone the PyTorch Quickstart_Tutorial from Github and I run into this error messages

#from habana_frameworks.torch.utils.library_loader import load_habana_module
#load_habana_module()
import habana_frameworks.torch.core as htcore

ImportError Traceback (most recent call last)
in
1 #from habana_frameworks.torch.utils.library_loader import load_habana_module
2 #load_habana_module()
----> 3 import habana_frameworks.torch.core as htcore

~/.local/lib/python3.8/site-packages/habana_frameworks/torch/init.py in
----> 1 import habana_frameworks.torch.core
2 import habana_frameworks.torch.distributed.hccl
3 import habana_frameworks.torch.hpu

~/.local/lib/python3.8/site-packages/habana_frameworks/torch/core/init.py in
1 import torch
2 import warnings
----> 3 from .step_closure import *
4 from collections import deque
5 from functools import wraps

~/.local/lib/python3.8/site-packages/habana_frameworks/torch/core/step_closure.py in
1 import threading
2 import torch
----> 3 import habana_frameworks.torch._core_C as htcore
4
5 _DEVICE_CONTEXTS = dict()

ImportError: /home/smgailab/.local/lib/python3.8/site-packages/habana_frameworks/torch/lib/libpytorch_synapse_helpers.so: undefined symbol: synDestroyTensor

Am I missing something?

Thanks.

hi, you just need
import habana_frameworks.torch.core as htcore
​see below for details. Getting Started with PyTorch and Gaudi — Gaudi Documentation
Thanks.