Skip to content

Comments

Pass device to pipeline and fix regexp warnings#2

Open
koolkhel wants to merge 2 commits intoDen4ikAI:mainfrom
koolkhel:main
Open

Pass device to pipeline and fix regexp warnings#2
koolkhel wants to merge 2 commits intoDen4ikAI:mainfrom
koolkhel:main

Conversation

@koolkhel
Copy link

Теперь работает с XPU (Intel ARC 770m) с правильным pyTorch, для которого нужно пробрасывать device=xpu. Плюс починил ворнинги питона:

/data/speech/venv/lib/python3.12/site-packages/runorm/runorm.py:24: SyntaxWarning: invalid escape sequence '\['
  self.re_normalization = re.compile(r"[^a-zA-Z0-9\sа-яА-ЯёЁ.,!?:;""''(){}\[\]«»„“”-]")
/data/speech/venv/lib/python3.12/site-packages/runorm/runorm.py:110: SyntaxWarning: invalid escape sequence '\d'
  if not re.search("[a-zA-Z\d]", token):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant