「Macにxformersをインストールする」を編集中
ナビゲーションに移動
検索に移動
この編集を取り消せます。 下記の差分を確認して、本当に取り消していいか検証してください。よろしければ変更を保存して取り消しを完了してください。
最新版 | 編集中の文章 | ||
11行目: | 11行目: | ||
clang: error: unsupported option '-fopenmp' | clang: error: unsupported option '-fopenmp' | ||
</source> | </source> | ||
− | + | [[mac]]の[[clang]]は[[openmp]]をサポートしていないらしい。 | |
+ | [[ググる]]と「homebrewのgccを使え」とのこと。 | ||
== 解決 == | == 解決 == | ||
− | |||
− | |||
− | |||
<source lang="sh"> | <source lang="sh"> | ||
# homebrewでgccをインストールする | # homebrewでgccをインストールする | ||
32行目: | 30行目: | ||
Successfully installed numpy-1.26.4 xformers-0.0.25.post1 | Successfully installed numpy-1.26.4 xformers-0.0.25.post1 | ||
</source> | </source> | ||
− | |||
− | |||
[[category: macOS]] | [[category: macOS]] | ||
[[category: Python]] | [[category: Python]] | ||
[[category: 人工知能]] | [[category: 人工知能]] |