Skip to content

Commit a6f651b

Browse files
authored
change path of examples (intel#814)
1 parent a3d2584 commit a6f651b

File tree

391 files changed

+526
-559
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

391 files changed

+526
-559
lines changed

examples/.config/engine_deploy.json

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"bert_mini_mrpc": {
3-
"working_dir": "deployment/neural_engine/mrpc/bert_mini",
3+
"working_dir": "huggingface/pytorch/text-classification/deployment/mrpc/bert_mini",
44
"data_dir": "/tf_dataset2/datasets/mrpc_data",
55
"hf_model_name": "M-FAC/bert-mini-finetuned-mrpc",
66
"benchmark": {
@@ -18,7 +18,7 @@
1818
}
1919
},
2020
"launcher": {
21-
"cmd": "deployment/neural_engine/launcher.py",
21+
"cmd": "huggingface/pytorch/text-classification/deployment/launcher.py",
2222
"params": {
2323
"max_throughput": {
2424
"mode": "max_throughput",
@@ -32,7 +32,7 @@
3232
}
3333
},
3434
"bert_mini_sst2": {
35-
"working_dir": "deployment/neural_engine/sst2/bert_mini",
35+
"working_dir": "huggingface/pytorch/text-classification/deployment/sst2/bert_mini",
3636
"data_dir": "/tf_dataset2/datasets/sst2_data",
3737
"hf_model_name": "moshew/bert-mini-sst2-distilled",
3838
"benchmark": {
@@ -50,7 +50,7 @@
5050
}
5151
},
5252
"launcher": {
53-
"cmd": "deployment/neural_engine/launcher.py",
53+
"cmd": "huggingface/pytorch/text-classification/deployment/launcher.py",
5454
"params": {
5555
"max_throughput": {
5656
"mode": "max_throughput",
@@ -64,7 +64,7 @@
6464
}
6565
},
6666
"bert_base_mrpc": {
67-
"working_dir": "deployment/neural_engine/mrpc/bert_base",
67+
"working_dir": "huggingface/pytorch/text-classification/deployment/mrpc/bert_base",
6868
"data_dir": "/tf_dataset2/datasets/mrpc_data",
6969
"hf_model_name": "textattack/bert-base-uncased-MRPC",
7070
"benchmark": {
@@ -82,7 +82,7 @@
8282
}
8383
},
8484
"launcher": {
85-
"cmd": "deployment/neural_engine/launcher.py",
85+
"cmd": "huggingface/pytorch/text-classification/deployment/launcher.py",
8686
"params": {
8787
"max_throughput": {
8888
"mode": "max_throughput",
@@ -96,7 +96,7 @@
9696
}
9797
},
9898
"distilbert_base_uncased_emotion": {
99-
"working_dir": "deployment/neural_engine/emotion/distilbert_base_uncased",
99+
"working_dir": "huggingface/pytorch/text-classification/deployment/emotion/distilbert_base_uncased",
100100
"tokenizer_dir": "/tf_dataset2/models/deep-engine/distilbert_base_uncased/test_tokenizer",
101101
"data_dir": "/tf_dataset2/datasets/emotion_data",
102102
"hf_model_name": "bhadresh-savani/distilbert-base-uncased-emotion",
@@ -114,7 +114,7 @@
114114
}
115115
},
116116
"launcher": {
117-
"cmd": "deployment/neural_engine/launcher.py",
117+
"cmd": "huggingface/pytorch/text-classification/deployment/launcher.py",
118118
"params": {
119119
"max_throughput": {
120120
"mode": "max_throughput",
@@ -128,7 +128,7 @@
128128
}
129129
},
130130
"bert_large_squad": {
131-
"working_dir": "deployment/neural_engine/squad/bert_large",
131+
"working_dir": "huggingface/pytorch/question-answering/deployment/squad/bert_large",
132132
"data_dir": "/tf_dataset2/models/deep-engine/bert_large",
133133
"hf_model_name": "bert-large-uncased-whole-word-masking-finetuned-squad",
134134
"benchmark": {
@@ -146,7 +146,7 @@
146146
}
147147
},
148148
"launcher": {
149-
"cmd": "deployment/neural_engine/launcher.py",
149+
"cmd": "huggingface/pytorch/text-classification/deployment/launcher.py",
150150
"params": {
151151
"max_throughput": {
152152
"mode": "max_throughput",
@@ -160,7 +160,7 @@
160160
}
161161
},
162162
"distilbert_base_uncased_sst2": {
163-
"working_dir": "deployment/neural_engine/sst2/distilbert_base_uncased",
163+
"working_dir": "huggingface/pytorch/text-classification/deployment/sst2/distilbert_base_uncased",
164164
"data_dir": "/tf_dataset2/datasets/sst2_data",
165165
"hf_model_name": "distilbert-base-uncased-finetuned-sst-2-english",
166166
"benchmark": {
@@ -178,7 +178,7 @@
178178
}
179179
},
180180
"launcher": {
181-
"cmd": "deployment/neural_engine/launcher.py",
181+
"cmd": "huggingface/pytorch/text-classification/deployment/launcher.py",
182182
"params": {
183183
"max_throughput": {
184184
"mode": "max_throughput",
@@ -192,7 +192,7 @@
192192
}
193193
},
194194
"distilbert_base_uncased_mrpc": {
195-
"working_dir": "deployment/neural_engine/mrpc/distilbert_base_uncased",
195+
"working_dir": "huggingface/pytorch/text-classification/deployment/mrpc/distilbert_base_uncased",
196196
"data_dir": "/tf_dataset2/datasets/mrpc_data",
197197
"hf_model_name": "textattack/distilbert-base-uncased-MRPC",
198198
"benchmark": {
@@ -210,7 +210,7 @@
210210
}
211211
},
212212
"launcher": {
213-
"cmd": "deployment/neural_engine/launcher.py",
213+
"cmd": "huggingface/pytorch/text-classification/deployment/launcher.py",
214214
"params": {
215215
"max_throughput": {
216216
"mode": "max_throughput",
@@ -224,7 +224,7 @@
224224
}
225225
},
226226
"minilm_l6_h384_uncased_sst2": {
227-
"working_dir": "deployment/neural_engine/sst2/minilm_l6_h384_uncased",
227+
"working_dir": "huggingface/pytorch/text-classification/deployment/sst2/minilm_l6_h384_uncased",
228228
"data_dir": "/tf_dataset2/datasets/sst2_data",
229229
"hf_model_name": "philschmid/MiniLM-L6-H384-uncased-sst2",
230230
"benchmark": {
@@ -242,7 +242,7 @@
242242
}
243243
},
244244
"launcher": {
245-
"cmd": "deployment/neural_engine/launcher.py",
245+
"cmd": "huggingface/pytorch/text-classification/deployment/launcher.py",
246246
"params": {
247247
"max_throughput": {
248248
"mode": "max_throughput",
@@ -256,7 +256,7 @@
256256
}
257257
},
258258
"bert_base_cased_mrpc": {
259-
"working_dir": "deployment/neural_engine/mrpc/bert_base_cased",
259+
"working_dir": "huggingface/pytorch/text-classification/deployment/mrpc/bert_base_cased",
260260
"data_dir": "/tf_dataset2/models/deep-engine/bert_base_cased_mrpc/mrpc_data",
261261
"hf_model_name": "bert-base-cased-finetuned-mrpc",
262262
"benchmark": {
@@ -274,7 +274,7 @@
274274
}
275275
},
276276
"launcher": {
277-
"cmd": "deployment/neural_engine/launcher.py",
277+
"cmd": "huggingface/pytorch/text-classification/deployment/launcher.py",
278278
"params": {
279279
"max_throughput": {
280280
"mode": "max_throughput",
@@ -288,7 +288,7 @@
288288
}
289289
},
290290
"roberta_base_mrpc": {
291-
"working_dir": "deployment/neural_engine/mrpc/roberta_base",
291+
"working_dir": "huggingface/pytorch/text-classification/deployment/mrpc/roberta_base",
292292
"data_dir": "/tf_dataset2/models/deep-engine/roberta_base_mrpc/data",
293293
"hf_model_name": "textattack/roberta-base-MRPC",
294294
"benchmark": {
@@ -306,7 +306,7 @@
306306
}
307307
},
308308
"launcher": {
309-
"cmd": "deployment/neural_engine/launcher.py",
309+
"cmd": "huggingface/pytorch/text-classification/deployment/launcher.py",
310310
"params": {
311311
"max_throughput": {
312312
"mode": "max_throughput",
@@ -320,7 +320,7 @@
320320
}
321321
},
322322
"bert_mini_sparse": {
323-
"working_dir": "deployment/neural_engine/sparse/bert_mini",
323+
"working_dir": "huggingface/pytorch/text-classification/deployment/sst2/bert_mini",
324324
"data_dir": "/tf_dataset2/datasets/sst2_data",
325325
"hf_model_name": "Intel/bert-mini-sst2-distilled-sparse-90-1X4-block",
326326
"benchmark": {
@@ -338,7 +338,7 @@
338338
}
339339
},
340340
"launcher": {
341-
"cmd": "deployment/neural_engine/launcher.py",
341+
"cmd": "huggingface/pytorch/text-classification/deployment/launcher.py",
342342
"params": {
343343
"max_throughput": {
344344
"mode": "max_throughput",
@@ -352,7 +352,7 @@
352352
}
353353
},
354354
"distilbert_base_uncased_squad_sparse": {
355-
"working_dir": "deployment/neural_engine/sparse/distilbert_base_uncased",
355+
"working_dir": "huggingface/pytorch/text-classification/deployment/sparse/distilbert_base_uncased",
356356
"data_dir": "/tf_dataset2/models/deep-engine/bert_large",
357357
"hf_model_name": "Intel/distilbert-base-uncased-squadv1.1-sparse-80-1x4-block-pruneofa",
358358
"benchmark": {
@@ -370,7 +370,7 @@
370370
}
371371
},
372372
"launcher": {
373-
"cmd": "deployment/neural_engine/launcher.py",
373+
"cmd": "huggingface/pytorch/text-classification/deployment/launcher.py",
374374
"params": {
375375
"max_throughput": {
376376
"mode": "max_throughput",
@@ -384,7 +384,7 @@
384384
}
385385
},
386386
"length_adaptive_dynamic": {
387-
"working_dir": "deployment/neural_engine/squad/length_adaptive_transformer",
387+
"working_dir": "huggingface/pytorch/question-answering/deployment/squad/length_adaptive_transformer",
388388
"data_dir": "/tf_dataset2/models/deep-engine/bert_large",
389389
"hf_model_name": "sguskin/dynamic-minilmv2-L6-H384-squad1.1",
390390
"benchmark": {
@@ -402,7 +402,7 @@
402402
}
403403
},
404404
"launcher": {
405-
"cmd": "deployment/neural_engine/launcher.py",
405+
"cmd": "huggingface/pytorch/text-classification/deployment/launcher.py",
406406
"params": {
407407
"max_throughput": {
408408
"mode": "max_throughput",
@@ -416,7 +416,7 @@
416416
}
417417
},
418418
"vit_large": {
419-
"working_dir": "deployment/neural_engine/imagenet/vit",
419+
"working_dir": "huggingface/pytorch/image-classification/deployment/imagenet/vit",
420420
"data_dir": "/tf_dataset2/models/nlp_toolkit/vit/cached-2k-imagenet-1k-datasets",
421421
"hf_model_name": "google/vit-large-patch16-224",
422422
"benchmark": {
@@ -432,7 +432,7 @@
432432
}
433433
},
434434
"launcher": {
435-
"cmd": "deployment/neural_engine/launcher.py",
435+
"cmd": "huggingface/pytorch/text-classification/deployment/launcher.py",
436436
"params": {
437437
"max_throughput": {
438438
"mode": "max_throughput",
@@ -446,7 +446,7 @@
446446
}
447447
},
448448
"vit_base": {
449-
"working_dir": "deployment/neural_engine/imagenet/vit",
449+
"working_dir": "huggingface/pytorch/image-classification/deployment/imagenet/vit",
450450
"data_dir": "/tf_dataset2/models/nlp_toolkit/vit/cached-2k-imagenet-1k-datasets",
451451
"hf_model_name": "google/vit-base-patch16-224",
452452
"benchmark": {
@@ -463,7 +463,7 @@
463463
}
464464
},
465465
"launcher": {
466-
"cmd": "deployment/neural_engine/launcher.py",
466+
"cmd": "huggingface/pytorch/text-classification/deployment/launcher.py",
467467
"params": {
468468
"max_throughput": {
469469
"mode": "max_throughput",
@@ -477,7 +477,7 @@
477477
}
478478
},
479479
"stable_diffusion": {
480-
"working_dir": "deployment/neural_engine/stable_diffusion",
480+
"working_dir": "huggingface/pytorch/text-to-image/deployment/stable_diffusion",
481481
"data_dir": " ",
482482
"hf_model_name": "CompVis/stable-diffusion-v1-4",
483483
"prepare": {
@@ -498,13 +498,13 @@
498498
}
499499
},
500500
"gpt-j-6b": {
501-
"working_dir": "deployment/neural_engine/gpt-j",
501+
"working_dir": "huggingface/pytorch/text-generation/deployment/gpt-j",
502502
"data_dir": " ",
503503
"hf_model_name": "EleutherAI/gpt-j-6B",
504504
"prepare": {
505505
"cmd": "python gen_ir.py",
506506
"params": {
507-
"model": "EleutherAI/gpt-j-6B",
507+
"model": "/tf_dataset2/models/pytorch/gpt-j-6B",
508508
"dtype": "fp32/bf16/int8",
509509
"output_model": "ir",
510510
"pt_file": "pt"

examples/.config/ipex_deploy.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"bert_large_squad_ipex": {
3-
"working_dir": "deployment/ipex/squad/bert_large",
3+
"working_dir": "huggingface/pytorch/question-answering/deployment/squad/ipex/bert_large",
44
"data_dir": "/tf_dataset2/models/deep-engine/bert_large",
55
"hf_model_name": "bert-large-uncased-whole-word-masking-finetuned-squad",
66
"benchmark": {
@@ -20,7 +20,7 @@
2020
"launcher":{}
2121
},
2222
"distilbert_base_squad_ipex": {
23-
"working_dir": "deployment/ipex/squad/distilbert_base_uncased",
23+
"working_dir": "huggingface/pytorch/question-answering/deployment/squad/ipex/distilbert_base_uncased",
2424
"data_dir": "/tf_dataset2/models/deep-engine/bert_large",
2525
"hf_model_name": "distilbert-base-uncased-distilled-squad",
2626
"benchmark": {
@@ -40,7 +40,7 @@
4040
"launcher":{}
4141
},
4242
"distilbert_base_squad_sparse_ipex": {
43-
"working_dir": "deployment/ipex/squad/distilbert_base_uncased_sparse",
43+
"working_dir": "huggingface/pytorch/question-answering/deployment/squad/ipex/distilbert_base_uncased_sparse",
4444
"data_dir": "/tf_dataset2/models/deep-engine/bert_large",
4545
"hf_model_name": "distilbert-base-uncased-distilled-squad",
4646
"benchmark": {

0 commit comments

Comments
 (0)