Remove unnecessary imports

This commit is contained in:
Joshua Lochner 2023-05-31 02:06:34 +02:00
parent e3f73cd17d
commit 813b2abe77
2 changed files with 2 additions and 7 deletions

View File

@ -2,11 +2,9 @@
import { AutoConfig, env } from '../src/transformers.js';
import { getFile } from '../src/utils/hub.js';
import { init, m } from './init.js';
import { m } from './init.js';
// Initialise the testing environment
init();
env.allowLocalModels=false;
env.useFSCache=false;

View File

@ -2,10 +2,7 @@
import { AutoTokenizer } from '../src/transformers.js';
import { getFile } from '../src/utils/hub.js';
import { init, m } from './init.js';
// Initialise the testing environment
init();
import { m } from './init.js';
// Load test data generated by the python tests
// TODO do this dynamically?