AppleSwing
commited on
Commit
•
c7bf25a
1
Parent(s):
1d82340
Delete redundant vars
Browse files
src/backend/hflm_with_measurement.py
CHANGED
@@ -74,7 +74,6 @@ class HFLMWithMeasurement(HFLM):
|
|
74 |
self.pretrained = kwargs.get("pretrained", None)
|
75 |
self.revision = kwargs.get("revision", None)
|
76 |
self.precision = kwargs.get("dtype", None)
|
77 |
-
self.total_flops = 0
|
78 |
|
79 |
def _loglikelihood_tokens(
|
80 |
self,
|
|
|
74 |
self.pretrained = kwargs.get("pretrained", None)
|
75 |
self.revision = kwargs.get("revision", None)
|
76 |
self.precision = kwargs.get("dtype", None)
|
|
|
77 |
|
78 |
def _loglikelihood_tokens(
|
79 |
self,
|