facebookresearch / nougat

Implementation of Nougat Neural Optical Understanding for Academic Documents
https://facebookresearch.github.io/nougat/
MIT License
8.81k stars 561 forks source link

PDF prediction / conversion does not work on Intel CPU Mac #106

Open monopoly-db opened 1 year ago

monopoly-db commented 1 year ago

This command just emits an empty mmd file on a Intel Mac running nougat on CPU: PYTORCH_MPS_HIGH_WATERMARK_RATIO=0.0 PYTORCH_ENABLE_MPS_FALLBACK=1 nougat -m 0.1.0-small -o out --recompute Word2Vec.pdf

[MISSING_PAGE_EMPTY:1]

[MISSING_PAGE_EMPTY:2]

[MISSING_PAGE_EMPTY:3]

[MISSING_PAGE_EMPTY:4]

[MISSING_PAGE_EMPTY:5]

[MISSING_PAGE_EMPTY:6]

[MISSING_PAGE_EMPTY:7]

[MISSING_PAGE_EMPTY:8]

[MISSING_PAGE_EMPTY:9]

[MISSING_PAGE_EMPTY:10]

[MISSING_PAGE_EMPTY:11]

[MISSING_PAGE_EMPTY:12]

[MISSING_PAGE_EMPTY:13]

Model Name: MacBook Pro Model Identifier: MacBookPro16,1 Processor Name: 8-Core Intel Core i9 Processor Speed: 2.3 GHz Number of Processors: 1 Total Number of Cores: 8 L2 Cache (per Core): 256 KB L3 Cache: 16 MB Hyper-Threading Technology: Enabled Memory: 16 GB System Firmware Version: 1968.140.7.0.0 (iBridge: 20.16.6072.0.0,0) OS Loader Version: 540.120.3~22

MacOS Monterey

lukas-blecher commented 1 year ago

Does it work with adding the --no-skipping flag?

monopoly-db commented 11 months ago

No change. I get the same results.

Stardust-y commented 11 months ago

same problem, mine is Apple M1 Pro