Stas Bekman

Results 664 comments of Stas Bekman

You don't need to force push to rebase, here is a tool I wrote that I use everywhere to re-base https://github.com/stas00/git-tools/tree/master/git-rebase And now anybody with a previous clone has to...

basically my local clone is completely broken right now after these force pushes. I'm just going to make a new clone.

I'm not sure how to proceed - you wiped out all the editorial work that has been done so far, deleting all the fixes :( **edit**: not all, but only...

what @ydshieh said and more: to track **real** memory usage / debug potential leaks always: 1. call `gc.collect()` first - since python's GC is scheduled and w/o it you might...

How can I tell `apex` to use `cuda-11.0`? I have both `cuda-11.0` and `cuda-11.1` installed and it fails to build as it doesn't find `cuda-11.0`: ``` Compiling cuda extensions with...

Awesome! ``` CUDA_HOME=/usr/local/cuda-11.0 pip install -v --no-cache-dir --global-option="--cpp_ext" --global-option="--cuda_ext" ./ ``` but no luck building it: ``` cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for...

> Alternatively, since only the minor version differs, you could also try to disable the minor version check (you should get an error with a link to more information in...

I'm pretty sure you need cuda-11.1 for that - I built `apex` with it despite pytorch using cudatoolkit-11.0. Once you have cuda-11.1 installed, follow the notes in https://github.com/NVIDIA/apex/issues/988#issuecomment-726343453

I added a proper solution here: https://github.com/NVIDIA/apex/pull/997

@zhenhao-huang: 1. Install cuda-11.1 system-wide 2. Use this branch https://github.com/NVIDIA/apex/pull/997 3. add: `--global-option="--skip-minor-ver-check"` to the `pip install apex` command in that branch