Skip to content

Commit

Permalink
Remove unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
xenova committed Dec 14, 2024
1 parent 62e7d7c commit ffa1c27
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { GPT2Tokenizer, VisionEncoderDecoderModel, RawImage, full } from "../../../src/transformers.js";
import { VisionEncoderDecoderModel, full } from "../../../src/transformers.js";

import { MAX_MODEL_LOAD_TIME, MAX_TEST_EXECUTION_TIME, MAX_MODEL_DISPOSE_TIME, DEFAULT_MODEL_OPTIONS } from "../../init.js";

Expand All @@ -8,11 +8,8 @@ export default () => {

/** @type {VisionEncoderDecoderModel} */
let model;
/** @type {GPT2Tokenizer} */
let tokenizer;
beforeAll(async () => {
model = await VisionEncoderDecoderModel.from_pretrained(model_id, DEFAULT_MODEL_OPTIONS);
tokenizer = await GPT2Tokenizer.from_pretrained(model_id);
}, MAX_MODEL_LOAD_TIME);

it(
Expand Down

0 comments on commit ffa1c27

Please sign in to comment.