facebookresearch / dlrm

An implementation of a deep learning recommendation model (DLRM)
MIT License
3.71k stars 825 forks source link

replace uses of numpy.long with int #365

Closed igorsugak closed 10 months ago

igorsugak commented 10 months ago

Summary: numpy.long is long deprecated and removed from numpy-1.24.0.

This replaces all uses with equivalent type int. Using the following oneliner:

fbgr '\bnp\.long\b' -lsf '.*\.py$' | xargs perl -pi -e 's,\bnp\.long\b,int,g'

Reviewed By: florazzz

Differential Revision: D50723330

facebook-github-bot commented 10 months ago

This pull request was exported from Phabricator. Differential Revision: D50723330

facebook-github-bot commented 10 months ago

This pull request was exported from Phabricator. Differential Revision: D50723330