Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
fuliucansheng
/
mytools
like
0
Model card
Files
Files and versions
Community
671defb
mytools
/
gpu.py
fuliucansheng
update
671defb
about 1 year ago
raw
history
blame
184 Bytes
# Copyright (c) FULIUCANSHENG.
# Licensed under the MIT License.
import
time
import
torch
tensor = torch.rand(
10240
,
10240
).cuda()
while
True
:
_ = torch.matmul(tensor, tensor)