Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
xyang16 committed Jul 12, 2024
1 parent 2d67b04 commit 9f29e98
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,10 @@ private static Path copyJniLibrary(String[] libs) {
if (override) {
logger.info("Uses override TOKENIZERS_FLAVOR: {}", flavor);
} else {
flavor = platform.getFlavor();
if (Utils.isOfflineMode() || "win".equals(os)) {
flavor = "cpu";
} else {
flavor = platform.getFlavor();
}
}

Expand Down

0 comments on commit 9f29e98

Please sign in to comment.