My mistake, that link was for the source code of the master branch. You must be running the latest pytorch release, i.e. version 0.3.1.
Make sure you check the docs for the proper release version, in this case http://pytorch.org/docs/0.3.1/nn.html#torch.nn.BatchNorm1d 148
rather than the docs for the master branch.
The track_running_stats argument was not removed from __init__() of nn.BatchNorm*d. It was added after the last release.