Skip to content

Commit 3266618

Browse files
committed
g
1 parent 2c647df commit 3266618

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ jobs:
8080
run: |
8181
export PYTHONPATH=.
8282
python _doc/examples/plot_export_tiny_llm.py
83+
continue-on-error: true
8384

8485
- name: tiny-llm bypass
8586
run: |

_unittests/ut_torch_models/test_hghub_model.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,15 @@ def test_get_untrained_model_with_inputs_beit(self):
8181
# different expected value for different version of transformers
8282
self.assertIn((data["size"], data["n_weights"]), [(111448, 27862)])
8383

84+
@hide_stdout()
85+
def test_get_untrained_model_with_inputs_codellama(self):
86+
mid = "codellama/CodeLlama-7b-Python-hf"
87+
data = get_untrained_model_with_inputs(mid, verbose=1)
88+
model, inputs = data["model"], data["inputs"]
89+
model(**inputs)
90+
# different expected value for different version of transformers
91+
self.assertIn((data["size"], data["n_weights"]), [(410532864, 102633216)])
92+
8493
@hide_stdout()
8594
@long_test()
8695
def test_get_untrained_model_Ltesting_models(self):

0 commit comments

Comments
 (0)