@@ -294,6 +294,7 @@ def build_torchvision(host: RemoteHost, *,
294
294
"v1.13.0" : ("0.14.0" , "rc4" ),
295
295
"v1.13.1" : ("0.14.1" , "rc2" ),
296
296
"v2.0.0" : ("0.15.1" , "rc2" ),
297
+ "v2.0.1" : ("0.15.2" , "rc2" ),
297
298
})
298
299
print ("Building TorchVision wheel" )
299
300
@@ -346,6 +347,7 @@ def build_torchdata(host: RemoteHost, *,
346
347
mapping = {
347
348
"v1.13.1" : ("0.5.1" , "" ),
348
349
"v2.0.0" : ("0.6.0" , "rc5" ),
350
+ "v2.0.1" : ("0.6.1" , "rc1" ),
349
351
})
350
352
print ('Building TorchData wheel' )
351
353
build_vars = ""
@@ -389,6 +391,7 @@ def build_torchtext(host: RemoteHost, *,
389
391
"v1.13.0" : ("0.14.0" , "rc3" ),
390
392
"v1.13.1" : ("0.14.1" , "rc1" ),
391
393
"v2.0.0" : ("0.15.1" , "rc2" ),
394
+ "v2.0.1" : ("0.15.2" , "rc2" ),
392
395
})
393
396
print ('Building TorchText wheel' )
394
397
build_vars = ""
@@ -432,6 +435,7 @@ def build_torchaudio(host: RemoteHost, *,
432
435
"v1.13.0" : ("0.13.0" , "rc4" ),
433
436
"v1.13.1" : ("0.13.1" , "rc2" ),
434
437
"v2.0.0" : ("2.0.1" , "rc3" ),
438
+ "v2.0.1" : ("2.0.2" , "rc2" ),
435
439
})
436
440
print ('Building TorchAudio wheel' )
437
441
build_vars = ""
@@ -444,7 +448,10 @@ def build_torchaudio(host: RemoteHost, *,
444
448
if host .using_docker ():
445
449
build_vars += " CMAKE_SHARED_LINKER_FLAGS=-Wl,-z,max-page-size=0x10000"
446
450
447
- host .run_cmd (f"cd audio && { build_vars } python3 setup.py bdist_wheel" )
451
+ host .run_cmd (f"cd audio && export FFMPEG_ROOT=$(pwd)/third_party/ffmpeg && export USE_FFMPEG=1 \
452
+ && ./packaging/ffmpeg/build.sh \
453
+ && { build_vars } python3 setup.py bdist_wheel" )
454
+
448
455
wheel_name = host .list_dir ("audio/dist" )[0 ]
449
456
embed_libgomp (host , use_conda , os .path .join ('audio' , 'dist' , wheel_name ))
450
457
0 commit comments