.3106580201476295:7ad9e3f21c8056a8dbd29d341e5d45b0_69f6d5e4de92085ec7833f89.69f6d9e3de92085ec7834093.69f6d9e3fbc5f84623048747:Trae CN.T(2026/5/3 13:15:15)#15
Open
stonelv wants to merge 1 commit intocache-by-dogfooding-r2from
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
请修复tests/test_kerasga_reuse_model.py的TensorFlow导入:当前只import tensorflow.keras但后续用tensorflow.keras...会NameError。改为import tensorflow as tf并把所有tensorflow.keras替换为tf.keras,或显式import tensorflow。同时确保skipif逻辑仍正确:无TF时整文件跳过、有TF时测试可正常运行。若需访问缓存,尽量通过公开clear_model_cache()和预测行为断言,减少直接依赖内部_model_cache。