You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I started with a Docker image that had conda, cuda and pytorch preinstalled. I had to downgrade the pytorch version, so it might be faster to just start with an Anaconda-only Docker image. I also had to make one small change to the benchmark script.
If you don't downgrade pytorch, there seem to be some problems with the latest version:
# python benchmark.py --max-entry 1000 --eps 100 | tee results-1000-approx.jl
Traceback (most recent call last):
File "benchmark.py", line 57, in <module>
auc_cpu_score, auc_cpu_ass, _ = auction_lap(Xt_cpu, eps=None) # Score is accurate to within n * eps
File "/mnt/auction-lap/auction_lap.py", line 54, in auction_lap
src=bid_increments.view(-1, 1)
RuntimeError: dimension out of range (expected to be in range of [-1, 0], but got 1)
I think this bug can be fixed by changing this line to unassigned = (curr_ass == -1).nonzero().squeeze(dim=1) (i.e., adding dim=1).
The text was updated successfully, but these errors were encountered:
I started with a Docker image that had conda, cuda and pytorch preinstalled. I had to downgrade the pytorch version, so it might be faster to just start with an Anaconda-only Docker image. I also had to make one small change to the benchmark script.
If you don't downgrade pytorch, there seem to be some problems with the latest version:
I think this bug can be fixed by changing this line to
unassigned = (curr_ass == -1).nonzero().squeeze(dim=1)
(i.e., addingdim=1
).The text was updated successfully, but these errors were encountered: