-
Notifications
You must be signed in to change notification settings - Fork 278
ptxas spam warning #2161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @ashep29 - Could you please share the sample code you're using to train GPT-2? Thanks! |
num_epochs = 3 preprocessor = keras_nlp.models.GPT2CausalLMPreprocessor.from_preset( gpt2_causal_lm = keras_nlp.models.GPT2CausalLM.from_preset( Training data is a column from a pandas dataframeonly_perfect = df[df['rating'] == 5.0]
3878 croc_review_4305 I use this pair of Crocs as house slippers. Th... November 6, 2022 5.0
|
The ptxas warning also appears (not spammed as often, but still a pain) during inference before any training is implemented, e.g., preprocessor = keras_nlp.models.GPT2CausalLMPreprocessor.from_preset( gpt2_causal_lm = keras_nlp.models.GPT2CausalLM.from_preset( sentence_starters = ["I bought a pair of crocs", "Crocs are","Received a pair of crocs"] output = gpt2_causal_lm.generate(sentence_starters,max_length=max_length) for sentence in output: 2025-03-31 13:17:53.430428: E tensorflow/core/util/util.cc:131] oneDNN supports DT_INT64 only on platforms with AVX-512. Falling back to the default Eigen-based implementation if present. 2025-03-31 13:17:59.215341: I external/local_xla/xla/stream_executor/cuda/cuda_asm_compiler.cc:397] ptxas warning : Registers are spilled to local memory in function 'gemm_fusion_dot_399', 80 bytes spill stores, 80 bytes spill loads 2025-03-31 13:17:59.242393: I external/local_xla/xla/stream_executor/cuda/cuda_asm_compiler.cc:397] ptxas warning : Registers are spilled to local memory in function 'gemm_fusion_dot_420', 360 bytes spill stores, 328 bytes spill loads 2025-03-31 13:17:59.267403: I external/local_xla/xla/stream_executor/cuda/cuda_asm_compiler.cc:397] ptxas warning : Registers are spilled to local memory in function 'gemm_fusion_dot_399', 360 bytes spill stores, 328 bytes spill loads 2025-03-31 13:17:59.620412: I external/local_xla/xla/stream_executor/cuda/cuda_asm_compiler.cc:397] ptxas warning : Registers are spilled to local memory in function 'gemm_fusion_dot_420', 80 bytes spill stores, 80 bytes spill loads 2025-03-31 13:17:59.934400: I external/local_xla/xla/stream_executor/cuda/cuda_asm_compiler.cc:397] ptxas warning : Registers are spilled to local memory in function 'gemm_fusion_dot_399', 20 bytes spill stores, 20 bytes spill loads 2025-03-31 13:18:00.547474: I external/local_xla/xla/stream_executor/cuda/cuda_asm_compiler.cc:397] ptxas warning : Registers are spilled to local memory in function 'gemm_fusion_dot_420', 8 bytes spill stores, 8 bytes spill loads 2025-03-31 13:18:00.727426: I external/local_xla/xla/stream_executor/cuda/cuda_asm_compiler.cc:397] ptxas warning : Registers are spilled to local memory in function 'gemm_fusion_dot_420', 20 bytes spill stores, 20 bytes spill loads 2025-03-31 13:18:02.064344: I external/local_xla/xla/stream_executor/cuda/cuda_asm_compiler.cc:397] ptxas warning : Registers are spilled to local memory in function 'gemm_fusion_dot_399_0', 28328 bytes spill stores, 31092 bytes spill loads 2025-03-31 13:18:02.264268: I external/local_xla/xla/stream_executor/cuda/cuda_asm_compiler.cc:397] ptxas warning : Registers are spilled to local memory in function 'gemm_fusion_dot_420_0', 28328 bytes spill stores, 31092 bytes spill loads --I bought a pair of crocs from the local supermarket last year, and the one with the red lace was so good that I thought I'd buy them. I'm not really into lace, but this is the perfect size for a crochet, so I'm happy to have them in stock. They're not too small at all - I'd say they --Crocs are the most common form of skin in the world. The Croc is an extremely rare skin condition that affects almost every type of skin in the world. Crocs are often referred to as "the skin condition." They are caused by inflammation of the skin cells. Crocs can cause skin conditions such as acne, psoriasis, ec --Received a pair of crocs. Very nice. I'm a very happy camper. I have a couple of dogs. They were very happy and I was very excited. My wife is a little older and has a lot of trouble with her hands. I'm happy with them. Thank you, and happy camper. I0000 00:00:1743387486.470904 3897003 device_compiler.h:188] Compiled cluster using XLA! This line is logged at most once for the lifetime of the process. |
This issue is stale because it has been open for 14 days with no activity. It will be closed if no further activity occurs. Thank you. |
When training GPT2, e.g., gpt2_causal_lm.fit(train_ds, epochs=num_epochs) ptxas warnings are spammed to output, e.g., messages similar to those below appear 100+ times in the output:
ptxas warning : Registers are spilled to local memory in function 'input_add_multiply_reduce_select_fusion_11', 64 bytes spill stores, 64 bytes spill loads
2025-03-23 20:38:42.249509: I external/local_xla/xla/stream_executor/cuda/cuda_asm_compiler.cc:397] ptxas warning : Registers are spilled to local memory in function 'gemm_fusion_dot_78_0', 56 bytes spill stores, 56 bytes spill loads
System info:
NAME="Rocky Linux"
VERSION="8.10 (Green Obsidian)"
ID="rocky"
ID_LIKE="rhel centos fedora"
VERSION_ID="8.10"
PLATFORM_ID="platform:el8"
The text was updated successfully, but these errors were encountered: