Skip to content

Commit

Permalink
#0: TG Llama3-70b - fix frequent tests (#13322)
Browse files Browse the repository at this point in the history
  • Loading branch information
djordje-tt authored Oct 1, 2024
1 parent 976906b commit 064f80b
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
from models.demos.tg.llama3_70b.tt.llama_decoder_galaxy import TtLlamaDecoder_galaxy
from models.demos.t3000.llama2_70b.reference.llama.llama.model import precompute_freqs_cis
from models.utility_functions import skip_for_grayskull
from models.demos.tg.llama3_70b.tt.llama_common import setup_llama_env
from models.demos.t3000.llama2_70b.tt.llama_common import (
setup_llama_env,
check_mesh_device,
extract_pcc_from_log,
generate_rot_emb,
Expand Down
6 changes: 2 additions & 4 deletions models/demos/tg/llama3_70b/tests/test_llama_demo_nightly.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,8 @@
import pytest
from loguru import logger
from models.utility_functions import skip_for_grayskull
from models.demos.t3000.llama2_70b.tt.llama_common import (
setup_llama_env,
check_mesh_device,
)
from models.demos.t3000.llama2_70b.tt.llama_common import check_mesh_device
from models.demos.tg.llama3_70b.tt.llama_common import setup_llama_env
from models.demos.tg.llama3_70b.demo.demo import run_demo, construct_arg


Expand Down
2 changes: 1 addition & 1 deletion models/demos/tg/llama3_70b/tests/test_llama_mlp_galaxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
from models.demos.t3000.llama2_70b.reference.llama.llama import Llama
from models.demos.tg.llama3_70b.tt.llama_mlp_galaxy import TtLlamaMLP_galaxy
from models.utility_functions import skip_for_grayskull
from models.demos.tg.llama3_70b.tt.llama_common import setup_llama_env
from models.demos.t3000.llama2_70b.tt.llama_common import (
setup_llama_env,
check_mesh_device,
MAX_SEQ_LEN,
BASE_URL,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
import pytest

from models.utility_functions import skip_for_grayskull
from models.demos.t3000.llama2_70b.tt.llama_common import setup_llama_env, check_mesh_device
from models.demos.tg.llama3_70b.tt.llama_common import setup_llama_env
from models.demos.t3000.llama2_70b.tt.llama_common import check_mesh_device
from models.demos.tg.llama3_70b.tests.test_llama_model_galaxy import run_test_LlamaModel_inference


Expand Down
2 changes: 1 addition & 1 deletion models/demos/tg/llama3_70b/tests/test_llama_perf.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

from models.demos.t3000.llama2_70b.reference.llama.llama import Llama
from models.demos.tg.llama3_70b.tt.llama_model_galaxy import TtLlamaModel_galaxy
from models.demos.tg.llama3_70b.tt.llama_common import setup_llama_env
from models.demos.t3000.llama2_70b.tt.llama_common import (
setup_llama_env,
check_mesh_device,
BASE_URL,
should_skip_model_load,
Expand Down

0 comments on commit 064f80b

Please sign in to comment.