SKTBrain / KoBERT

Korean BERT pre-trained cased (KoBERT)
Apache License 2.0
1.28k stars 372 forks source link

[BUG] onnxruntime error #101

Closed yundaehyuck closed 1 year ago

yundaehyuck commented 1 year ago

๐Ÿ› Bug

ํ˜„์žฌ(2023/04/28, ์˜คํ›„ 12:42๊ฒฝ) colab์—์„œ

!pip install git+https://git@github.com/SKTBrain/KoBERT.git@master

์ˆ˜ํ–‰ํ• ์‹œ onnxruntime ๋ฒ„์ „์ด ์•ˆ๋งž๋‹ค๋ฉฐ ์—๋Ÿฌ๊ฐ€ ๋‚ฉ๋‹ˆ๋‹ค

To Reproduce

๋ฒ„๊ทธ๋ฅผ ์žฌํ˜„ํ•˜๊ธฐ ์œ„ํ•œ ์žฌํ˜„์ ˆ์ฐจ๋ฅผ ์ž‘์„ฑํ•ด์ฃผ์„ธ์š”.

  1. -
  2. -
  3. -

Expected behavior

Environment

Additional context

ERROR: Could not find a version that satisfies the requirement onnxruntime<=1.8.0,==1.8.0 (from kobert) (from versions: 1.12.0, 1.12.1, 1.13.1, 1.14.0, 1.14.1) ERROR: No matching distribution found for onnxruntime<=1.8.0,==1.8.0

Allgot commented 1 year ago

์ €๋„ ๊ฐ™์€ ๋ฌธ์ œ๋ฅผ ๊ฒช๊ณ  ์žˆ๋Š”๋ฐ, ์ œ๊ฐ€ ํŒŒ์•…ํ•œ ๋ฐ”๋กœ๋Š” colab ์—…๋ฐ์ดํŠธ๋กœ ์ธํ•œ ํ˜ธํ™˜์„ฑ ์˜ค๋ฅ˜๋กœ ๋ณด์ž…๋‹ˆ๋‹ค.

22์‹œ๊ฐ„ ์ „์— colab์˜ python ๋ฒ„์ „์ด 3.10๋กœ ์˜ฌ๋ผ๊ฐ”๋Š”๋ฐ, ์ด 3.10 ๋ฒ„์ „๋ถ€ํ„ฐ koBERT๊ฐ€ ์š”๊ตฌํ•˜๋Š” onnxruntime์˜ ๋ฒ„์ „์„ ๋”์ด์ƒ ์ง€์›ํ•˜์ง€ ์•Š๋Š” ๊ฒƒ์ด ์›์ธ์ž…๋‹ˆ๋‹ค.

colab์˜ python ๋ฒ„์ „์„ ๋‚ฎ์ถ”์‹œ๊ฑฐ๋‚˜ koBERT๋ฅผ ์กฐ๊ธˆ ์ˆ˜์ •ํ•˜์—ฌ ์ตœ์‹ ์˜ onnxruntime ๋ฒ„์ „๊ณผ ํ˜ธํ™˜๋˜๊ฒŒ ๋งŒ๋“œ์…”์•ผ ํ•  ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค.

yundaehyuck commented 1 year ago

๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค ์„ ์ƒ๋‹˜!

grulla79 commented 1 year ago

ํ˜น์‹œ ์งˆ๋ฌธ์ž๋‹˜์ด ํ•ด๊ฒฐํ•˜์…จ๋‹ค๋ฉด ์–ด๋–ป๊ฒŒ ํ•ด๊ฒฐํ•˜์…จ๋Š”์ง€ ์•Œ ์ˆ˜ ์žˆ์„๊นŒ์š”?