Advertisement
Guest User

HLSSynth_Error

a guest
Jul 28th, 2020
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.89 KB | None | 0 0
  1. ---------------------------------------------------------------------------
  2. RemoteTraceback Traceback (most recent call last)
  3. RemoteTraceback:
  4. """
  5. Traceback (most recent call last):
  6. File "/opt/conda/lib/python3.6/multiprocessing/pool.py", line 119, in worker
  7. result = (True, func(*args, **kwds))
  8. File "/opt/conda/lib/python3.6/multiprocessing/pool.py", line 44, in mapstar
  9. return list(map(*args))
  10. File "/workspace/finn/src/finn/transformation/fpgadataflow/hlssynth_ip.py", line 63, in applyNodeLocal
  11. inst.ipgen_singlenode_code()
  12. File "/workspace/finn/src/finn/custom_op/fpgadataflow/streamingfclayer_batch.py", line 1074, in ipgen_singlenode_code
  13. copy(verilog_file, verilog_folder)
  14. File "/opt/conda/lib/python3.6/shutil.py", line 245, in copy
  15. copyfile(src, dst, follow_symlinks=follow_symlinks)
  16. File "/opt/conda/lib/python3.6/shutil.py", line 121, in copyfile
  17. with open(dst, 'wb') as fdst:
  18. FileNotFoundError: [Errno 2] No such file or directory: '/tmp/finn_dev_syed/code_gen_ipgen_StreamingFCLayer_Batch_3_5u4_gwr7/project_StreamingFCLayer_Batch_3/sol1/impl/verilog/'
  19. """
  20.  
  21. The above exception was the direct cause of the following exception:
  22.  
  23. FileNotFoundError Traceback (most recent call last)
  24. <ipython-input-21-15bd8d6e09bc> in <module>
  25. 1 from finn.transformation.fpgadataflow.hlssynth_ip import HLSSynthIP
  26. 2
  27. ----> 3 model = model.transform(HLSSynthIP())
  28. 4 model.save(build_dir+"/tfc_w1_a1_ipgen.onnx")
  29.  
  30. /workspace/finn/src/finn/core/modelwrapper.py in transform(self, transformation, make_deepcopy)
  31. 100 while model_was_changed:
  32. 101 (transformed_model, model_was_changed) = transformation.apply(
  33. --> 102 transformed_model
  34. 103 )
  35. 104 return transformed_model
  36.  
  37. /workspace/finn/src/finn/transformation/__init__.py in apply(self, model)
  38. 102 # Execute transformation in parallel
  39. 103 with mp.Pool(self._num_workers) as p:
  40. --> 104 new_nodes_and_bool = p.map(self.applyNodeLocal, old_nodes, chunksize=1)
  41. 105
  42. 106 # extract nodes and check if the transformation needs to run again
  43.  
  44. /opt/conda/lib/python3.6/multiprocessing/pool.py in map(self, func, iterable, chunksize)
  45. 264 in a list that is returned.
  46. 265 '''
  47. --> 266 return self._map_async(func, iterable, mapstar, chunksize).get()
  48. 267
  49. 268 def starmap(self, func, iterable, chunksize=None):
  50.  
  51. /opt/conda/lib/python3.6/multiprocessing/pool.py in get(self, timeout)
  52. 642 return self._value
  53. 643 else:
  54. --> 644 raise self._value
  55. 645
  56. 646 def _set(self, i, obj):
  57.  
  58. FileNotFoundError: [Errno 2] No such file or directory: '/tmp/finn_dev_syed/code_gen_ipgen_StreamingFCLayer_Batch_3_5u4_gwr7/project_StreamingFCLayer_Batch_3/sol1/impl/verilog/'
  59.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement