Tousifahamed commited on
Commit
a222a4b
·
verified ·
1 Parent(s): c7c3e26

Upload 2 files

Browse files
Files changed (2) hide show
  1. app.py +2 -0
  2. requirements.txt +2 -0
app.py CHANGED
@@ -1,4 +1,6 @@
1
  import torch
 
 
2
  print("PyTorch version:", torch.__version__)
3
  print("Supported quantized engines:", torch.backends.quantized.supported_engines)
4
 
 
1
  import torch
2
+ torch.backends.quantized.engine = 'fbgemm' # ensure we use fbgemm
3
+
4
  print("PyTorch version:", torch.__version__)
5
  print("Supported quantized engines:", torch.backends.quantized.supported_engines)
6
 
requirements.txt CHANGED
@@ -1,3 +1,5 @@
 
 
1
  --extra-index-url https://download.pytorch.org/whl/cpu
2
  torch==2.0.1+cpu
3
  torchvision==0.15.2+cpu
 
1
+ numpy<2
2
+ pybind11>=2.12
3
  --extra-index-url https://download.pytorch.org/whl/cpu
4
  torch==2.0.1+cpu
5
  torchvision==0.15.2+cpu