loretoparisi / fasttext.js

FastText for Node.js
MIT License
192 stars 28 forks source link

I cannot run this project on apple M1 silicon #29

Closed QEASONT closed 2 years ago

QEASONT commented 2 years ago

This is Train.js

Fe58Nh

This is 100_normal_stemming_train.tsv

LxVMbZ

This is the running result

Jyk2Ii

When I try to test the dataset with the model 100_normal_stemming.bin training by fasttext python package, it shows as blow

rhqjKi

loretoparisi commented 2 years ago

@QEASONT good catch, I will compile against apple silicon. It should work on all Mx series.

QEASONT commented 2 years ago

Thx!!!!

loretoparisi commented 2 years ago

@QEASONT could you please run the following nodejs code snippet

const os = require('os')
let cpuCore = os.cpus()
let isIntel = cpuCore[0].model.includes("Intel")
let isM1 = cpuCore[0].model.includes("Apple")
console.log(isIntel, isM1)

to confirm your cpu architecture. Thank you! The build is coming.

loretoparisi commented 2 years ago

Support of Apple M1 and M1 Pro is now avaiable .