Wrap models import with ROCm amdgpu ids fd2 filter (#4057)
Co-authored-by: Daniel Hanchen <danielhanchen@users.noreply.github.com>
This commit is contained in:
parent
191cbe55ee
commit
842099f2b0
1 changed files with 4 additions and 2 deletions
|
|
@ -305,8 +305,10 @@ elif DEVICE_TYPE == "xpu":
|
|||
# TODO: check triton for intel installed properly.
|
||||
pass
|
||||
|
||||
from .models import *
|
||||
from .models import __version__
|
||||
# Filter native fd=2 amdgpu.ids noise during model import startup.
|
||||
with _filter_rocm_amdgpu_ids_fd2_noise():
|
||||
from .models import *
|
||||
from .models import __version__
|
||||
from .save import *
|
||||
from .chat_templates import *
|
||||
from .tokenizer_utils import *
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue