fix
This commit is contained in:
@@ -1 +1,5 @@
|
|||||||
"""Benchmark helpers."""
|
"""Benchmark helpers."""
|
||||||
|
|
||||||
|
from .deepseek_v3_moe import DTYPE_MAP, benchmark_deepseek_v3
|
||||||
|
|
||||||
|
__all__ = ["benchmark_deepseek_v3", "DTYPE_MAP"]
|
||||||
|
|||||||
@@ -6,9 +6,15 @@ from __future__ import annotations
|
|||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import csv
|
import csv
|
||||||
|
import sys
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from types import SimpleNamespace
|
from types import SimpleNamespace
|
||||||
|
|
||||||
|
CURRENT_DIR = Path(__file__).resolve().parent
|
||||||
|
PACKAGE_ROOT = CURRENT_DIR.parent
|
||||||
|
if str(PACKAGE_ROOT) not in sys.path:
|
||||||
|
sys.path.insert(0, str(PACKAGE_ROOT))
|
||||||
|
|
||||||
from scripts.benchmarks.deepseek_v3_moe import (
|
from scripts.benchmarks.deepseek_v3_moe import (
|
||||||
DTYPE_MAP,
|
DTYPE_MAP,
|
||||||
benchmark_deepseek_v3,
|
benchmark_deepseek_v3,
|
||||||
|
|||||||
Reference in New Issue
Block a user