[CS61C FA20] Weekly Lecture 06.LIVE - SDS & CL — Transcript
Full transcript
- 0:00look at me
- 0:03we've had many times where we forgot to
- 0:04push record
- 0:07all right welcome over here what's wrong
- 0:09with my um
- 0:11we just lost your there we go okay the
- 0:13magic is being revealed here we go
- 0:16cool now can you borrow when you try to
- 0:19change slides what happens when you do
- 0:21that
- 0:21can you try to change because i have it
- 0:23right now set to my
- 0:25my screen like i have like eight slides
- 0:28in a row
- 0:29look at that now you're at static slides
- 0:31right okay
- 0:32that's fine static slides but if i go to
- 0:35watch me if i go to the first one
- 0:38then here this is now animation
- 0:41and then watch here we go now it'll play
- 0:43the movie watch should we go
- 0:45and it'll play the movie see can you
- 0:47guys hear any music anything at all
- 0:49uh-uh not here no not not right yeah i
- 0:52don't think mm-hmm
- 0:53sends that sends the uh i don't think
- 0:55him sends that
- 0:56um the audio over but it's okay i can i
- 1:00can get to there fast enough
- 1:01all right so borah you're you're you're
- 1:03i'll put it back on the static slides
- 1:04that way you can control it as well
- 1:06welcome students come on in i think we
- 1:08have 54 folks here welcome everybody
- 1:11good to see you all all right
- 1:15let me see i think for your host i don't
- 1:18think i can change your name
- 1:20underneath i can i need to change it
- 1:22myself
- 1:24okay perfect
- 1:29our faculty candidate is coming to your
- 1:30talk this week i'm excited about that
- 1:32that's
- 1:32that's an exciting case so i'm looking
- 1:34forward to that as well
- 1:36yeah i'm also looking forward to that
- 1:39all right folks we'll get started in
- 1:41exactly 10 seconds we'll get rolling
- 1:43here we go this should be really fun
- 1:46uh let's see
- 1:53okay all right 410.
- 1:56wonderful welcome everybody to cs61c
- 1:58week six
- 1:59digital systems of million logic
- 2:03great to have you all here great travel
- 2:05to have you all here
- 2:06we've got a wonderful guest already here
- 2:08welcoming uh vosm sophia xiao as our as
- 2:11our faculty guest
- 2:12for today thank you so much for joining
- 2:15us
- 2:15um here is our brief agenda so we're
- 2:18going to welcome you to week six
- 2:20do a complete quick a quick computing in
- 2:22the news
- 2:23uh then we'll interview sophia and talk
- 2:25to her about some of her research and
- 2:26some of the exciting things she's
- 2:27working on and
- 2:28where she sees the space um we'll then
- 2:30we'll let her take her leave and we'll
- 2:32go back to our week's plan
- 2:33uh and then have some whatever
- 2:35announcements we have and then we'll do
- 2:36the ask us anything at the end of this
- 2:38perfect all right boy we'll take us into
- 2:40computing the news
- 2:42sure am i pinned i need to
- 2:45feel free free to pin yourself yeah here
- 2:47we go
- 2:48pinned there you go hopefully this works
- 2:51okay so um so
- 2:55we we have been saying that now this uh
- 2:58it is a really exciting time to be in
- 3:03chip design in computer architecture in
- 3:05general
- 3:07because we are entering this era of
- 3:10domain specialized computing and the
- 3:12first thing that is really
- 3:14has shaking up things is this need
- 3:17to support machine learning machine
- 3:19learning at a large scale
- 3:22so we are seeing um you know there are
- 3:24two
- 3:25things that people need to do
- 3:28two ways how people need to support
- 3:30machine learning one
- 3:32is training the data the other one is
- 3:34running the inference on the train data
- 3:37and there has been a number of companies
- 3:40now
- 3:41that have built custom chips for that
- 3:45and in this picture um there is uh there
- 3:48are
- 3:49two uh clips that uh we took from
- 3:52uh something it's a conference that is
- 3:54called hot chips that was held in august
- 3:57about a month ago
- 3:59where some of them have been presented
- 4:02some really exciting chips so google
- 4:04talked about tpu
- 4:05v2 and v3 that's their tensor processing
- 4:08unit
- 4:09that they're using to accelerate
- 4:10training and inference in the cloud
- 4:13you know tpu is what processes when we
- 4:16do speech recognition or many other
- 4:18facts
- 4:19tpu was what uh uh beat
- 4:22the goalmaster uh and it was an older
- 4:26tpu i think
- 4:26it might have been a tpu one or two um
- 4:30that beat him um alphago i think it's a
- 4:33name right alphago is the name
- 4:36exactly um you know they don't publish
- 4:40these as they make them
- 4:41so we believe that tpu3 is probably
- 4:43about two years old now
- 4:45there must be tpo4 and tpu5 but they
- 4:48talk about
- 4:50the stuff that is already deployed there
- 4:53is another
- 4:53crazy chip that cerebrus has
- 4:57presented and it is in their second
- 5:00generation
- 5:01you know when you build a chip um
- 5:05you know they built something that is
- 5:07called a wafer and wafer is like this
- 5:08it's 300 millimeters
- 5:10size but you know when we take our chips
- 5:14we dice that wafer into tiny tiny pieces
- 5:17so if you look at the cell phone uh cell
- 5:19phone
- 5:20chips like the ones that
- 5:24apple makes are seven by eight
- 5:25millimeter so they're called dies
- 5:27so this whole wafer is diced into seven
- 5:30by eight millimeters
- 5:32if you take a desktop pc there may be
- 5:34you know
- 5:3515 millimeters on the side some really
- 5:37big server chips are like
- 5:39an inch on the side like a postcard size
- 5:43basically yeah
- 5:44uh not the it's a stamp size
- 5:48yeah i meant a postage stamp i said i
- 5:49said postcard i meant to say posted
- 5:51stamp i meant to say
- 5:52i know that it's supposed to stamp yeah
- 5:53yeah and in fact this is a big deal the
- 5:55larger area you have the
- 5:56worse yield you have the higher chance
- 5:58there is a imperfection on that so
- 6:01you really try to care about having the
- 6:02smallest area as possible to have the
- 6:04highest yield from a yield means the
- 6:06number of good
- 6:06good chips you get out of a total slice
- 6:09yep
- 6:10and this place cerebros is building
- 6:12chips that
- 6:13are the entire wafer so there are 300
- 6:16millimeters
- 6:17on the diagonal which is insane why
- 6:20don't why they need these big chips
- 6:23because they want to do
- 6:25training for machine learning on them
- 6:27those things have to be
- 6:28pretty pricey but they're really hoping
- 6:31to make it in there
- 6:33there is a number of other companies
- 6:35that have their solutions
- 6:37uh people might have heard that habana
- 6:39was acquired by intel
- 6:41uh then there is a few more startups and
- 6:44some of them already gone down
- 6:47but the new ones are are popping up so
- 6:50this is an exciting
- 6:51field of the domain specific computing
- 6:53that is creating a lot of
- 6:55interest out there um so speaking of
- 6:59that
- 7:00uh can we have uh can we switch over to
- 7:04sofia
- 7:06let me jump over
- 7:09yeah uh sophia is a new faculty
- 7:12in ecs that is really focusing on this
- 7:15on
- 7:16specialized architectures for computing
- 7:21so she graduated from
- 7:24harvard in 2016 and then she spent a few
- 7:28years
- 7:29in industry she worked in nvidia and
- 7:32nvidia is the
- 7:33leading place that has been selling
- 7:36these more
- 7:37general purpose gpus for machine for
- 7:40training
- 7:40and influence in machine learning
- 7:44and last summer she joined berkeley
- 7:48so welcome sophia hello everyone
- 7:52and we is it okay if we ask you a few
- 7:54questions maybe you can tell us
- 7:56how did you get here um you know how did
- 7:59you end up here and let's try to put us
- 8:01let's try to did you always know you're
- 8:03going to be an academic that kind of
- 8:04question like
- 8:05how did you even find find your way to
- 8:06berkeley and all those decisions you had
- 8:08to make yeah
- 8:09uh that's those are really good
- 8:10questions so first
- 8:12good good afternoon everyone good to see
- 8:14you all and
- 8:15really good to uh thanks laura and then
- 8:17for this wonderful opportunity to get to
- 8:19interact with all of you
- 8:21so as for a mission i'm sophia xiao i'm
- 8:23an assistant professor here at uc
- 8:26berkeley so how did i come here
- 8:29so i grew up in china i did my undergrad
- 8:32in georgia university it's a very
- 8:36university in the southern part of china
- 8:39and during
- 8:40my undergrad i got really interested in
- 8:43basically microcontroller programming
- 8:45and fpga and i participated
- 8:47in the embedded system and the robotic
- 8:49competition
- 8:50during the summer before my senior year
- 8:52that's completely changed
- 8:54the way i see hardware and software and
- 8:56the way i see the possibility
- 8:58in this area so after that competition
- 9:01after that summer i decided that i want
- 9:03to learn more i want to do grad school
- 9:05i want to know more about computer
- 9:07architecture and hardware design
- 9:09so during 2009 i decided okay i want to
- 9:12do grad school
- 9:14so then i moved to boston i did my phd
- 9:17at harvard
- 9:18working on thinking about hardware
- 9:20design with a special focus
- 9:22in domain specific accelerators
- 9:24understanding the challenges
- 9:26with moore's law and then their skating
- 9:28i assume you are really very familiar
- 9:30with that
- 9:30and then thinking about what we can do
- 9:32in the hardware space to further improve
- 9:34the performance
- 9:36so after i finished my phd in 2016
- 9:40i i was also thinking about okay whether
- 9:42i want to do academia
- 9:44or industry back then i really want to
- 9:46already interned at both intel and ibm
- 9:49before i see
- 9:50a glimpse of how industry works but i
- 9:52wanted to see more to really actually
- 9:54build something
- 9:56in this area and this is a very exciting
- 9:58area
- 10:00especially thinking about the amount of
- 10:01effort in both academia and
- 10:04industry so since i have already been in
- 10:06academia for a few years
- 10:07so i decided to okay let's move to
- 10:09industry to see
- 10:11what people are working on there so
- 10:13that's why i decided to
- 10:14join nvidia after my
- 10:18phd and i spent three years
- 10:21at nvidia it's a really exciting time as
- 10:24boron mentioned there are a lot of
- 10:26efforts in thinking about hardware
- 10:28design
- 10:28especially for hardware for machine
- 10:31learning
- 10:32so i was at media research where we are
- 10:34also very interested
- 10:36in thinking about what's the hardware
- 10:37what's the hardware implications
- 10:39of supporting all those important
- 10:41emerging machine learning applications
- 10:43and what kind of optimization that we
- 10:45can do not only in architecture but
- 10:47also in circuit maybe even underlying
- 10:49device that we can do to improve the
- 10:51performance
- 10:52so i was there for three years with
- 10:54wonderful mentors and
- 10:56colleagues and working on a couple of
- 10:58very interesting
- 10:59and proud projects to actually build the
- 11:01hardware and see the implications
- 11:03uh and also the possibilities of
- 11:05hardware for this area
- 11:07and uh two years ago i think that's
- 11:10roughly where we
- 11:11just finished your paypal we finished
- 11:13the breakout process and our trip worked
- 11:15and that got me thinking okay what's my
- 11:17next project what do i want to do next
- 11:19i think that's when i started thinking
- 11:21about okay
- 11:23what what about academia and whether
- 11:26i want to not only building a course
- 11:28cool and interesting projects
- 11:30but also interact interacting with
- 11:32students both undergrad and grad
- 11:34students
- 11:35to really impact the next generation
- 11:38students and also hardware engineers
- 11:40so that's actually one of the major
- 11:42factors i decided to
- 11:44move back to academia and i'm really
- 11:47glad that
- 11:48i'm here at berkeley with wonderful
- 11:50colleagues and students
- 11:51so it has been an amazing year the past
- 11:54year but i'm looking forward
- 11:56to interacting with many of you in the
- 11:58future
- 11:59so i guess that's how i got here thank
- 12:02you that's great it's wonderful
- 12:03i have a question um another question so
- 12:06how does one become a faculty at
- 12:08berkeley i mean dan and i i think forgot
- 12:10uh what does it take it has been a while
- 12:1320 years at least for both of us
- 12:15okay that's a good question i also try
- 12:17to forget about that
- 12:19so it's still pretty fresh in my mind
- 12:22uh let me refocus this really quickly um
- 12:26that's a good question so how to become
- 12:29a faculty at berkeley
- 12:32so so first uh you need to get a phd
- 12:35typically for most other cases at least
- 12:37some grad
- 12:38grad degree i will i want to say that
- 12:41this is a really good time to think
- 12:43about
- 12:44going to grad school maybe like at first
- 12:46if you are not sure maybe try out
- 12:48master degree first maybe also
- 12:50eventually
- 12:51get a trial the phd program this is a
- 12:53really interesting time we definitely
- 12:56see
- 12:56a lot of exciting areas in both hardware
- 12:59and also applications
- 13:00and there is a strong demand in thinking
- 13:03about
- 13:03new innovative ideas in those areas and
- 13:07a lot of those ideas actually coming
- 13:09from academia who can actually
- 13:12like stay a little bit away from like
- 13:14the practical
- 13:15very near-term deadline pressures but
- 13:18really
- 13:18thinking about what are the major
- 13:20problems what are the big concern what
- 13:22are the things that we
- 13:23really need to think in five years maybe
- 13:25even 10 years so this is a really good
- 13:27time to think about
- 13:28uh grad school so to become a faculty at
- 13:31berkeley
- 13:32typically you need a phd degree i guess
- 13:35that's a step
- 13:35one second i would say you need to do
- 13:39all of us we really need to think about
- 13:41not only
- 13:43internal research when once you get into
- 13:45the grad school you start thinking about
- 13:46research
- 13:47and then develop your own research taste
- 13:50and also develop your own project
- 13:52i would say one thing very important in
- 13:54thinking about
- 13:56becoming especially a berkeley faculty
- 13:58is the impact
- 13:59of your research sometimes it's very
- 14:02easy to get lost because oh
- 14:04i want to publish more papers i want to
- 14:06uh
- 14:07like get in papers in like years and
- 14:10hopefully
- 14:11that will actually make my research
- 14:12stand out but
- 14:14most of the time it's not about the
- 14:16quantity it's really about the quality
- 14:18especially for institutions like
- 14:20berkeley it's really
- 14:22important for for faculty members and
- 14:24also for grad students like for
- 14:26for all of us working in this area not
- 14:29only just thinking about how many papers
- 14:31we publish
- 14:32really think about what kind of impact
- 14:34we make for this area for berkeley
- 14:36for our research community and for the
- 14:38entire
- 14:39society so i think the impact-driven way
- 14:42of doing research is actually really
- 14:44important i would say that's definitely
- 14:47based on my experience
- 14:48as someone who goes through the process
- 14:50and interact with
- 14:52all the berkeley faculties and mentors
- 14:54and also seeing different
- 14:55and career paths of colleagues and
- 14:58mentors
- 14:59i think having an impact-driven research
- 15:02mindset is really important uh in
- 15:05in in overall your your career paths no
- 15:07matter whether you come to berkeley or
- 15:09go elsewhere really think about your
- 15:11impact of what you are doing
- 15:12instead of just some quantifiable
- 15:15metrics
- 15:16uh i guess the last thing i want to say
- 15:18especially become
- 15:20a faculty at berkeley this is partially
- 15:22like i mentioned earlier partially the
- 15:24reason i decided to
- 15:26when i came back to academia is to
- 15:28really thinking about interacting with
- 15:30students
- 15:30both undergrads and grad students and
- 15:33also this is something i
- 15:34i observe here at berkeley is that to be
- 15:37a faculty member here you really need to
- 15:40care about teaching
- 15:41care about mentoring care about advising
- 15:44because we spend a lot of time
- 15:46interacting with students
- 15:48both undergrads and grad students and
- 15:50the reason we are here
- 15:52instead of being elsewhere in the
- 15:53industry where that can be
- 15:55a very well-paid job is really the
- 15:58benefit
- 15:58of interacting with the younger
- 16:00generation and see what we can do
- 16:02to actually learn with them together and
- 16:04to
- 16:05to as i mentioned earlier to do high
- 16:07impact research and to impact to change
- 16:09the field
- 16:10so having a strong drive and also k and
- 16:14caring
- 16:14about students both undergrads and grad
- 16:17students i think that's also
- 16:19a very important factor oh that's my
- 16:21understanding we also have two other
- 16:22faculty members here i think
- 16:24be interesting to hear their perspective
- 16:26as well
- 16:27i i've heard on your second point uh in
- 16:30terms of just not just number of papers
- 16:31but actually impactive papers i've heard
- 16:33the analogy made
- 16:34don't just get singles this is the
- 16:36baseball analogy don't just hit singles
- 16:37and get on base try to swing for the
- 16:38fences try to have
- 16:40a couple of home runs in there to make
- 16:41some make a difference so i appreciate
- 16:43that and i agree with that that being
- 16:44the thing that's most important it's
- 16:45just
- 16:46not just paper trail of like well i did
- 16:47a hundred papers but nobody reads them
- 16:48has to if i did three papers that
- 16:50everyone reads that actually has more
- 16:51impact
- 16:52than the hundred papers nobody reads so
- 16:53that makes a lot of sense i appreciate
- 16:55that
- 16:57um yeah speaking of that
- 17:00[Music]
- 17:02you know this boolean logic thing the
- 17:04mapping of boolean logic onto gates and
- 17:06and switches uh that dan mentioned was
- 17:09invented by claude chen and quan shannon
- 17:11one of the best known
- 17:13electrical engineers and information
- 17:15theorists didn't publish many papers i
- 17:17mean
- 17:20because you know he only went he only
- 17:23went for the
- 17:24big stuff no question for sophia his
- 17:26master thesis
- 17:27so he didn't yeah and if you watch
- 17:30today's video if you watch today's video
- 17:32i say that today in today's
- 17:33video exactly
- 17:37a question for sophia um
- 17:41tell us something about your research so
- 17:43how to swing for defenses in this uh
- 17:46in this domain all right well that's a
- 17:49good question so as well mentioned i'm
- 17:51really interested in domain specific
- 17:53hardware and we're gonna talk about some
- 17:55of the really exciting
- 17:56developments in the industry these days
- 17:59in thinking about hardware for machine
- 18:02learning which is a very important
- 18:04applications in the industry today
- 18:06and it's really exciting to see not only
- 18:08this new
- 18:09development from traditional hardware
- 18:11companies but also startups
- 18:13and also software companies like google
- 18:15so we definitely see a lot of
- 18:16excitement in this area so definitely we
- 18:19are really interested in this area in
- 18:21thinking about
- 18:22understanding applications behaviors and
- 18:24explore different
- 18:27hardware acceleration strategies
- 18:29specifically we have three focus
- 18:31in the way we think about this hardware
- 18:33for machine learning research
- 18:35the first one is definitely related to
- 18:37individual
- 18:38algorithm acceleration what are the
- 18:40emerging algorithms before i mention
- 18:42their training and inference and even
- 18:43within training and inference there are
- 18:45different networks different
- 18:46applications
- 18:47and there are also emerging algorithms
- 18:49showing up on a daily basis maybe even
- 18:51on hourly basis in actually
- 18:53important play a very important role in
- 18:56in the machine learning process
- 18:58so we are definitely really interested
- 18:59in understanding the application
- 19:01behaviors
- 19:02and also explore potential hardware
- 19:04mechanism
- 19:05to make them run more efficiently
- 19:07especially in power constrained
- 19:09devices so that's the first uh angle the
- 19:12second one
- 19:13what we are really interested is also
- 19:15thinking about not only individual
- 19:17accelerators but how those different
- 19:19accelerators
- 19:20work together so we talk about the
- 19:22importance of having domain specific
- 19:24accelerators
- 19:25for those emerging applications and they
- 19:28all have different behaviors
- 19:30and we'll see how the different
- 19:31applications and accelerators need to
- 19:34really work together
- 19:36especially in today's complex soc where
- 19:38we have all the different
- 19:40like 30 or 40 different accelerators
- 19:42they need to interact with each other
- 19:44and passing data from and to each other
- 19:46so how to actually make sure
- 19:48they can coordinate in a consistent way
- 19:51and also achieve performance and the
- 19:53efficiency benefit is also very
- 19:55important on our agenda
- 19:57so we talk about individual accelerator
- 19:58and also how they work together
- 20:00and finally i think another area we i i
- 20:03personally always have a soft spot um
- 20:05it's really thinking about
- 20:07from a methodology point of view how we
- 20:09can from
- 20:10thinking about all the different efforts
- 20:12need to pour into
- 20:14design and also specialize different
- 20:16applications
- 20:17on different hardware platform what we
- 20:19can do in the methodology space
- 20:21to help designers to navigate this space
- 20:24and make it easier and also more
- 20:26productive
- 20:27to to design new hardware i think those
- 20:29three
- 20:30directions are what we are really
- 20:31interested in and also actively working
- 20:33on thinking about
- 20:35accelerator individual acceleration
- 20:37system integration
- 20:38and also design methodology here
- 20:42all right thank you what's your opinion
- 20:45about these two chips that we have shown
- 20:47the
- 20:48tpus and and uh reverses they're in your
- 20:50space
- 20:51aren't they right that's a good question
- 20:54i think
- 20:55as i mentioned earlier first it's really
- 20:57exciting to see the development
- 20:59from like non-traditional hardware
- 21:02vendors so we see
- 21:03most of the time when we talk about
- 21:04hardware designs intel
- 21:06amd ibm and the nvidia those are
- 21:09basically the major players
- 21:11and it's interestingly although everyone
- 21:12is actually participating in the machine
- 21:14learning space
- 21:15the two examples that borah mentioned
- 21:16earlier one is from google
- 21:18which is actually more software company
- 21:21uh and another one is actually from a
- 21:23startup surprise so i think the area is
- 21:26getting really interesting these days
- 21:28with not only uh participation from
- 21:30major hardware vendors but also from
- 21:33new players both traditional software
- 21:36companies
- 21:36and also startups all of those all of
- 21:40them actually
- 21:41are participating in this hardware for
- 21:43machine learning
- 21:44design so i think one thing definitely
- 21:47stands out
- 21:48in both two examples that borah showed
- 21:50earlier is
- 21:51the scale so both the cerebrus chip we
- 21:53talked about how big it is
- 21:55uh and all the different components they
- 21:57need to actually work together and also
- 21:59the tpu v3 a lot of the performance
- 22:03is actually on multi-node hundreds or
- 22:05even thousands of nodes
- 22:07all of those need to actually work
- 22:09together so definitely we see
- 22:11a lot of the um the especially the
- 22:14emerging training
- 22:15accelerators turning some in some way
- 22:18similar to hpc problem where not only we
- 22:21need to design each individual node very
- 22:24efficiently
- 22:24but i also need to think about how the
- 22:26different nodes actually work together
- 22:28in the consistent fashion so that's
- 22:30definitely very
- 22:31important these days in the hardware for
- 22:33machine learning space
- 22:35at the same time i mentioned both two
- 22:36are mostly like training and large scale
- 22:38we also see really exciting development
- 22:41and like
- 22:42in the in the edge space where like low
- 22:45power
- 22:46low power devices even microcontrollers
- 22:48how could they actually potentially
- 22:50support
- 22:51efficient machine learning algorithm
- 22:53mostly of course in the inference space
- 22:56that's also very important we also see a
- 22:59lot of
- 22:59a lot of development in those space so
- 23:02we definitely see
- 23:03maybe one is the scale especially for
- 23:06the training the large scale data center
- 23:09scale and another one is actually for
- 23:10the edge devices under extremely
- 23:12conditions
- 23:13how can we actually design more
- 23:15efficient
- 23:16hardware in those scenarios sounds good
- 23:20questions let me just add something here
- 23:22kath when kathy ella came to visit us
- 23:24she said that in mulch
- 23:25in most of the hpc applications high
- 23:28performance giving applications they
- 23:29noticed that
- 23:30um they were not processor limited but
- 23:32they were i o limited so i o
- 23:34just moving data around is the most
- 23:36costly thing they've noticed as i did
- 23:37you know
- 23:38an audit of where where time is being
- 23:40spent just moving data is just
- 23:41remarkably expensive in terms of time
- 23:44are we seeing that as much on the tpu
- 23:47you know a million nodes of tpu v3
- 23:51is it really that's where the what's
- 23:53like what's the bottleneck i guess in
- 23:55these new domain specific architectures
- 23:56i guess that's the question
- 23:57that's a good question i think first it
- 24:00it really depends on the
- 24:01applications uh so in this particular
- 24:03case a lot of training
- 24:05applications is still pretty compute
- 24:07intensive
- 24:08in the sense that we talk about the
- 24:09computer memory ratio that cassie and
- 24:12patterson they use to also use the roof
- 24:14line model to quantify that
- 24:15so a lot of those compute terminals they
- 24:18are indeed very compute intensive so
- 24:19there is significant compute actually
- 24:21going on
- 24:22in individual node but once we
- 24:24especially look at some of the amount
- 24:26perf
- 24:27results where we are basically competing
- 24:29to see the best performance that we can
- 24:31get what's really interesting
- 24:33in the sense that of course the easiest
- 24:35way is basically scale up to any
- 24:37like as many machines as possible
- 24:39there's no limit in terms of the number
- 24:41of nodes that you use
- 24:42you could use as many nodes as possible
- 24:45but typically the reason
- 24:46all those different hardware or the
- 24:48software vendor stop at a particular
- 24:50node is because it doesn't scale anymore
- 24:53if we see the reports of say oh we
- 24:56reached we used 2000 nodes to reach this
- 24:58performance
- 24:59the reason they don't use 4000 nodes is
- 25:01not because they don't have 4000 nodes
- 25:03it's because when they actually further
- 25:05split things up to force out the node
- 25:07it actually they don't get better
- 25:08performance so for those extreme
- 25:10conditions we definitely see
- 25:12given the application have so much after
- 25:14computer memory reuse
- 25:15we already see some of the compute bund
- 25:18scenarios showing up
- 25:19when we look at this kind of machine
- 25:22learning space yeah
- 25:23very good point that's great and all
- 25:26gets us in the end
- 25:28yeah i was gonna say where is that
- 25:29where's amdahl in here exactly the
- 25:30students don't know that yet but
- 25:32they'll see it they'll see it in a
- 25:33couple of couple of weeks exactly
- 25:35exactly go ahead um yeah a question
- 25:38quick question for you
- 25:39um you teach 151 can you tell us
- 25:44something about that uh you know can you
- 25:45put a little advertisement for that
- 25:47class
- 25:48um about i think about 10 of this class
- 25:51are gonna
- 25:51wind up in 151 so
- 25:55why should they do that why should they
- 25:58of course i heard you had more than 1
- 26:00000 students this year
- 26:01so we should be expecting a lot of
- 26:03students coming to 131 that's wonderful
- 26:06so yeah i teach 14151 which is
- 26:10introduction to digital logic and also
- 26:12integrated circuit
- 26:13it is uh intro to heart well not
- 26:16necessarily intro but definitely
- 26:17thinking about digital design and also
- 26:19hardware design
- 26:20where it's as the name suggests it's an
- 26:22ee and the cs
- 26:24course which it actually truly brings
- 26:25electrical engineering and also computer
- 26:27science
- 26:28together so in this course you will
- 26:30actually see
- 26:31not only how to actually map your
- 26:33program to
- 26:34the different instruction set and but
- 26:36i'll actually build
- 26:38specific hardware following uh like
- 26:41specific i say specifications
- 26:43so that you can actually build your
- 26:44hardware either in verilog or asic to
- 26:47have
- 26:47something actually fabricable in the
- 26:49hardware in the end
- 26:51it's also okay if you have a more ee
- 26:52background i think i assume for this
- 26:54cloud
- 26:55mostly students have more cse background
- 26:57but you will also learn actually a lot
- 26:59of ee concept
- 27:00where you how we attribute register file
- 27:02how we actually build aou in hardware
- 27:04how transistor actually behave
- 27:06how can you assemble different
- 27:07transistors together for all the
- 27:09different digital logic so you will
- 27:11actually see the entire stack
- 27:13from i say to hardware implementation
- 27:16and
- 27:16see how the transistors behave it's
- 27:19awesome it's this week that's this week
- 27:21you just advertised for why the students
- 27:23should watch this week's lectures i love
- 27:25it
- 27:26thank you thank you thank you so much
- 27:31i love it so this week so it sounds like
- 27:33this will will be very important
- 27:35also for 151 so after you see the entire
- 27:38stack in 151 you will actually build
- 27:41real hardware in either fpga we
- 27:44mentioned earlier that's a very cool
- 27:45platform you can actually prototype
- 27:47different functionalities
- 27:48onto the board or using asic flow which
- 27:51is actually pretty close
- 27:53to the state of art commercial flow that
- 27:55is able to actually eventually
- 27:57take out a chip in the end so that's a
- 28:00really cool class
- 28:01covering a lot of hardware and also
- 28:03hardware architecture details
- 28:05and really useful for any hardware
- 28:08engineering career that you're
- 28:10interested in pursuing no matter whether
- 28:11it's in industry or
- 28:13academia it will enable you to build
- 28:16actually physically built and in type of
- 28:18hardware that you are interested
- 28:20and it's also a very hands-on class we
- 28:22have a very important lab component
- 28:24you will actually go through the la go
- 28:26through the lectures and go through the
- 28:28lab
- 28:28to see how the different things actually
- 28:30mapped in hardware
- 28:31so it's actually a direct follow-up of
- 28:3361c you see all the different components
- 28:36in 61c
- 28:37and we'll go a little bit deeper to
- 28:39actually see how we turn
- 28:40all the different concepts that you
- 28:41cover sounds like this week into
- 28:43hardware
- 28:46actually this week and next week is what
- 28:49we
- 28:49yeah exactly that's where 51
- 28:52151 starts from from you know where we
- 28:55leave it off
- 28:57in about a week or so um
- 28:59[Music]
- 29:00how is 151 i mean there is a hardware
- 29:02component how is that going online
- 29:05this semester is it yeah how are you
- 29:07even working with the online space
- 29:10students used to be stuck in the lab you
- 29:12know the digital lab for for hours how
- 29:14do they do that at home what's what's
- 29:15equivalent
- 29:15that's a very good question so that was
- 29:19also
- 29:19our major concern especially starting
- 29:22during the summer when we started
- 29:23preparing this class
- 29:24so first we have a wonderful team of
- 29:27teaching staff
- 29:28our gsis are wonderful they put in a lot
- 29:31of time
- 29:31into this one thing we did do is early
- 29:34in the summer where like as
- 29:36i mentioned there is a very strong lab
- 29:38component so we do want to student still
- 29:40experience lab
- 29:42even we are in this virtual world so
- 29:45we're starting the summer we already
- 29:46reach out to students for students who
- 29:48are interested
- 29:49in fpga lab we basically ship the boards
- 29:52to them so they actually have
- 29:54a set of boards that's required for them
- 29:56to
- 29:57um to do the labs and our teaching staff
- 30:00also figure out
- 30:01basically two ways of programming the
- 30:04fpga
- 30:05either through a remote access with our
- 30:07uh our
- 30:09instructional servers or a small virtual
- 30:12machine that they can use
- 30:13to actually load their program onto
- 30:15their fpga so instead of relying
- 30:18completely
- 30:18on the instruction servers as what we
- 30:20did before students
- 30:22can actually create local setup on your
- 30:25laptop
- 30:26actually to program the fpgas directly
- 30:29and second for students who are
- 30:31concerned about
- 30:32the fpga lab and also the the physical
- 30:35uh
- 30:36physical interactions we also set up a
- 30:39really smooth asic flow
- 30:40where all the lab components and also
- 30:43project components can actually be done
- 30:46completely remotely
- 30:47because as long as we provide remote
- 30:49access so
- 30:50we do have also a record high number of
- 30:53students
- 30:54actually being enrolled in the asic lab
- 30:56so compared to fpga lab you actually
- 30:58don't
- 30:58need anything on your end as long as you
- 31:01have your laptop you can actually remote
- 31:03access to our instructional server
- 31:06you can actually go through the same uh
- 31:08very important design principles
- 31:10directly on your end so i think that
- 31:12also eliminates
- 31:13a lot of students concern so we are
- 31:16still halfway uh
- 31:17less than halfway through the semester
- 31:18we finished four labs so still two more
- 31:20labs and the project to go
- 31:22at least so far so good i think the team
- 31:26of
- 31:26gsis are very important with all of us
- 31:29pouring a lot of time
- 31:30to interact with the students so to get
- 31:32questions answered and
- 31:34holding live labs and also finding
- 31:38a personalized way to interact with the
- 31:40students
- 31:41so so far so good we'll see how this
- 31:43scales and we did
- 31:44during the summer process we also
- 31:47figured out a way actually to use aws
- 31:49to actually program fpga we didn't end
- 31:52up pursuing that route in the end but if
- 31:54the remote
- 31:55instruction become a new norm i think
- 31:58that would also be
- 31:59very useful for classes like 151
- 32:03that's great thank you for all your hard
- 32:05work to support our our students who are
- 32:07all
- 32:07all around the world taking these
- 32:08berkeley courses that's thank you so
- 32:09much for that that work in there
- 32:11i see two questions in the q a board do
- 32:13you want to jump on those or should i
- 32:14challenge
- 32:15you why didn't you read them yeah yeah
- 32:16sure i thought they were very good
- 32:18questions so simon
- 32:19asks how do you know when to make an
- 32:22accelerator for specialized applications
- 32:24uh for example if you may if you make a
- 32:25chip for speech recognition another chip
- 32:27for other things
- 32:28we have too many specialized chips and
- 32:30they're performing worse than a single
- 32:31generalized chip what
- 32:32what's the trade-off there that's a
- 32:34really good question i think that's also
- 32:36very
- 32:36important uh in in basically in the past
- 32:40ten years when people start approaching
- 32:42the accelerator design
- 32:43people have started thinking about
- 32:45hardware accelerate like hardware
- 32:47accelerator is a not new idea right i'm
- 32:49not sure whether your folks cover
- 32:50floating point in it
- 32:51yeah floating core processors six eighty
- 32:54one
- 32:54sixty eighty 81 i remember that one well
- 32:57exactly that's basically the first
- 32:58accelerator
- 33:01yes exactly that's basically one of the
- 33:04first accelerators that we built
- 33:06basically a functionality that may not
- 33:08be required for all the applications but
- 33:10may
- 33:10might be actually very important for a
- 33:12subset of applications
- 33:14we are interested in thinking about
- 33:15hardware mechanism for that so
- 33:17it has been going on for a while it's
- 33:19really interesting how
- 33:20machine learning actually completely
- 33:22changed the landscape
- 33:24and that really actually make it very
- 33:27very feasible actually for a lot of
- 33:30companies we see all the amount of
- 33:31activities going on here
- 33:33um to to think about specialized because
- 33:36there is a huge market
- 33:37a lot of use cases for it so i think to
- 33:40simon's question earlier
- 33:41uh to how we actually decide to make an
- 33:43accelerator for that
- 33:45i think partially or unfortunately
- 33:48there's largely a
- 33:49market decision or application decision
- 33:52where we really need to think about what
- 33:54applications
- 33:55are really important that can actually
- 33:57reach to a large amount of market
- 33:59so this is more like we talked about
- 34:01hardware architecture is really thinking
- 34:03about
- 34:03architecture is something in between
- 34:05think about application and also think
- 34:06about
- 34:07underlying device technology so for all
- 34:10the students who are interested in
- 34:11hardware always very important
- 34:13to see the application trend and what
- 34:16kind of what patterns what kind of
- 34:18behaviors or applications
- 34:19are getting important so i think that's
- 34:22one of the reason
- 34:23one of very important factors in
- 34:25thinking about accelerator
- 34:26at the same time another important
- 34:28factor in thinking about what kind of
- 34:30component can be accelerated
- 34:31also depends on the application patterns
- 34:34if
- 34:34like it's really nice for machine
- 34:36learning in the sense not only it
- 34:38reaches so many different applications
- 34:40areas but also in thinking about
- 34:43accelerator patterns
- 34:44it's actually perfectly perfect for
- 34:47hardware acceleration and one of the
- 34:49reasons to make actually machine
- 34:50learning
- 34:51so what we used is actually weights
- 34:53mapped onto gpu or graphic processing
- 34:55units
- 34:56it actually reached a pretty impressive
- 34:58performance even gpu is actually not
- 35:00designed
- 35:01for machine learning so we also of
- 35:04course i mentioned earlier there's a
- 35:05marketing reason for like market reason
- 35:07for that what application has a bigger
- 35:09reach
- 35:10and second there's definitely also
- 35:12technology and also
- 35:14hardware regions in reason here in the
- 35:17sense kind of what kind of application
- 35:19behavior
- 35:20can be a better fit for hardware
- 35:22acceleration
- 35:23and certain applications uh especially
- 35:26regular applications like machine
- 35:28learning have very regular access
- 35:29patterns
- 35:30and not very straightforward control
- 35:32flows and also very regular memory
- 35:34accesses
- 35:35all those patterns are very important so
- 35:37we think about application also need to
- 35:39look for
- 35:40those patterns here i think there's also
- 35:43the domain issue you've got
- 35:44like think about alexa alexa has to make
- 35:46a determination locally without going to
- 35:48the cloud did you say the wake word
- 35:50alexa
- 35:50but then after you say alexa it takes
- 35:53what you'd say and sends it to the cloud
- 35:55so
- 35:55how much has to be done locally for any
- 35:57particular application versus has to
- 35:59could be done by you know millions of
- 36:01machines waking up doing something like
- 36:02a google search or an alexa
- 36:04nlp problem and coming back can you wait
- 36:06that little half second
- 36:07for it to go to the cloud and come back
- 36:09the cloud the cloud is amazing so
- 36:11how much has to be done locally you know
- 36:12at maybe at the edge versus being done
- 36:14at the system core level uh
- 36:16up up in the cloud second question the
- 36:19second question
- 36:20uh what aspect of the r d that you do
- 36:23applies only to the to the domain of
- 36:27this is benjamin by the way to the
- 36:29domain of machine learning so of the r d
- 36:31you do how much of it is just machine
- 36:32learning specific because it's such a
- 36:33big problem and you're trying to
- 36:35carve some kind of a hardware solution
- 36:37to that versus
- 36:38what you're what you're doing is
- 36:39generalizable for approaching the
- 36:41general problems of domain
- 36:42specialization so how much is
- 36:43machine learning specific and if it
- 36:45weren't machine learning nobody can
- 36:47use it but how much of it actually could
- 36:48be how much of your own research
- 36:50development
- 36:50can be used in other another
- 36:52applications right this is also really
- 36:54good question and benjamin
- 36:56so i mentioned earlier thinking about
- 36:57both applications how we can attribute
- 36:59specialized hardware for it
- 37:01and second really thinking about system
- 37:03integration how we can actually tie
- 37:04different accelerators
- 37:06together and finally thinking about from
- 37:08more design methodologies
- 37:10perspective how we can actually improve
- 37:12the design process
- 37:13i would say maybe the first one is more
- 37:16tied to specific algorithm but the other
- 37:18two are more generalizable in thinking
- 37:20about
- 37:21like things like simon mentioned earlier
- 37:23we actually have different accelerators
- 37:24how we actually use them efficiently and
- 37:26how we actually integrate them
- 37:28together and finally in terms of design
- 37:31process
- 37:32whether some of the methodologies or
- 37:35design process that we use
- 37:36for machine learning accelerators or
- 37:39thinking about machine learning
- 37:40applications
- 37:41can can also be useful for some other
- 37:44application domains so on this point i
- 37:46also want to i just read the full
- 37:48question from simon earlier in terms of
- 37:50how this will be actually used for other
- 37:52specialized
- 37:54node i do want to actually encourage you
- 37:56to think more instead of building
- 37:58application specific hardware
- 38:00or asic what we used to call which has
- 38:02been also around for a while
- 38:04i think we would we do need to emphasize
- 38:07on the domain specific
- 38:08part uh instead of application specific
- 38:11part in the aspect of domain specific
- 38:14we're not only thinking about
- 38:15oh we accelerate this one particular
- 38:18application that only work
- 38:20for this this particular piece of code
- 38:22but really thinking about what are the
- 38:24common factors
- 38:25across this domain and how that can
- 38:28actually be
- 38:29be uploaded onto hardware in some sense
- 38:33you will see
- 38:33some of the trends or patterns in the
- 38:36software engineering field when we are
- 38:38actually building
- 38:39a lot of domain specific platforms like
- 38:41uh like pytorch tensorflow
- 38:43and also other platforming other
- 38:45application spaces
- 38:46we do see more this kind of domain
- 38:48specificity
- 38:50coming up not only in hardware but also
- 38:52in in software space
- 38:53and that domain knowledge should be also
- 38:56be transferable
- 38:57uh depends on the use cases here
- 39:01all right uh thank you sophia thanks for
- 39:05uh visiting us over here and i i hear
- 39:08that sofia is relatively new so she
- 39:11still takes on
- 39:12undergraduate
- 39:13[Laughter]
- 39:22it's way too easy to say yes to
- 39:23everything and next thing you know you
- 39:25can't
- 39:25you can't breathe
- 39:29[Laughter]
- 39:30and but you guys while still while she's
- 39:33still taking students
- 39:39thank you thank you so much sophia great
- 39:41to see you thank you folks
- 39:43thanks again everybody thanks again
- 39:44thank you wonderful
- 39:46wonderful that's great feel free to head
- 39:48out if you'd like to
- 39:49yeah i'll tell you i'll take it over
- 39:50perfect perfect all right continue
- 39:53all right here we go so i wanted to um
- 39:56i wanted to show you if i yeah give me a
- 39:59pin and then i'll i'll jump in
- 40:00here we go okay now it's this spotlight
- 40:04actually the pinning is just for your
- 40:05own thing it's the spotlight it's the
- 40:07guy
- 40:08i there we go okay so
- 40:11we did this we did this i wanted to show
- 40:13i wanted to show you this
- 40:15which is we didn't get to show this
- 40:16interesting i showed this in cs10
- 40:18this is this just came out i think this
- 40:20is like last thursday or friday
- 40:22a drone that flies inside your home
- 40:24think about privacy implications we try
- 40:25to do computing in the news
- 40:27um this is i guess the idea here
- 40:30just to set this up set the context if
- 40:33you didn't have a camera
- 40:35on like every window if you only had
- 40:36like one main camera for your home
- 40:38security system
- 40:39only facing out or facing your door but
- 40:41you had all the windows of things and
- 40:42you heard something
- 40:43there's something that happened you know
- 40:44like somebody rattles a window you
- 40:46didn't think about somebody would break
- 40:47into your side window
- 40:48let me just show you this all the only
- 40:49sound of this is like some some so
- 40:53there's nothing there's nobody speaks of
- 40:54this so it's a 30-second video let me
- 40:55just show you this really fast
- 40:58and here so here's this the drone
- 41:02wakes up you get an alert something's in
- 41:04your house
- 41:05and then you can control the drone the
- 41:07drone tries to find toward where the
- 41:08sound was
- 41:10but i think you can also control the
- 41:11drone as well and by the way i was told
- 41:13that
- 41:14not everything you're seeing in this
- 41:16video is a real
- 41:17shot some of it's simulated so
- 41:18somebody's just walking around
- 41:19pretending to be a drone
- 41:20they haven't perfected it yet but the
- 41:22idea is you'll have this drone that you
- 41:24can either control to see if
- 41:26well there's a sound downstairs and you
- 41:27get a notification for sound downstairs
- 41:28from the security system
- 41:29uh and then you'll you'll figure out
- 41:32you'll you'll figure out uh
- 41:34what to do whether you can fly yourself
- 41:36or not so i found it
- 41:38fascinating that anybody would buy this
- 41:41this is just me because uh they've
- 41:44already shown that you can hack
- 41:46the uh i think i forget what it
- 41:50what particular system was an amazon or
- 41:52a ring or who was driving this but
- 41:53they've already shown you can hack
- 41:54the the cameras that are at your front
- 41:58door
- 41:59uh they're so it's very easy to get
- 42:01access to that
- 42:02video data uh and so you can imagine if
- 42:05that's easy to do that then you can get
- 42:06access to this drone and fly it
- 42:08around the house in the middle of night
- 42:09including you know when you don't want
- 42:10to be
- 42:11when you're not controlling it so i
- 42:13would like i'm the last person so i
- 42:15recommend
- 42:16think twice before you number one put
- 42:19your front door lock and there's a whole
- 42:20digital front door that's the last thing
- 42:22i would put as digital things can be
- 42:23hacked like crazy don't put a front door
- 42:24lock that's just me
- 42:26and i wouldn't put a drone that could be
- 42:27floating around and watch me when i'm in
- 42:29the shower or something so
- 42:30don't do either of those things all
- 42:31right um
- 42:33yeah an interesting thing about this i
- 42:35bought a light bulb
- 42:36about uh i don't know a year and a half
- 42:38ago that is also
- 42:40the built-in speaker oh look that
- 42:43you know i i i tend to probe into these
- 42:46things before
- 42:47you know actually installing them and it
- 42:49saved a password is plain text
- 42:52so anybody who has
- 42:53[Laughter]
- 42:56yeah sometimes the security system isn't
- 42:58done so well break into that but they
- 42:59get
- 43:00password to your wi-fi uh they get
- 43:02access to everything in your house
- 43:04for that so yeah watch out for god watch
- 43:06out folks
- 43:07all right we do want to share we do want
- 43:09to share uh where we are on our schedule
- 43:11and then also shares
- 43:12any announcements we have so here we are
- 43:14looking at the schedule i just finished
- 43:16this whole weekend i was
- 43:17locked in my basement making my movies
- 43:19and then sitting in my computer doing
- 43:20all the post-processing so hopefully
- 43:22you uh get access to them i think we
- 43:24posted them throughout already
- 43:25so sds state logic and logic blocks are
- 43:28all out there all the clicker questions
- 43:30are out there we tried to make quicker
- 43:31questions that would be
- 43:32you know really not just pedantic did
- 43:33you watch minute 35 what color shirt was
- 43:35he wearing but
- 43:36you know what do you understand the
- 43:37principles behind it so i actually try
- 43:39to pull some
- 43:39old exam questions and try to throw them
- 43:41in here so actually some of these are
- 43:42really good questions in here so i thank
- 43:43steven
- 43:44for some of the questions you
- 43:44contributed and for other folks so
- 43:47we're deep in the digital logic world i
- 43:49love it there's a whole new field by the
- 43:51way this is a great i want to make a
- 43:52point people know this
- 43:53if you're behind in 61c like i'll never
- 43:56catch up because it's all continuous
- 43:57you can jump in if you're behind
- 43:59watching the lectures you can jump ahead
- 44:01to be caught up in this
- 44:02module this is really important this is
- 44:04why borah i think here has shown
- 44:05different colors in the in the graph
- 44:07that's really important because if
- 44:09you're all let's say you're two weeks
- 44:10behind this
- 44:11by the way happened two years ago and a
- 44:13year ago it's always been the case that
- 44:14some students get behind and
- 44:16can catch up and it's hard the workload
- 44:17is hard we'll talk about workload in a
- 44:18second
- 44:19but one of the things that we want to
- 44:20make sure we let you know
- 44:22is that what we've got is
- 44:26and let's let's make sure we are clear
- 44:27about this these modules are independent
- 44:29so yes they are
- 44:31softly relevant and it's great if you
- 44:32saw the stuff before but you can restart
- 44:34on a new module and become comfortable
- 44:37with this so
- 44:389 28 uh this is monday sds
- 44:41if you were behind just just catch up
- 44:43for this section and then you can you
- 44:45know
- 44:45just one correction i didn't update the
- 44:47date oh yeah sorry
- 44:49yeah yeah so the date okay thank you
- 44:50thank you for that yeah these are the
- 44:51older dates from
- 44:52from before yeah don't be added a couple
- 44:55of days
- 44:56don't panic we'll fix those um uh so
- 44:59let's just make sure you guys know what
- 45:00the section is and then right after this
- 45:02this is critical
- 45:03in these two weeks you will know the
- 45:04entire bottom side but all the hardware
- 45:06level that you're going to
- 45:07need to know below that which is great
- 45:08we get into caching after that so that's
- 45:10really great
- 45:11um this all misinformation is all needed
- 45:14for and you see the colors board did a
- 45:16nice job of showing the color connection
- 45:17here so
- 45:18the yellow stuff is needed for homework
- 45:19for 2a the lab this week some time to
- 45:22catch up which is great
- 45:23and work on your project obviously um
- 45:25homework five and lab fiber this week
- 45:27um this is for sorry next week next week
- 45:29orange is lab five
- 45:31homework 5 and lab 5 next week and the
- 45:33red stuff is for project 3 which is
- 45:35going to be
- 45:35really fun and many people by the way
- 45:37think that project 3
- 45:38the the processor design is the most fun
- 45:40project they've taken in this course and
- 45:43in many other courses i still hear from
- 45:44people years later i still remember the
- 45:4561c processor design
- 45:47so make sure uh you you focus on that if
- 45:49you're thinking about ever designing
- 45:50your processor and hardware
- 45:52that's for some people that's the most
- 45:53fun part of this material so
- 45:55jump on that when it comes next week
- 45:56excited about that so so
- 45:58just a few few notes about that exactly
- 46:01dan said
- 46:02this is a good week to try to catch up
- 46:04um we you know there are many things
- 46:06that are independent here
- 46:07but the red part is tied to the orange
- 46:12and the yellow
- 46:13um so the the yellow the the orange part
- 46:17is relatively independent
- 46:18you you you can just come from outer
- 46:21space
- 46:22and listen to that and you will pick up
- 46:23the the digital systems
- 46:25over uh you know over the next week
- 46:28that's true even if you didn't know any
- 46:30risk five or c you can just jump right
- 46:32into today's lecture that's exactly
- 46:33right
- 46:34now when we get to the red part and
- 46:36that's gonna go for five lectures
- 46:39in a row these five lectures are going
- 46:41to
- 46:42um uh
- 46:46uh they're basically a complex digital
- 46:48system a really complex digital system
- 46:50that we're going to build based on the
- 46:52principles that we have
- 46:53um in in orange in uh sds
- 46:56module based on the specification that
- 47:00we have uh
- 47:01developed in the yellow module over
- 47:04there over these
- 47:05uh seven lectures or so so we will
- 47:07basically take
- 47:08all those instructions and implement
- 47:10them using
- 47:12the principles that we have learned it's
- 47:14really fun
- 47:15uh uh interesting thing uh when we
- 47:18uh uh with uh sofia we
- 47:21you guys those that are going 151 will
- 47:24actually do it
- 47:26um again but now in the language core
- 47:28verilog and realize it in something that
- 47:30will look like a real
- 47:32asic or or put it into an fpga
- 47:35and then pass risk 5 compliance test
- 47:39this year we have changed the project a
- 47:41bit
- 47:42so you pass some of those tests so there
- 47:45are
- 47:45not very many hidden tests but we can
- 47:47add more hidden tests
- 47:49if you want to um so
- 47:52it's quite exciting i mean you do get
- 47:54the functional core
- 47:56this time around that can run assembly
- 47:59you can even run c compile c
- 48:01next time around you can actually build
- 48:03it if you take 151
- 48:06back to them no it's great i mean but
- 48:08what's really fun about this this this
- 48:09series of lectures i think
- 48:11you know the orange to set it up the red
- 48:12to actually take it home is we're going
- 48:14to build a working risk five machine
- 48:15this is amazing i mean we're not we're
- 48:17not physically building it but we're
- 48:18going to build a machine that if you
- 48:19could send it to somebody to do this
- 48:20this will actually
- 48:21run the machine code and i mentioned
- 48:23this in the lectures run the machine
- 48:25code you've compiled to someone to link
- 48:26down to so all that
- 48:27ones and zeros and the machine code
- 48:29we're going to build a machine to do
- 48:30that and that's what's going to happen
- 48:31in the next
- 48:32several lectures after this it's very
- 48:33exciting and by the way that borah i
- 48:34think it's
- 48:35six lectures so it's it's a lot of time
- 48:37in your in your basement studio
- 48:39not five lectures at six and then we're
- 48:41not gonna build it's like three lectures
- 48:42to build the machine here's the thing
- 48:44and then three likes just to make it
- 48:45faster
- 48:46and so using some principles that i'll
- 48:47teach you in this orange section called
- 48:49pipelining so that's the exciting piece
- 48:50of that
- 48:50so think about that but even if you
- 48:52didn't make it fast if you skipped the
- 48:53last three lectures you'd serve a
- 48:54working machine just a little slower
- 48:55so you know what you can make this
- 48:56faster and your three lectures to make
- 48:58it faster because
- 48:59this course is also about performance
- 49:01which is exciting all right
- 49:03here we go now we got some i got third
- 49:04perfect three minutes for two
- 49:05announcements announcements
- 49:07announcements uh we just released a
- 49:10workload and wellness survey
- 49:12just went we mentioned it last week but
- 49:13we finally finished it today and we
- 49:15launched it today and
- 49:16already the numbers are pouring in
- 49:18already telling us many things we knew
- 49:20uh in terms of how many so please do
- 49:22fill this out it's on piazza
- 49:24um and i'm already seeing numbers of i
- 49:26can just give you a mostly i'm
- 49:28seeing i don't know you shouldn't you
- 49:30shouldn't uh
- 49:31sully a survey by giving some results
- 49:33but i'm seeing that
- 49:34it's great to see these numbers um and
- 49:37it's
- 49:38not i'm not pleased with the numbers i'm
- 49:39hearing people are really struggling out
- 49:41there
- 49:41in terms of emotionally uh and
- 49:43exhaustion wise
- 49:44and the number of hours people putting
- 49:45in we've got to also take a really
- 49:46deeper dive
- 49:48um on on our workload in 621c it does by
- 49:50the way
- 49:52the goal of 61c is to not be more than
- 49:5512 hours a week times 15 weeks and
- 49:57sometimes what happens is
- 49:58it's more average your average per week
- 50:02is higher in the first bit and then
- 50:03lower later so if it if at all
- 50:05we tell our tases sometimes around
- 50:06midterm week it's going to be a crazy
- 50:07amount of hours you put in
- 50:08but as long as it's average to what
- 50:10you're being paid for that's reasonable
- 50:11so
- 50:12these numbers are going to be high but
- 50:13hopefully when we do their midterm
- 50:14survey and then our final survey
- 50:15it'll all end up showing uh showing that
- 50:18we kind of
- 50:19averages out to 12 hours a week if not
- 50:20we really need to go back to the drawing
- 50:21board and figure out
- 50:22how we can make this lighter a lighter
- 50:24weight thing and thank you so much for
- 50:26all the suggestions of how to do that so
- 50:27there's a there's a point to ask the in
- 50:29the survey we ask you any policy changes
- 50:31we've
- 50:31you know you remember that last week we
- 50:32made a ton of new policy changes
- 50:34hopefully try to try to address this
- 50:35more slip days more more flexibility
- 50:37here more brace for project two
- 50:39etc we'll continue to look at policies
- 50:41we can do to help with the workload and
- 50:42wellness issues we can
- 50:44that's part one part two uh quest retake
- 50:47in fact some folks have said
- 50:48i don't have time for a quest we take
- 50:50i'm just being barraged with workload i
- 50:52don't have time to take more
- 50:54hours to study for it and to take more
- 50:55hours through the retake the idea you're
- 50:56not supposed to be studying for it
- 50:58you're supposed to just do it again
- 50:59so don't count that into what i was
- 51:00receiving just jump you back in there
- 51:03we're going to try to reduce the number
- 51:04i mentioned last week that people we're
- 51:05going to need to take that
- 51:07and what we need to do first of all my
- 51:09taste tell me there's a there's an order
- 51:10to this
- 51:11there's logic to this which is process
- 51:13all the regrades
- 51:14now the students know what their final
- 51:15grade is and now you know do they need a
- 51:17retake or not
- 51:18um so we can know who not to who not to
- 51:19bother again with all this so we're
- 51:21going to try to slog
- 51:22through i think borah the number i heard
- 51:23was 350
- 51:25regrade requests and we've got two tas
- 51:28processing
- 51:29i mean two star tas but still i mean we
- 51:31you know we didn't we didn't
- 51:33budget for 350 regrade requests usually
- 51:35that's not what we get we usually get uh
- 51:3650 100. not 350 any which in which each
- 51:39of the 350 requires us to look at their
- 51:41code figure out
- 51:42why does it not do something and how can
- 51:43we give you points back so
- 51:45the perspective that we have from the
- 51:46top is how can we get you points back so
- 51:49we're going to spend some time
- 51:50thinking about this we're not going to
- 51:51both slam you on a quest and then not
- 51:52give you points back
- 51:53but we're going to see how we can do
- 51:55this and how we can you know maybe fix a
- 51:56bug and then does it
- 51:57does it pass some tests okay get those
- 51:59points maybe get ding for the bug we had
- 52:01to fix that kind of thing
- 52:02so but hopefully you gave us code that
- 52:03worked i mean hopefully they're just
- 52:04giving garbage code
- 52:06and it would you know it didn't work at
- 52:07all hopefully it worked on your system
- 52:09if it worked on your system but it
- 52:10doesn't work on holes and that's
- 52:11there's some mismatch we're going to try
- 52:13to get down get down to the details of
- 52:15that
- 52:16and again we're going to try to endeavor
- 52:18so because they were working on that
- 52:19that's probably
- 52:20all this week is working through the
- 52:21regrades slogging through that then
- 52:23doing an analysis of who
- 52:24didn't have a video that worked and
- 52:25figure out who needs the exam blah blah
- 52:27blah that's probably
- 52:28so all this is probably going to happen
- 52:29next week so again we're just pushing
- 52:31this off
- 52:31so don't worry about it for now survive
- 52:33your project two work on that for now
- 52:35and then we'll probably do this so again
- 52:36i hope to have better a better answer
- 52:38for you next next week once our ptas
- 52:39have told me that all the regrades are
- 52:41done but
- 52:41we want to give a dude to do justice to
- 52:43all the regrets but it does take time
- 52:44and so that
- 52:45please please do uh please do recognize
- 52:47that we're working as hard as we can
- 52:51and they're very informative yeah very
- 52:54thank you and please pat tell your tell
- 52:55other classmates i'm only looking here
- 52:57at 230
- 52:58there's more than 1200 in this class so
- 53:00please please do
- 53:02make sure all your classmates and by the
- 53:03way i believe this is due in two days
- 53:05it's due on wednesday
- 53:06evening so please do serve that we're
- 53:07going to read the whole survey and we'll
- 53:09even share
- 53:09we'll share the results next week
- 53:11actually to have a conversation about
- 53:13what policies will change
- 53:14uh but thank you all for that
- 53:15information this survey isn't much you
- 53:17just a couple clicks a couple clicks and
- 53:18feel free to
- 53:19you can type a lot if you wanted to
- 53:20we'll have some open fields for you to
- 53:22type some stuff but if you don't want if
- 53:23you don't have a lot of time just click
- 53:24the buttons and then
- 53:25and then give it to us but please do
- 53:26give us some feedback if we can for that
- 53:27thank you for that
- 53:29i think i'm done borah i'm done with
- 53:30this we're already over a minute for
- 53:31about a minute and a half so
- 53:32i want to thank everybody let's thank
- 53:34sophia for her guest uh appearance that
- 53:36was wonderful to have her here
- 53:38again thank you borah for for the for
- 53:40the week for the for all the good work
- 53:41you've done and
- 53:42good luck with seven seven straight
- 53:44lectures in your basement
- 53:45i know i know how long it took me to set
- 53:47up for those four lectures there it took
- 53:48me
- 53:49a full week of just editing slides so i
- 53:51i wish you good luck
- 53:52i'm editing so i'm still editing slides
- 53:55i didn't like
- 53:56the the technical quality of the or the
- 53:59quality of the last time yeah
- 54:03yeah it takes a long time appreciate
- 54:05this takes forever so we'll try to
- 54:07together
- 54:08yeah what am i seeing here is what what
- 54:10am i learning from the survey is that
- 54:12the people on the average
- 54:13um are spending uh maybe two and a half
- 54:16hours more than what we expected which
- 54:18yeah that's something too yeah more yeah
- 54:21but the tail is
- 54:22huge we have a really really long tail
- 54:24and we need to figure out how to
- 54:26get this uh um get some support
- 54:29guys how do you get support for those
- 54:30people who i mean a lot of times you
- 54:32could be stuck for 10 hours on the same
- 54:33bug i mean that's just that's a wasted
- 54:3410 hour that's not
- 54:35that's not a useful 10 hours so that's
- 54:37it there is a question about whether we
- 54:38have office hours this weekend i think
- 54:40both of us have office hours
- 54:41mine is on on wednesday and yours i
- 54:43think board is on
- 54:44thursday or friday friday yeah friday in
- 54:47this in this lecture and we may
- 54:49already turn this this time the way how
- 54:51we do this we may start running
- 54:53more of like reviews and so on but this
- 54:55week are just regular drop-in
- 54:57for the office hour yeah and i've been
- 54:59mostly i've been
- 55:00taping mine and i've been mostly doing
- 55:02kind of exam reviews so every week
- 55:03so this week we'll actually take a look
- 55:05at some sds stuff uh and maybe even some
- 55:07from risk five we didn't finish last
- 55:08week so i've been trying to go through
- 55:09old exams through that so
- 55:11come to my office hours if not i'll try
- 55:12to upload those videos so people have
- 55:13those as reviews
- 55:14wonderful thank you borah for a good
- 55:16week thanks everybody for coming in
- 55:17thanks joining folks we'll see you later
- 55:18folks
- 55:19take care bye okay bye everybody
About this transcript
This page contains the full transcript of [CS61C FA20] Weekly Lecture 06.LIVE - SDS & CL by CS 61C Departmental, generated from the public captions YouTube serves with the video. The transcript has 10,297 words across 1,768 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.
What you can do with it
Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to translate the transcript into 100+ languages.
Free YouTube transcript tool
YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, translation to 100+ languages, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.