learning how CUDA works
-
custom op [Done]
-
memory & reduction [Done]
-
Gemm [Done]
-
Transformer [Done]
-
CUDA mode lectures [WIP]
learning how CUDA works
learning how CUDA works
custom op [Done]
memory & reduction [Done]
Gemm [Done]
Transformer [Done]
CUDA mode lectures [WIP]
导致make train_gpt2cu编译失败
softmax_forward_kernel2我本地运行为什么精度不对呀
是因为分段求和导致的嘛?
将这一行改为double还是不行
Using kernel 2
Largest output is: 1.000000
Checking block size 32.
0.000006 0.000006
0.000009 0.000009
0.000021 0.000021
0.000007 0.000007
0.000010 0.000010
Mismatch of out at 82072: CPU_ref: 0.758795 vs GPU: 0.758635
Mismatch of out at 102789: CPU_ref: 0.997274 vs GPU: 0.996691
Mismatch of out at 254777: CPU_ref: 0.999091 vs GPU: 0.998002
Mismatch of out at 520595: CPU_ref: 0.999906 vs GPU: 0.999745
Mismatch of out at 565770: CPU_ref: 0.998760 vs GPU: 0.998198
Mismatch of out at 655980: CPU_ref: 0.998224 vs GPU: 0.997693
Mismatch of out at 969710: CPU_ref: 0.989513 vs GPU: 0.989766
Mismatch of out at 1086046: CPU_ref: 0.989720 vs GPU: 0.989867
Mismatch of out at 1112891: CPU_ref: 0.999857 vs GPU: 0.999680
Mismatch of out at 1256552: CPU_ref: 0.999830 vs GPU: 0.999130
Process finished with exit code 1
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2022 NVIDIA Corporation
Built on Tue_May__3_19:00:59_Pacific_Daylight_Time_2022
Cuda compilation tools, release 11.7, V11.7.64
Build cuda_11.7.r11.7/compiler.31294372_0
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.