File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change 44import logging
55import shutil
66import glob
7- import site
87from dataclasses import dataclass
98from typing import Optional
109
2019", which may lead to compilation bugs when utilize tilelang backend."
2120TVM_LIBRARY_NOT_FOUND_MESSAGE = ("TVM is not installed or found in the expected path" )
2221
23- SITE_PACKAGES = site .getsitepackages ()
24-
25- TL_LIBS = [os .path .join (i , 'tilelang/lib' ) for i in site .getsitepackages ()]
26- TL_LIBS = [i for i in TL_LIBS if os .path .exists (i )]
27-
2822TL_ROOT = os .path .dirname (os .path .abspath (__file__ ))
23+ TL_LIBS = [os .path .join (i , 'lib' ) for i in [TL_ROOT ]]
24+ TL_LIBS = [i for i in TL_LIBS if os .path .exists (i )]
2925
3026DEV = False
3127THIRD_PARTY_ROOT = os .path .join (TL_ROOT , '3rdparty' )
You can’t perform that action at this time.
0 commit comments