Skip to content

Commit

Permalink
[CI] Adding Gemma 2B to push commit (until transformers package is up…
Browse files Browse the repository at this point in the history
…graded)

(cherry picked from commit 6d917ffcd68e1951fc0c3c5422ee4038e4b50398)
  • Loading branch information
nvukobratTT authored and vmilosevic committed Apr 11, 2024
1 parent fadec8c commit 42d2815
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
5 changes: 2 additions & 3 deletions pybuda/pybuda/python_codegen.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,9 +234,8 @@ def write_forward(self, ops, inputs, outputs):
self.wl(f"{ops[key].output_name} = {ops[key].function_name}({activation_names}{arg_text}){set_src_layer}")
else:
self.wl(f"{ops[key].output_name} = {ops[key].function_name}(\"{ops[key].node_name}\"{activation_names}{arg_text}){set_src_layer}")
if self.delete_inputs:
for name_to_del in ops[key].inputs_to_delete:
self.wl(f"{name_to_del}._value = None")
for name_to_del in ops[key].inputs_to_delete:
self.wl(f"{name_to_del}._value = None")

outputs = list(outputs.values())
if len(outputs) == 1:
Expand Down
3 changes: 0 additions & 3 deletions pybuda/test/test_shapes.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,6 @@
( (32, 1), (1, 1) ),
( (1, 1, 1, 32, 32), (1, 1, 1, 1, 32) ),

# Invalid test case (commenting out), previously doing broadcast on the wrong axis (3th instead of 4th)
# ( (1, 1, 1, 32, 32), (1, 1, 1, 32, 1) ),

# not divisible by 32
( (1, 1, 32, 33), (1, 1, 1, 33) ),
( (1, 1, 33, 32), (1, 1, 33, 1) ),
Expand Down

0 comments on commit 42d2815

Please sign in to comment.