Hong Xu

Results 375 comments of Hong Xu

One observation I made is that hardcoding this line to be either big endian or small endian doesn't change result: https://github.com/pytorch/pytorch/blob/588c1787ba0b1a7d7f698a326afc22f78aac2d25/torch/csrc/utils/byte_order.cpp#L121 (Model file is saved on x86 with untouched PyTorch....

@driazati I did more experiments and found that `THPStorage_(readFileRaw)` is only called when zip serialization is not used by the model file on disk: https://github.com/pytorch/pytorch/blob/a3bbaf227cc549c49245e310f11788b98eef30ee/torch/csrc/generic/serialization.cpp#L91 I'm not sure where zip...

@IanVS 's method works for me. Should we add this to the doc?

Are we still interested in this change?

I don't think you need to install this plugin for Neovim. However, this plugin is still useful for Vim and is not considered obsolete. After all, this is a "Vim"...

@scy Please check out https://github.com/editorconfig/editorconfig-vim/issues/223#issuecomment-1679561751 . While Vim now includes this plugin, the development still happens in this repo.

You are right, it need to be added to the spec first: spec.editorconfig.org. The plugin is a implementation of the spec for Vim.

Are you seeking to disable for only a selected buffer?