Skip to content

Commit

Permalink
Disable require for CUDA-related libraries in “test.lua”.
Browse files Browse the repository at this point in the history
These are already loaded conditionally, if we are using GPU, i.e. running with `-gpu N` for N > 0.
  • Loading branch information
Jan Weiß committed Jan 29, 2018
1 parent 822eba5 commit a14140c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test.lua
Expand Up @@ -7,8 +7,6 @@

require 'torch'
require 'nn'
require 'cunn'
require 'cudnn'

local tnt = require 'torchnet'
local xlua = require 'xlua'
Expand Down

0 comments on commit a14140c

Please sign in to comment.