wzhai

Results 3 issues of wzhai

在创建了 `Linear` 类以后,第一次实例化这个类的时候 `linear = Linear(units=8)`,系统报错。反复与原始代码比较,没发现不同的地方。 ``` class Linear(layers.Layer): def __init__(self, units=32, **kwargs): super(Linear, self).__init__(**kwargs) self.units = units def build(self, input_shape): self.w = self.add_weight('w', shape=(input_shape[-1], self.units), initializer='random_normal', trainable=True) self.b =...

请帮忙看一下,非常感谢! 脚本: ``` PYTHONPATH=../../.. \ CUDA_VISIBLE_DEVICES=1,2,3,4 \ torchrun \ --nproc_per_node=4 \ --master_port 29500 \ llm_sft.py \ --model_revision master \ --tuner_backend swift \ --template_type llama \ --dtype fp16 \ --output_dir output...

bug

### Bug Description ``` --------------------------------------------------------------------------- ValueError Traceback (most recent call last) Cell In[32], [line 3](vscode-notebook-cell:?execution_count=32&line=3) [1](vscode-notebook-cell:?execution_count=32&line=1) query_engine = index.as_query_engine(similarity_top_k=3) ----> [3](vscode-notebook-cell:?execution_count=32&line=3) response = query_engine.query('What year was Elizabeth Matory the opponent...

bug
triage