bharatcoder commited on
Commit
791043c
·
verified ·
1 Parent(s): bdbbc50

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -56,8 +56,8 @@ def zeroGPU_test(text):
56
  #B = torch.tensor([[5, 6], [7, 8]])
57
 
58
  # Define large matrices
59
- A = torch.rand(10000, 10000) # Random 10000x10000 matrix
60
- B = torch.rand(10000, 10000)
61
 
62
  # Start the timer
63
  start_time = time.time()
 
56
  #B = torch.tensor([[5, 6], [7, 8]])
57
 
58
  # Define large matrices
59
+ A = torch.rand(10000, 10000).to('cuda') # Random 10000x10000 matrix
60
+ B = torch.rand(10000, 10000).to('cuda')
61
 
62
  # Start the timer
63
  start_time = time.time()