Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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)
|
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()
|