Skip to main content

A Dynamic FPGA Reconfiguration for Accelerating Machine Learning Framework with Image Service in OpenStack

  • Conference paper
  • First Online:
  • 849 Accesses

Part of the book series: Lecture Notes in Electrical Engineering ((LNEE,volume 536))

Abstract

This paper discusses the feasibility of a dynamic FPGA reconfiguration by deploying FPGA images at run-time, with a particular focus on the offloading kernels to accelerate the training or inference phase of machine learning framework. It is useful to create FPGA images in advance and share them through repository because it takes a long time to build and is large in size. In this work, The Intel Arria10 GX FPGA card is used as a FPGA device, the TensorFlow as a machine learning framework and Glance, image service project in OpenStack, as a repository for storing and managing FPGA images. The OpenCL SDK tool chain presented by Intel corporation is used to implement FPGA images and client APIs for KeyStone and Glance are used to retrieve FPGA images from Glance. The result shows that our implementation can retrieve FPGA images, deploy them to the FPGA device and execute code that is offloaded to the FPGA device correctly.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   169.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   219.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD   219.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

References

  1. Suda, N., Chandra, V., Dasika, G., Mohanty, A., Ma, Y., Vrudhula, S.B.K., Seo, J., Cao, Y.: Throughput-optimized OpenCL-based FPGA accelerator for large-scale convolutional neural networks. In: Proceedings of the ACM/SIGDA ISFPGA, pp. 16–25 (2016)

    Google Scholar 

  2. Utku, A., Shane, O., Davor, C., Andrew, C.L., Gordon, R.C.: An OpenCL deep learning accelerator on arria 10. In: International Symposium on Field-Programmable Gate Arrays, 2017, Monterey, California, USA (2017)

    Google Scholar 

  3. Byma, S., Steffan, J., Bannazadeh, H., Garcia, A.L., Chow, P.: FPGAs in the cloud: Booting virtualized hardware accelerators with OpenStack. In: Proceedings of the IEEE 22nd International Symposium on FFCCM, pp. 109–116, May 2014

    Google Scholar 

  4. Chen, F., et al.: Enabling FPGAs in the cloud. In: Proceedings of the 11th ACM Conference on Computing Frontiers, pp. 3:1–3:10 (2014)

    Google Scholar 

  5. OpenStack Glance Architecture. https://docs.openstack.org/glance/pike/contributor/architec-ture.html

  6. Pepple, K.: Deploying OpenStack. O’Reilly Media, Sebastopol (2011)

    Google Scholar 

  7. Adding New Operations to TensorFlow. https://www.tensorflow.org/extend/Adding_an_op

  8. Khronos OpenCL Working Group, The OpenCL Specification, version 1.2.19, November 2012. https://www.khronos.org/registry/cl/specs/opencl-1.2.pdf

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Seungmin Lee .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Lee, S., Lee, S. (2020). A Dynamic FPGA Reconfiguration for Accelerating Machine Learning Framework with Image Service in OpenStack. In: Park, J., Park, DS., Jeong, YS., Pan, Y. (eds) Advances in Computer Science and Ubiquitous Computing. CUTE CSA 2018 2018. Lecture Notes in Electrical Engineering, vol 536. Springer, Singapore. https://doi.org/10.1007/978-981-13-9341-9_16

Download citation

  • DOI: https://doi.org/10.1007/978-981-13-9341-9_16

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-13-9340-2

  • Online ISBN: 978-981-13-9341-9

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics