LBJ6666

Results 4 comments of LBJ6666

我也是这样,第一次修复,正常,修复了,再点一次,就崩了,为啥 Process: com.example.admin.constraintlayoutdemo, PID: 8942 java.lang.NoSuchFieldError: No instance field patchManager of type Lcom/alipay/euler/andfix/patch/PatchManager; in class Lcom/example/admin/constraintlayoutdemo/MyApplication; or its superclasses (declaration of 'com.example.admin.constraintlayoutdemo.MyApplication' appears in /data/app/com.example.admin.constraintlayoutdemo-1/base.apk) at com.example.admin.constraintlayoutdemo.MainActivity_CF.onClick(MainActivity.java:52) at android.view.View.performClick(View.java:4809) at...

明白了,感谢解答

m2 macbook 测试的时候,设置了torch.mps.set_per_process_memory_fraction(0.)不限制内存非配,可以加大GPU内存非配,在未设置的时候容易报OOM。 还有一个现象是,mps运行时,比如当bath size = 4的时候 3s/batch,当batch size=8时,就变成了300多秒/batch,比cpu(40s/batch)还慢。不清楚为啥

Has this feature been added?How should I set it up?